imputeOLS: imputation using OLS

Description Usage Arguments Examples

Description

this minimizes trace(y-mu)'(y-mu) over the missing elements of y

Usage

1
imputeOLS(y, mu)

Arguments

y
mu

Examples

1
2
3
4
5
6
7
8
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function( y, mu ){
     return( ifelse( is.na( y ), mu, y ) )
  }

mnbem documentation built on May 2, 2019, 6:16 p.m.

Related to imputeOLS in mnbem...