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
Panel data regression using dummiesHi everyone! I am attempting to create a panel data regression with lnwages as the dependent and ge…
Grouping of countries by continentI have deforestation data for 265 countries and want to analyse them separately by continent. I usua…
Comparing multiple string variables for similarityDear all, I am trying to compare a string variable with several others for similarity: The goal is…
Any way to override SSL error when importing?Hi All, I've been using a set of programs to scrape the USNO astronomical data for the past two yea…
Replace commandHello am new to stata, the task that am trying to achieve is to replace a numeric value with a strin…
Subscribe to:
Post Comments (Atom)
0 Response to Why Stata doesn't recognize empty values
Post a Comment