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
Using runiformint(a,b) - Create each Value between a and b once?Hello everybody, I am currently looking for a solution for the creation of random integer values wh…
Sampclus vs Power (cluster) for observations per cluster calculationDear All, Hope you all are well. I have a question regarding the following hypothetical example co…
Clustering under few treated clustersSome general advice sought from the Stata community. Say I'm doing a Difference in Differences exer…
Generating decile portfolio'sDear Statalist, I would like to ask for help regarding a question I've been pondering. I am replica…
Stata/MP 16.1 Processing SpeedHi, I am posting this to get some clarification on the time it takes Stata/MP 16.1 to run code. I wa…
Subscribe to:
Post Comments (Atom)
0 Response to Coefplot: Displaying each level of a factor variable in one plot
Post a Comment