Hi,
I have data set including population size by cohort, sex, region, and education levels (ordered from 0 to 5). I want to perform an ordered logit regression in order to estimate parameters that I can use to predict future cohorts.
My code:
proc sort data=work.edu; by sex; run; proc logistic data=work.edu ; class region / param = ref; model edu_order(descending) = region cohort / unequalslopes; weight pop; by sex; run;
When I run the code, I have an output, but parameters look wrong and I get this error
ERROR: Unable to compute derivatives for the Newton-Raphson step. You may want to use the INEST= option to supply initial values for the parameter estimates, or try using Fisher's scoring (TECHNIQUE=FISHER option)
I tried the TECHNIQUE=FISHER, but it doesn't work with unequalslopes. I have no idea how to use the INEST= option and the documentation is not very clear.
My dataset: https://www.dropbox.com/s/dstvlbm0ooesay9/edu.sas7bdat?dl=0
... View more