Greetings:
I am trying to visualize the data for logistic regressions. My independent variable of interest is a categorical variable with 18 levels. I am trying to use coefplot (or anything is stata) to make a chart of the different AORs and the confidence intervals but I can't seem to find a way. The closest I've seen is that I can use coefplot to graph interaction variables and it'll include each level of the interaction and I can drop the covariates to isolate the results of my IVs on interest. I cannot seem to figure out how to do it for one variable with multiple levels.
First problem that occurs. I use the following code:
coefplot poorhealth, drop(agecat_v3 education hh_child partnered hh_income nonenglish uninsured no_usualcare state year) xline(1)
And I get this :
Array
I can't seem to get past the first step. Any help would be greatly appreciated.
Thank you
Related Posts with Coefplot: Displaying each level of a factor variable in one plot
how to run a quantile regression for estimating panel data models using instrumental variable?Hi I am working on an economic problem using the quantile regression model of panel data. I need to …
Extract name initialsHi. I am trying to extract name intials from a variable containing names. Since all names have their…
Using asdoc to create one summary table of multiple crosstabs with logistic regressionI'm trying to create a table similar to the one below (for illustration, using demo data from https:…
How to include nearest neighbour matchin in a DiD?Hi all, I'm currently working on my master thesis, but appear to be a little bit stuck - maybe some…
Replacing comma separated values within a string variable with lettersHello, I have a question regarding string variables. I have a string variable (calendar) that repre…
Subscribe to:
Post Comments (Atom)
0 Response to Coefplot: Displaying each level of a factor variable in one plot
Post a Comment