print {ILSE}R Documentation

Print the Information of FIML or ILSE methods

Description

print method for class "ilse" or class "fiml".

Usage

  print(object)
  ## S3 method for class 'ilse'
print(object)

  ## S3 method for class 'fiml'
print(object)

Arguments

object

an object of class "ilse" or "fiml".

Value

For "ilse", print the basic information of ilse estimation and algorithm and return a list including

beta

a named vector of coefficients

Bmat

a named matrix that summary the estimated beta in every iteration.

residuals

the residuals, that is response minus fitted values.

fitted.values

the fitted mean values.

d.fn

a nonnegative value, vlaue of relative variation rate of objective function value

d.par

a nonnegative value, relative variation rate of estimated parametric vector when algorithm stopped.

K

a positive integer, iterative times in total.

For "fiml", print the basic information of fiml estimation and return a list including

beta

A named vector of coefficients

iterations

A positive integer, iterative times in total.

stop.code

The stop code returned by nlm.

See Also

print.lm

Examples


data(nhanes)
NAlm1 <- ilse(age~., data=nhanes)
a <- print(NAlm1)
a

fimllm <- fimlreg(age~., data=nhanes, iterlim= 40)
b <- print(fimllm)
b

[Package ILSE version 1.1.7 Index]