coef.logitx: Extraction functions for 'logitx' objects

View source: R/gets-logitx-source.R

coef.logitxR Documentation

Extraction functions for 'logitx' objects

Description

Extraction functions (of type S3 methods) for objects of class 'logitx'

Usage

  ## S3 method for class 'logitx'
coef(object, ...)
  ## S3 method for class 'logitx'
fitted(object, zero.prob=FALSE, ...)
  ## S3 method for class 'logitx'
logLik(object, ...)
  ## S3 method for class 'logitx'
plot(x, ...)
  ## S3 method for class 'logitx'
print(x, signif.stars=TRUE, ...)
  ## S3 method for class 'logitx'
summary(object, ...)
  ## S3 method for class 'logitx'
toLatex(object, digits = 4, gof = TRUE, nonumber = FALSE, nobs = "T", ...)
  ## S3 method for class 'logitx'
vcov(object, ...)

Arguments

object

an object of class 'logitx'

x

an object of class 'logitx'

zero.prob

logical. If FALSE (default), then the probabilities of a one are returned as fitted values. If TRUE, then the zero probabilities are returned as fitted values

signif.stars

logical. If TRUE, then p-values are additionally encoded visually, see printCoefmat

digits

integer, the number of digits in the LaTeX print

gof

logical that determines whether goodness-of-fit information should be included in the LaTeX print

nonumber

logical that determines whether a "nonumber" tag should be added to each equation in the LaTeX print

nobs

character that determines the label for the number of observations in the LaTeX print

...

additional arguments

Value

Various, depending on the method

Author(s)

Genaro Sucarrat, http://www.sucarrat.net/

See Also

logitx, logitxSim, gets.logitx

Examples


##simulate from ar(1):
set.seed(123) #for reproducibility
y <- logitxSim(100, ar=0.3)

##estimate and store result:
mymod <- logitx(y, ar=1)

##extract stuff:
coef(mymod)
fitted(mymod)
logLik(mymod)
plot(mymod)
print(mymod)
summary(mymod)
toLatex(mymod)


gets documentation built on Oct. 10, 2022, 1:06 a.m.