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
bsample/gsample when the data has post-stratification weightsHi everyone, My question is: when the weight in my data is post-stratification weight, how should I…
Interpreting panel cointegration test using Kao testDear forum users I have two models for which I am testing cointegration using kao test as follows. …
Can't access regression intercept using _b[_cons]I am trying to store the coefficients of a regression in macros for later use. The following code ru…
Panel DataHello, I have daily panel data where dependent variable is the number of cancer cases by day and by …
Heckman command vs a step by step approachDear all, I am doing some heckman estimations. However the model runds from hours without end.. I t…
Subscribe to:
Post Comments (Atom)
0 Response to How to declare "string" condition in If condition
Post a Comment