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
To make Trajectory Plot directly using WIDE data format without reshaping to long formatDear all, Is there any easy command or way to make a trajectory plot using WIDE format without resh…
Subgroup differences with metaprop? Hi, I am running a metanalysis to look at pooled estimates of attrition using metaprop. I have gen…
reclink functionHi guys, hope you are enjoying festivities. So basically I am trying to perform a fuzzy matching b…
The occurance of autocorrelation and heteroscedasticity in a panel data OLS regressionHello everyone, I am currently running an OLS panel data regression with industry and time fixed ef…
How to make a random sample or subset of data with two group?I am new user of stata, kindly forgiven my ignorance and poor English. My case is here. I have a dat…
Subscribe to:
Post Comments (Atom)
0 Response to Coefplot: Displaying each level of a factor variable in one plot
Post a Comment