Hi all- I am trying to run a nested logit model where I'm looking at the determinants of graduate employment and wanted to use the nested logit to account for self-selection bias in the selection of fields of study.
I have fields of study at the bottom of the hierarchy (with each field as a dummy variable) and have created the variable grad_id= id if grad==1
If I run the below command:
nlogit employed X (X=vector of independent variables other than field of study)
|| type: fieldofstudy, base(grad) ||
||:, noconst case(grad_id)
I get the error:
option case() required
Would appreciate any tips on how to resolve this.
Thanks,
Ghia
Comment