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
0 Response to Coefplot: Displaying each level of a factor variable in one plot
Post a Comment