Learn R Programming

gets (version 0.29)

coef.dlogitx: Extraction functions for 'dlogitx' objects

Description

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

Usage

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

Arguments

object

an object of class 'dlogitx'

x

an object of class 'dlogitx'

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

See Also

dlogitx, dlogitxSim, gets.dlogitx

Examples

Run this code
# NOT RUN {
##simulate from ar(1):
set.seed(123) #for reproducibility
y <- dlogitxSim(100, ar=0.3)

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

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

# }

Run the code above in your browser using DataLab