RMV

RMV produces new variables by copying existing variables and replacing any system- or user-missing values with estimates computed by one of several methods.

RMV new variables={LINT (varlist)          } 
                  {MEAN (varlist [{,2 }])  } 
                  {               {,n }    } 
                  {               {ALL}    } 
                  {MEDIAN (varlist [{,2 }])} 
                  {                 {,n }  } 
                  {                 {ALL}  } 
                  {SMEAN (varlist)         } 
                  {TREND (varlist)         } 

   [/new variables=function (varlist [,span])] 

This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.

Syntax for the RMV command can be generated from the Replace Missing Values dialog box.

Example

RMV NEWVAR1=LINT(OLDVAR1).