Learn R Programming

texreg (version 1.39.4)

extract,selection-method: extract method for selection objects

Description

extract method for selection objects created by the selection function in the sampleSelection package.

Usage

# S4 method for selection
extract(
  model,
  prefix = TRUE,
  include.selection = TRUE,
  include.outcome = TRUE,
  include.errors = TRUE,
  include.aic = TRUE,
  include.bic = TRUE,
  include.loglik = TRUE,
  include.rsquared = TRUE,
  include.adjrs = TRUE,
  include.nobs = TRUE,
  ...
)

Arguments

model

A statistical model object.

prefix

Include prefix before the label of the coefficient in order to identify the current model component?

include.selection

Report the selection component of a sample selection model?

include.outcome

Report the outcome component of a sample selection model?

include.errors

Report the error terms of a sample selection model?

include.aic

Report Akaike's Information Criterion (AIC) in the GOF

include.bic

Report the Bayesian Information Criterion (BIC) in the GOF block?

include.loglik

Report the log likelihood in the GOF block?

include.rsquared

Report R^2 in the GOF block?

include.adjrs

Report adjusted R^2 in the GOF block?

include.nobs

Report the number of observations in the GOF block? block?

...

Custom parameters, which are handed over to subroutines, in this case to the summary method for the object.