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
GLM regression skewed dependent variableDear all, I have two dependent variables (one is a percentage of a total and one is measured in cm)…
Nested between-subject design (non-binary independent variable) analysis in StataHello everyone, I am new here so feel free to ask if I incorrectly formatted anything! First let m…
Recode variable based on previous valueCiao, Below is sample data. Code: clear input STUDENT GRADELEVEL STATUS WANT 1 10 0 0 1 10 0 0 1 …
Recentered influence function, Oaxaca-blinder decomposition and Heckman selection approachDear all, First of all, Happy New Year. I use the Firpo, Fortin and Lemieux methodology for decomp…
how do we merge data setskindly help …
Subscribe to:
Post Comments (Atom)
0 Response to coefplot help
Post a Comment