Skip to contents

S3 print and summary methods for objects of class "lsmm" and print method for objects of class "summary.lsmm".

Usage

# S3 method for class 'lsmm'
summary(object, ...)

# S3 method for class 'lsmm'
print(x, digits = max(3, getOption("digits") - 3), ...)

# S3 method for class 'summary.lsmm'
print(
  x,
  digits = max(3, getOption("digits") - 3),
  signif.stars = getOption("show.signif.stars"),
  ...
)

Arguments

object

an object of class "lsmm".

...

further arguments passed to or from other methods.

x

an object of class "summary.lsmm".

digits

the number of significant digits to print.

signif.stars

logical; if TRUE, p-values are additionally encoded visually as significance stars.

Value

summary.lsmm() returns an object of class "summary.lsmm". A list with the following elements:

call

The call of the fitted model.

coefficients

A matrix of the parameter estimates, their standard errors, Wald z statistics, and p-values.

jtest

If there are more instruments than exposures, the Hansen J-statistic of the overidentifying restrictions, its degrees of freedom, and p-value; otherwise NULL.

smry

An object from a call to gmm::summary.gmm().

object

The object of class "lsmm" passed to the function.

Examples

# For examples see the examples at the bottom of help('lsmm')