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.
Related Posts with coefplot help
Exporting Stata results to RI would like to use Stata and get results from analyses into R (as a data frame in R, for manipulati…
Joint Risk Genotype InteractionHi, Does anyone know how to do analysis of Joint Risk Genotype Interaction? I did case-control stu…
Stata 16 describe command - file size is gone?Dear all Running an updated Stata 16 MP version, I notice that the Code: describe command is miss…
Number of instruments in GMM-system estimatorDear all, I am currenlty working on the causal relationship between the informal care decision and …
Question about scanning through directory and compress all stata filesHello, I just wanted to ask if I might run into any issues running the code below. We have some tera…
Subscribe to:
Post Comments (Atom)
0 Response to coefplot help
Post a Comment