Hi,
What i'd like to do i to restrict the sample size of one of my variables.
Lets say i have a variable with the numbers 1-50, n=50. I only want to use n<45. How do i restrict the sample to be like this?
I am new to eviews and have not quite solved the problem using google. I have tried using "smpl if x<45" but i don't know if this is correct or if i simply paste it wring in ewiews as it says smpl is not defined.
Thank you for help!
Kejh
Sample restriction
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Sample restriction
Where are you entering that smpl statement.
Re: Sample restriction
In the variable window. (select --> rmb --> open; sample)
Where it by default says "@all"
Where it by default says "@all"
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Sample restriction
You only need to include the word "smpl" if you're issuing it from the command line.
Who is online
Users browsing this forum: No registered users and 2 guests
