Hi,
I've been running a logistic regression with 5 explanatory categorical variables, trying to look at which factors predict confidence in police (cjspolb2cat). Today I tried to add in some continuous variables, but STATA said the message 'no observations, r(2000)'. Can anyone please help me understand what this means?
here is my code (quallife is the new continuous variable I have added in, but I have also tried a few others which produced the same error message):
logistic cjspolb2cat quallife ib1.persinc4cat ib2.age3cat ib1.sex ib1.ethgrp2a, allbaselevels
margins, dydx(*) allbaselevels
I'm a real beginner to STATA and really appreciate any help anyone can offer!
Thank you,
Alice
I've been running a logistic regression with 5 explanatory categorical variables, trying to look at which factors predict confidence in police (cjspolb2cat). Today I tried to add in some continuous variables, but STATA said the message 'no observations, r(2000)'. Can anyone please help me understand what this means?
here is my code (quallife is the new continuous variable I have added in, but I have also tried a few others which produced the same error message):
logistic cjspolb2cat quallife ib1.persinc4cat ib2.age3cat ib1.sex ib1.ethgrp2a, allbaselevels
margins, dydx(*) allbaselevels
I'm a real beginner to STATA and really appreciate any help anyone can offer!
Thank you,
Alice
Comment