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
Levene’s testDear researchers, I have unbalanced panel data for more than 200 firms for the period that extend fr…
How to save 1 specific xtreg beta coefficient to use in postestimations?Dear Stata Community members, I would like to ask how I can save one particular beta coefficient af…
How to use append in esttabHi everyone I am using the following dataset and creating 2 tables Code: * Example generated by -da…
Update to -overid- available on SSCWith thanks as usual to Kit Baum, an update to our program overid is now available on SSC. overid i…
Two-side bar chart over groups hello everyone, I've created the following graph in excel and I'd like to do it with Stata, howeve…
Subscribe to:
Post Comments (Atom)
0 Response to Generating the AVERAGE, by dropping Missing Values
Post a Comment