envelope: Envelopes

Description Usage Arguments Value Author(s) References

View source: R/envelopebs.R

Description

A normal plot with simulated envelope of the residual is produced.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
envelope(
  model,
  k = 100,
  res = "deviance",
  precision = "fixed",
  dist = RBS(mu.link = "identity", sigma.link = "identity"),
  color = "grey50",
  xlabel = "Theorical Quantile",
  ylabel = "Empirical Quantile",
  font = "serif"
)

envelope.ZARBS(
  model,
  k = 100,
  precision = "fixed",
  color = "grey50",
  xlabel = "Theorical Quantile",
  ylabel = "Empirical Quantile",
  font = "serif"
)

envelope.ZAGA(
  model,
  k = 100,
  precision = "fixed",
  color = "grey50",
  xlabel = "Theorical Quantile",
  ylabel = "Empirical Quantile",
  font = "serif"
)

Arguments

model

object of class gamlss holding the fitted model.

k

number of replications for envelope construction. Default is 19.

res

type of residuals to be extracted. Default is deviance.

precision

If precision = "fixed" a model with precision fixed is used; else a model with precision variable is used.

dist

The function RBS() defines the RBS distribution.

color

the color of the envelope.

xlabel

a label for the x axis.

ylabel

a label for the y axis.

font

the font used in x and y axis.

Value

A simulated envelope of the class RBS, ZARBS and ZAGA.

Author(s)

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

References

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

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.

Santos-Neto, M., Cysneiros, F.J.A., Leiva, V., Barros, M. (2016) Reparameterized Birnbaum-Saunders regression models with varying precision. Electronic Journal of Statistics, 10, 2825–2855. doi: 10.1214/16-EJS1187.


santosneto/RBS documentation built on Feb. 5, 2021, 2:12 p.m.