Object Reference : Object View and Procedure Reference : Sample
  
 
set
Set the sample in a sample object.
The set procedure resets the sample of an existing sample object.
Syntax
sample_name.set(options) sample_description
Follow the set command with a sample description. See sample for instructions on describing a sample.
Options
 
prompt
Force the dialog to appear from within a program.
Examples
sample s1 @first 1973
s1.set 1974 @last
The first line declares and defines a sample object named S1 from the beginning of the workfile range to 1973. The second line resets S1 from 1974 to the end of the workfile range.
Cross-references
See “Samples” for a discussion of samples in EViews.
See also Sample::sample, Sample::spec, and smpl.