Description Usage Arguments Value Author(s) References Examples
Diagnostics for the RBS model
1 2 3 4 5 6 7 8 |
model |
Object of class |
mu.link |
Defines the mu.link, with "identity" link as the default for the mu parameter. |
sigma.link |
Defines the sigma.link, with "identity" link as the default for the sigma parameter |
scheme |
Default is "case.weight". But, can be "response", "location" or "precision". |
lx |
Used in the scheme 'location'. |
lz |
Used in the scheme 'precision'. |
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
Leiva, V., Santos-Neto, M., Cysneiros, F.J.A, Barros, M. (2014) Birnbaum-Saunders statistical modelling: a new approach. Statistical Modelling, v. 14, p. 21-48, 2014.
1 2 3 4 5 6 7 8 9 10 | data(cpd,package='faraway')
attach(cpd)
fit = gamlss::gamlss(actual ~ 0+projected,
family=RBS(mu.link="identity",sigma.link="identity"),method=CG())
Cib <- diag.RBS(fit)$Ci.beta
plot(Cib,ylim=c(0,1),pch=19,ylab=expression(C[i](beta)),xlab="Index")
abline(h=2*mean(Cib),lty=2)
Cia <- diag.RBS(fit)$Ci.alpha
plot(Cia,ylim=c(0,1),pch=19,ylab=expression(C[i](beta)),xlab="Index")
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.