Command Reference : Function Reference : Function Reference: O
  
 
@obsrange
Number of observations in the current workfile page.
Syntax: @obsrange
Return: integer
Examples
scalar wflen = @obsrange
saves the workfile length in the scalar WFLEN.
The commands
smpl if @obsid < @obsrange*.8
equation eq1.ls y c x1 x2 x3
eq1.forecast(f=na, forcsmpl="if @obsid >= @obsrange*.8") eq1f
sets the sample to (approximately) the first 80% of the workfile sample, estimates an equation, then forecasts for the last 20% of the workfile.
Cross-references
See also @obssmpl and @obsid.