glmRob.mallows: Mallows Type Estimator

Description Usage Arguments Value See Also Examples

View source: R/glmRob.mallows.q

Description

Computes the Mallows Type Estimator provided by glmRob.

Usage

1
glmRob.mallows(x, y, control, offset, null.dev, family, Terms)

Arguments

x

model matrix

y

a numeric vector of Bernoulli responses.

control

control parameters.

offset

offset

null.dev

a logical value. If TRUE the null deviance is computed and stored.

family

a binomial family object.

Terms

the Terms object created in glmRob.

Value

a list similar to glmRob.object.

See Also

link{glmRob}

Examples

1
2
3
data(mallows.dat)

glmRob(y ~ a + b + c, data = mallows.dat, family = binomial(), method = 'mallows')

Example output

Loading required package: fit.models
Registered S3 methods overwritten by 'robust':
  method              from      
  plot.covfm          fit.models
  print.covfm         fit.models
  summary.covfm       fit.models
  print.summary.covfm fit.models
rlm is already registered in the fit.models registry
covfm is already registered in the fit.models registry

Attaching package:robustThe following objects are masked frompackage:fit.models:

    ddPlot.covfm, distancePlot.covfm, ellipsesPlot.covfm,
    screePlot.covfm

Call:
glmRob(formula = y ~ a + b + c, family = binomial(), data = mallows.dat, 
    method = "mallows")

Coefficients:
(Intercept)           a           b           c 
   -2.04642     0.10810     0.08633     0.12584 

Degrees of Freedom: 70 Total; 66 Residual
Residual Deviance: 40.06 

robust documentation built on May 2, 2019, 5:20 p.m.