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
Generate a variable equal to 1 when a countryI'm sorry, my screen froze and I posted this topic by mistake. Here is the actual link : https://www…
gen whole lot random variables (and random order) efficientlyHi all, One of the statistical computations that I've been working on involves assigning 10,000 col…
Need help in estimating random intercept value for each group for reporting into a journal summary table???I would like to estimate a random intercept linear regression model based on several covariates, and…
Why is My Stata for-loop Code Wrong?I just want to compute descriptive statistics of the categorical time-invariant variables in the att…
TWFE for pooled cross sectionsHi, I currently have a dataset looking at 500 days, which is from 3rd April 2018 to 16th August 2019…
Subscribe to:
Post Comments (Atom)
0 Response to Why Stata doesn't recognize empty values
Post a Comment