Description Usage Arguments Value Author(s) References Examples
Diagnostics for the RBS model
1 | diag.bs(model)
|
model |
object of class |
Local influence measures.
Manoel Santos-Neto manoel.ferreira@ufcg.edu.br, F.J.A. Cysneiros cysneiros@de.ufpe.br, Victor Leiva victorleivasanchez@gmail.com and Michelli Barros michelli.karinne@gmail.com
Atkinson, A. C. (1985) Plots, transformations and regression : an introduction to graphical methods of diagnostic regression analysis. Oxford Science Publications, Oxford.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.