My dataset consists of time-series observation of US firms with identifiers like gvkey, cusip and a construct variable cusip_fiscalyear. I use data between 1995 and 2005, but need to drop all observations of a particular firm if the observations are less than 8 years. I suppose I need to generate a kind of frequency variable? And I suppose I can use any one of the three identifiers.
Related Posts with Drop observations if not meeting frequency criterium
Category selectionHae guys kindly help me figure out this.i have a integer variable which is categorized into 3 measur…
guide of panel analysis (for beginner with STATA)I need an easy practical guide (paper) to study panel data. Starting from the beginning (import an e…
Foreach loop with tabsHello Statalist! This is my second post here; my first one ended up with quite helpful responses, so…
Category selectionHae guys kindly help me figure out this.i have a integer variable which is categorized into 3 measur…
Category selectionhae guys can someone help me in previous post please!am stack. …
Subscribe to:
Post Comments (Atom)
0 Response to Drop observations if not meeting frequency criterium
Post a Comment