Hello,
I am newbie in Stata and I have a problem with stata when I try to declare If condition.
In my DB, I have "country" variable which has "Germany" values but when I run the regression:
"oprobit adl iadl depression_scale chronicw2 if country==Germany". It said that "Germany not found"
or
" oprobit adl iadl depression_scale if "country"=="Germany" ". It said that "no observations"
How can I fix it?
Thank you
Related Posts with How to declare "string" condition in If condition
Using reghdf with an unbalanced panel data setHi all, I am doing a study which tests the effect of a specific period on firms' liquidity. I have…
Histogram-differences in x-axisGood morning all, I have been trying to reproduce some figures that I have done about two years ago…
Large data-cleaning and -appending exercise needs more efficiencyHello everyone, I am at my first attempt at importing, cleaning and appending a large amount of dat…
"Split" histogram when one bin takes 99%I have a dataset that 99% of them has one value. But there are many other values which take so few p…
Logistic RegressionI want to run a logistic regression model and my independent variables are a mix of interval, ordina…
Subscribe to:
Post Comments (Atom)
0 Response to How to declare "string" condition in If condition
Post a Comment