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
Collapsing multiple variables using the count optionHi all, I have a dataset where every row represents a study. Each row contains a column describing …
lag regression: Not sorted errorHi, I have tried to run lagged regressions but the error keeps coming up as not sorted. I have sorte…
Replacing missing values with draws from a subset of nonmissing valuesI am replicating an imputation procedure for a household survey, and I'm struggling to find a elegan…
Retaining the entire ID if there are certain variables in the panel dataGood Morning world English is not my language so google help me. Please understand me. I have stat…
Repeated time values within panel helpHi All, I am having some trouble with understanding the xtset command even after reading through so…
Subscribe to:
Post Comments (Atom)
0 Response to Coefplot: Displaying each level of a factor variable in one plot
Post a Comment