print: Print the Information of FIML or ILSE methods

Description Usage Arguments Value See Also Examples

View source: R/summary.R

Description

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

Usage

1
2
3
4
5
6
  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

1
2
3
4
5
6
7
8
data(nhanes)
NAlm1 <- ilse(age~., data=nhanes)
a <- print(NAlm1)
a

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

ILSE documentation built on Jan. 31, 2022, 9:06 a.m.