So if, for example, the following sample command for month 10 (trend=10) yields 200 stock-months...
smpl @all if trend=10 and if marketcap<100
...I then want to include the same 200 stocks in month 11 (trend=11), regardless the value of their marketcap
Search found 6 matches
- Tue Aug 04, 2015 5:10 am
- Forum: Programming
- Topic: sample command in panel
- Replies: 2
- Views: 2522
- Tue Aug 04, 2015 4:33 am
- Forum: Programming
- Topic: sample command in panel
- Replies: 2
- Views: 2522
sample command in panel
Hi, I'm using a dated panel with monthly observations and 2000 cross-sections (stocks). How can I "mark" certain cross sections by looking at a variable (e.g. market cap.>100) in one month, t, and take the same cross-sections in a sample command the next month, t+1, (even though their mark...
- Mon Mar 30, 2015 12:14 pm
- Forum: Data Manipulation
- Topic: Contract panel workfile
- Replies: 2
- Views: 2673
Re: Contract panel workfile
Thank you very much, it works out smoothly!
- Mon Mar 30, 2015 11:23 am
- Forum: Data Manipulation
- Topic: Contract panel workfile
- Replies: 2
- Views: 2673
Contract panel workfile
Hi, I'm using eviews8. I have a dated panel workfile with >500 cross sections (stocks) and 7 variables/series. I want to drop those stocks (that is the entire cross-sections) for which any of the 7 variables doesn't have at least one observation. So if for a specific stock there are all variables av...
- Wed Feb 18, 2015 3:45 am
- Forum: Data Manipulation
- Topic: Delete certain object types
- Replies: 3
- Views: 3082
Re: Delete certain object types
Thank you very much, it worked perfectly fine!
- Tue Feb 17, 2015 12:00 pm
- Forum: Data Manipulation
- Topic: Delete certain object types
- Replies: 3
- Views: 3082
Delete certain object types
Hello, I want to delete all alpha objects (but not the series) from my workfile before structuring it into panel data. Since I have more than 5000 different objects (all series and alpha objects beginning with "_") in the workfile, it would be very inconvenient to do that manually. Unfortu...
