Hi,
I am using logistic regression analysis to test the effect of marital, employment and education pathways on the probability of remaining childless at age 45 for men in the UK.
My model is as follow:
xtlogit cl ib4.Educ2 ib3.early_job ib0.never_married ib3.earlymarriage ib3.ethnicity ib4.fatherclass ib2.health ib7.bc , or
bc: dummy variable for 5 birth cohort.
after running the model, I have saved the estimates and would like to plot the predicted probability for the main independent variables (i.e., education, marital, employment). These include dummies and categories. for example:
Education has 4 categories
age at early job 3 categories
never married, dummy
Would it be possible to plot their predicted probability?
Thanks
Related Posts with Plot predicted probability for dummies independent variable
consecutive observationHi, I have read this https://www.stata.com/support/faqs/d...-observations/, and understand how to k…
Generating new variable for several observationsHi Everyone, I have this example below, where I have used "exapnd 12" to have each city 12 times. T…
How to generate group mean variables for each time?My data is as now code pool time price a1 j1 20190101 1 a1 j1 20190102 2 a1 j2 20180101 …
Store numeric values into memory to use them to create new data setsI have been reading the Statalist for years and I am thrilled to finally join this forum and potenti…
Infix problem (using invalid varname)Hello, I am trying to read in fixed width data from a .txt file. I am following the documentation f…
Subscribe to:
Post Comments (Atom)
0 Response to Plot predicted probability for dummies independent variable
Post a Comment