Command Reference : Function Reference : Function Reference: O
  
 
@obs
Number of observations.
Number of non-missing observations in .
Syntax: @obs(x[, s])
x: series, vector, matrix
s: (optional) sample string or object when x is a series and assigning to a series
Return: number
For series calculations, EViews will use the current or specified workfile sample.
Examples
If x is a series of length 5 with elements 1, NA, 2, NA, 3, then
= @obs(x)
returns 3.
Cross-references
See also @nas.