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
Plot Quantile RegressionHello, I would like to conduct a quantile regression and plot the regression afterwards. I am getti…
Reshape long to wide for several variablesDear StataList users, I have an issue with a database that I need to reshape from long to wide. The…
Survival analysis and problems with multiple rows for each patientHello everyone, I'm working with survival analysis and a cox model in a dataset collected from an R…
predicted probabilities using xtlogit, fe: The state of the art?Dear Statalisters: There are a million threads on Statalist already for similar topics (e.g., https…
Observation Number out of Range r(198) ErrorHi, I am importing a dataset from excel but when I am proceeding to add observations by using the c…
Subscribe to:
Post Comments (Atom)
0 Response to Coefplot: Displaying each level of a factor variable in one plot
Post a Comment