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
How to change year in wrong date due to data errorHello Is there anybody that can help me with a replace syntx for changing wrong years in a date var…
Recoding variables with a loop - 2020 challengeHi, My panel data set has three different variables and I must do a similar treatment on them, they…
Package for Within-Between (hybrid) Estimator FunctionalityThis is purely a reference request in the form of available packages. Does there exist a package sim…
Checking for multicollinearity in ppmlhfe gravity modelsHello, I am estimating a gravity model with ppmlhfe. I use importer and exporter year fixed effects …
"Nothing to restore" error when using parmby.Hello everyone, I am a new beginner of Stata. I tried to run a stata code written by an author whose…
Subscribe to:
Post Comments (Atom)
0 Response to coefplot help
Post a Comment