correl: Generic functions for objects of classes "glm" and "cubinf"

View source: R/correl.R

correlR Documentation

Generic functions for objects of classes "glm" and "cubinf"

Description

Correlation and covariance matrix of the parameter estimates, rank, scale estimate, and weights.

Usage

correl(object, tl = 1e-10)

covar(object)
 
Rank(object)

rscale(object)

weights(object)

Arguments

object

An object inheriting from class "glm" or "cubinf".

tl

Tolerance for a scale factor (denominator) close to zero.

Details

The generic functions coef, residuals, fitted, formula, deviance, rscale, covar, correl, weights, Rank can be used to extract elements from an object returned by glm.

See Also

The model fitting function glm

Examples

 library(robcbi)
 data(Finney)
 Vol <- Finney$Vol; Rate <- Finney$Rate; Resp <- Finney$Resp
 lVol <-log(Vol); lRate <- log(Rate)
 z.cub <- glm(Resp~lVol+lRate,family=binomial,method="cubinf", ufact=3.2)
 correl(z.cub)
 covar(z.cub)
 Rank(z.cub)
 rscale(z.cub)
 weights(z.cub)

robcbi documentation built on Aug. 22, 2023, 1:06 a.m.