I'm aware that certain sample selection methods can be used to do in-sample predictions and measure test error, but I would like to know if eviews has a built-in way to do a random split on the data in the workfile. A browse through the command reference suggests it is not supported. But let me reiterate, I'm imagining a configurable command, say between 0 and 1. In my imaginary function:
Code: Select all
sample sample_data =@randomsplit(.8)I don't think there is a way to do this with the if clause in the sample GUI, but that just might be my user error.
In any event, please share some of the typical ways this is achieved in eviews.
