Command Reference : Function Reference : Function Reference: M
  
 
@mnas
Trailing moving missing observations.
n-period trailing number of missing observations, ignoring NAs.
Syntax: @mnas(x, n)
x: series, alpha
n integer, series
Return: series
For each observation and integer , count the number of missing (NA) observations in the current and previous observations of the series,
Equivalent to @movnas.
Examples
show @mnas(x, 12)
produces a linked series of NA counts based on a 12-period moving window over the series x.
Cross-references
See also @mobs.