S3 Methods for getting output from fitted cdfqr Objects.

Share:

Description

Give the Gradient Function for CDF-Quantile Distribution Modles

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## S3 method for class 'cdfqr'
summary(object, ...)

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

## S3 method for class 'cdfqr'
logLik(object, ...)

## S3 method for class 'cdfqr'
deviance(object, ...)

## S3 method for class 'cdfqr'
coef(object, type = c("full", "mean", "sigma"), ...)

## S3 method for class 'cdfqr'
vcov(object, type = c("full", "mean", "sigma"), ...)

## S3 method for class 'cdfqr'
update(object, formula., ..., evaluate = TRUE)

## S3 method for class 'cdfqr'
formula(x, ...)

## S3 method for class 'cdfqr'
confint(object, parm, level = 0.95, submodel = "full", ...)

Arguments

object

The fitted cdfqr model.

...

Pass onto other functions or currently ignored

x

The fitted cdfqr model.

digits

Number of digits to be retained in printed output.

type, submodel

The parts of coefficients or variance-covariance matrix to be extracted.Can be "full", "mean",or "sigma".

formula.

Changes to the formula. See update.Formula for details.

evaluate

If true evaluate the new updated model else return the call for the new model.

parm

a specification of which parameters are to be given confidence intervals, either a vector of numbers or a vector of names. If missing, all parameters are considere.

level

the confidence level required.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
data(cdfqrExampleData)
fit <- cdfquantreg(crc99 ~ vert | confl, 't2','t2', data = JurorData)

summary(fit)
print(fit)
logLik(fit)
coef(fit)
deviance(fit)
vcov(fit)
confint(fit)

#Update the model
fit2 <- update(fit, crc99 ~ vert*confl | confl)
summary(fit2)