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
r603 using eventstudy commandDear Statalist, I am trying to run an event study using stata "db eventstudy" (eventstudy commandà …
Please can someone helpHi, having to use STATA as an Economics Undergrad for Economics to write my dissertation and keep c…
Count distinct values of variable 'Year' for each different id in variable 'Id'Dear Statalist users, this is my first post in the forum and I am a Stata beginner, so please forgi…
how to represent estimates for covariates using MataI have a regression model using discrete time hazard regression. And I wanted to study the effect of…
Chi square goodness of fit I have performed chi square goodness of fit test as shown below. Now, I want to test which catego…
Subscribe to:
Post Comments (Atom)
0 Response to Generating the AVERAGE, by dropping Missing Values
Post a Comment