Hi all,
I am newer to Stata, using coefplot. Ive looked at coefplot help which has given me a good overview, but I'm not generating the types of graphics I would like, mostly because the coefplot function is returning a graphic plotting more coefs than I would like. There is likely a simple solution I am clearly overlooking and hoping for some help.
I have a regression which I have run:
regress jci i.AOS sex grade scl loc tch_1 tch_2 mark_1
Essentially, I want to present the regression coefs for each level of the first independent variable (i.AOS), i.e. moderate AOS, high AOS, extreme AOS, only.
The coefplot is plotting every single variable adjusted for in this regression. I have tried to drop those variables using
coefplot, drop(_cons, c.age i.gender i.eth2 c.townindex c.BMI c.SBP i.smoker i.alcoholstatus i.dm_yn c.SE c.height)
but this doesn't work.
I have also tried the bycoefs specification, but I am getting lost, and what I am looking for is not really a subgroup, more an isolated graph of the coefs of just one of my many variables.
Thanks for any help anybody can offer, as always.
0 Response to coefplot help
Post a Comment