I want to delete observations that have missing data for a particular variable but stata does not recognize the empty cells as missing when I use the command:
drop if fishing_site==" "
so, I thought it might be a problem with spaces so I tried trimming them but it did not make any changes and still not recognizing missings.
What do I need to do?
Related Posts with stata doesn't recognize missings in string variable
Testing coefficient equality in (subsample) panel data regressions?Dear All, Suppose that I have the following code, Code: webuse grunfeld, clear gen ind = company …
Stata states varlist not allowed with Coefplot CommandI am a new user to Stata. I am working on a dataset from an experiment that looked at how male and f…
Export to excelHello!! I am trying to export summary statistics like n mean sd median iqr min max for a series of …
Interpretation of regression results of capital flowsDear statalisters, I have run three similar regressions of this model: lnGCFGDPit= ß0+ ß1newdealit…
suest with "too many base levels specified"?Dear All, I was asked this question from a friend. The error message is Array Any suggestion on thi…
Subscribe to:
Post Comments (Atom)
0 Response to stata doesn't recognize missings in string variable
Post a Comment