I am running endogenous switching regression using the movestay command but I keep getting this error "Ris must have exactly two distinct values" Ris is a continuous dependent variable my code; is movestay fodder_production AgeofHH FormalEduc Hhsize Landtenure_security Mobility Acc_Crdt SocialGroup NumofMktVisit, select(Ris = fodder_production Believe_inGodasProtect_frm_droug Trust_in_erly_wrn willingness_Liv_Insurance LivestockVaccination Enclosuresforlivestockgrazing Herddiversification DroughtPerception) how can I solve this?
-
Login or Register
- Log in with