Hello Everyone,
I have Ten years of Data (2005 to 2015) for an X variable for 200 countries (data taken from WDI)
I wanted to generate an average for TEN years of data. But the problem is that there are some missing values in the years for some countries.
Now my doubt is How to drop a country with data not available for less than three years?
Please suggest me the Stata code for Generating the average from TEN years data, by dropping the countries with less than three years missing data.
Thanks in Advance.
Related Posts with Generating the AVERAGE, by dropping Missing Values
Combined histograms; fraction based on the whole sample, not two sub-samplesHi, I have a normal distribution with one additional mass-point. I would expect the fraction of the …
spost13 for orderred logit cannot be installedDear experts, I want to do brant test after ordered logit is run. I found that I need to install sp…
Interaction after -mepoisson-Hi Statalisters I am finalizing analyses in a project where a cross-level interaction is of interes…
White to Black Contour graphDear all, I wonder If anyone has a tip on how to produce a contour graph that transitions from white…
how to control for heteroskedasticity and use fixed effects at the same time?Hello all! I have a panel data and for my regression I use a Linear Probability Model (LPM). I also …
Subscribe to:
Post Comments (Atom)
0 Response to Generating the AVERAGE, by dropping Missing Values
Post a Comment