Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65625

New to Stata: How to Drop Different Observations

$
0
0
Hi, I am having trouble dropping certain observations in my dataset. For example, suppose I am trying to find out the income of individuals who went to Disneyland in both 2006 and 2007. Whenever I type "keep if year==2006" and "keep if year==2007," I only end up dropping those observations that went to Disneyland in one year, but may not have gone during the other. Sorry if this is unclear.

Viewing all articles
Browse latest Browse all 65625

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>