cmultinommethods: Methods for 'cmultinom' objects

Description Usage Arguments

Description

Methods for cmultinom objects

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
extract.cmultinom(model, include.aic = TRUE, include.loglik = TRUE,
  include.nobs = TRUE, include.nind = T, include.nmun = T,
  level = 0.95, use.ci = T)

## S3 method for class 'cmultinom'
coef(object, ...)

## S3 method for class 'cmultinom'
vcov(object)

## S3 method for class 'cmultinom'
summary(object, ..., digits = 1)

## S3 method for class 'cmultinom'
confint(object, ..., level = c(0.9, 0.95))

## S3 method for class 'cmultinom'
predict(object, newdata, type = c("link", "exp-link",
  "response", "class"), ci.level = c(0.9, 0.95), nSamples = 1000,
  intercept0 = F)

Arguments

include.aic

Should AIC be reported in texreg output?

include.loglik

Should log-likelihood be reported in texreg output?

include.nobs

Should number of observations be reported in texreg output?

include.nind

Should number of individuals be reported in texreg output?

include.nmun

Should number of municipalities be reported in texreg output?

level

levels for confidence intervals

use.ci

Should confidence intervals be reported in texreg output?

...

use to select variables a la select

digits

number of digits to be displayed

newdata

a data.frame in which to look for variables with which to predict

type

the type of prediction required. The default is on the scale of the linear predictors; the alternative "exp-link" exponentiates the linear predictors (e.g. to get odds ratios); "response" returns predicted probabilities to belong in each class; "class" returns the class with highest predicted probabilities.

ci.level

if not NULL, the levels of confidence intervals to be returned with predictions. Only used when type is "link" or "exp-link". If not NULL, then predict returns a tibble of length 2 * nrow(newdata) with predictions and confidence intervals for, in turn, beta1 and beta2.

nSamples

if ci.level is not NULL, number of Monte Carlo samples to be drawn to compute the confidence intervals around predictions.

intercept0

should predictions set the intercept to 0?


rferrali/rogali documentation built on May 26, 2019, 7 p.m.