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
Comparison of cross sectional entities in panel dataHello I am new to stata and stuck at one point. I am writing a paper on entrepreneurship wherein i h…
simulation not working (running only once)Hi, Stata people. I am really sorry to post this again. I am assigning random treatment and then wan…
Box Whisker Plot HelpHello: I would like to make a box whisker plot where the y axis is age and the boxes are 2 differen…
how do we interpret the results from a Nonparametric series regressionI am analyzing a dataset (n=38, total 4 groups (3 groups of 10 each and 8 controls)) on occurance of…
linking parents and children in the household dataHello, I want to link parents and their children by putting the proper value (id) in variables (fath…
Subscribe to:
Post Comments (Atom)
0 Response to stata doesn't recognize missings in string variable
Post a Comment