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
match age and genderHello, I would like to know how to match 2:1 for age and gender using same sample of individuals. I …
data management, creating new variables in one data set based on information in another data baseHello All, I hope this email finds you well! I have two databases one includes my raw data, and th…
Graph bar - Set different colors within an -over()- optionHi there, Suppose we're working with these data, Code: use http://www.stata-press.com/data/r13/g…
Optimal cutoff pointHello, I'm trying to figure out how to calculate a change in cut-off score for a screening test whe…
Direction of Bias in OLS when using Instrumental VariablesHi all, Just a general question: If when using an instrumental variable it increases the size of t…
Subscribe to:
Post Comments (Atom)
0 Response to coefplot help
Post a Comment