Dear Statalisters,
I am running an ordered logistic regression to research which factors (co)determine organizations gaining access to committees. In order to make more sense of the obtained coefficients and other regression results, I want to conduct predicted probabilities for the minimum, median and maximum of my independent variables and show how change in these (e.g. from the minimum to the median) influences the probabilities. Therefore, I wanted to make use of the -prvalue- command of the SPost 13 package by J. Scott Long and Jeremy Freese, using Stata 15.1.
I have the following dataset:
Using the following syntax to obtain the predicted probabilities:
I always derive at the same error message r(111) "variable cut1 not found". I do not understand why I get this error message, as i was not aware that the Ancillary parameters (that are given in the ordered logistic regression output) are relevant for getting predicted probabilities for my independent variables. Why is this the case and how can I get the predicted probabilities that I want?
I would be very grateful for enlightenment.
Marie Lohrum
I am running an ordered logistic regression to research which factors (co)determine organizations gaining access to committees. In order to make more sense of the obtained coefficients and other regression results, I want to conduct predicted probabilities for the minimum, median and maximum of my independent variables and show how change in these (e.g. from the minimum to the median) influences the probabilities. Therefore, I wanted to make use of the -prvalue- command of the SPost 13 package by J. Scott Long and Jeremy Freese, using Stata 15.1.
I have the following dataset:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input byte(q35EU_07 q08) float log_staff byte(q42 q30_04 EU_policies) . . . . . . . 4 . . . . . . . . . . . . . . . . . . . . . . . 3 .90309 1 30 2 3 3 .60206 3 80 4 2 2 .30103 3 50 3 1 2 .30103 4 10 4 . 2 . . . . end
Using the following syntax to obtain the predicted probabilities:
Code:
ologit q35EU_07 q08 log_staff q42 q30_04 EU_policies, vce(robust) prvalue, x(q08=min, log_staff=min q42=min q30:04=min EU_policies=min) level(95) bootstrap save
I would be very grateful for enlightenment.
Marie Lohrum
Comment