To change the sample in a non-dated file you can e.g. write:
smpl 5 25
However, if I have a panel file and I want to change sample I do not know how to do this, and I did not find anything in the helpfiles. I want the SYNTAX to do this, not by using the menus.
Change smpl for panel file
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
Re: Change smpl for panel file
I solved my own question (but I post it anyway, if there is someone else who is wondering).
Use
smpl if
If I have 10 different countries which are saved in the variable COUNTRY (with the names 1, 2,..., 10...). Just type in the name of this country in the following syntax, e.g. country 4:
scalar fc = 4
smpl if COUNTRY={fc}
Use
smpl if
If I have 10 different countries which are saved in the variable COUNTRY (with the names 1, 2,..., 10...). Just type in the name of this country in the following syntax, e.g. country 4:
scalar fc = 4
smpl if COUNTRY={fc}
Who is online
Users browsing this forum: No registered users and 2 guests
