Page 1 of 1

Hold out sample

Posted: Tue May 06, 2014 6:44 am
by eddylle
Hello!

I have 5 variables with approximately 60 000 observations for each, and I would like to split each variables into 2 variables , with one containing 75% of the observation and the other one accounting for 25%, so that I can use those 25% of observation to make an hold out sample.

Thanks you very much!

Re: Hold out sample

Posted: Tue May 06, 2014 7:01 am
by startz
Perhaps just

Code: Select all

smpl 1 45000
and later

Code: Select all

smpl 45001 60000

Re: Hold out sample

Posted: Tue May 06, 2014 7:14 am
by eddylle
I don't have a clue how to enter it into eviews :roll:

For example, how should I do it if my variable is called "activity" ?

Thanks for your help anyway

Re: Hold out sample

Posted: Tue May 06, 2014 7:19 am
by startz

Re: Hold out sample

Posted: Tue May 06, 2014 7:22 am
by eddylle
Really helpful, thanks!