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.