diag.bs: Diagnostic Analysis - Local Influnce

Description Usage Arguments Value Author(s) References Examples

View source: R/diagbs.R

Description

Diagnostics for the RBS model

Usage

1
diag.bs(model)

Arguments

model

object of class gamlss holding the fitted model.

Value

Local influence measures.

Author(s)

Manoel Santos-Neto [email protected], F.J.A. Cysneiros [email protected], Victor Leiva [email protected] and Michelli Barros [email protected]

References

Atkinson, A. C. (1985) Plots, transformations and regression : an introduction to graphical methods of diagnostic regression analysis. Oxford Science Publications, Oxford.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
library(faraway)
data(cpd)
attach(cpd)
fit = gamlss(actual ~ 0+projected, family=RBS(mu.link="identity"),method=CG())
summary(fit)
set.seed(2015)
envelope(fit)
Cib <- diag.bs(fit)$Ci.beta
plot(Cib,ylim=c(0,1),pch=19)
abline(h=2*mean(Cib),lty=2)
Cia <- diag.bs(fit)$Ci.alpha
plot(Cia,ylim=c(0,1),pch=19)
abline(h=2*mean(Cia),lty=2)

santosneto/rbsmodels documentation built on May 26, 2017, 12:32 a.m.