Hi,
I have recently created a new variable mothergrad1 and there are empty values when I used the function count. However, when I wanted to replace the empty values with 0, no real changes were made. Why is that so?
This was stata output:
count if mothercollegegrad1==.
26344
replace mothercollegegrad1=0 if mothercollegegrad1==.
(0 real changes made)
Thank you.
Related Posts with Why Stata doesn't recognize empty values
Svy for stratified experimental dataAlmost more of conceptual question, but I am wondering if one should use the svy prefix with specifi…
xtset and xtreg with all coefficients zeroHi everyone, I am new to using panel data on stata so I had a few questions. I am using the India …
Testing robustnessHello, I'm writing my thesis on the effect of nationality diversity on firm performance. I'm using …
Statistical test for comparing marginal probabilities for 2 sub-groups from different regressionsI have a probably quite simple question which I do not know how to implement on Stata. The backgrou…
statistical analysis on two-eye datasetHi everyone, I am very new to stata and I am trying to do an analysis with both eyes of one individu…
Subscribe to:
Post Comments (Atom)
0 Response to Why Stata doesn't recognize empty values
Post a Comment