envelope function

QQ-plot with simulated envelopes

QQ-plot with simulated envelopes

Constructs a normal QQ-plot using a Wilson-Hilferty transformation for the estimated Mahalanobis distances obtained from the LaplaceFit procedure.

envelope.Laplace(object, reps = 50, conf = 0.95, plot.it = TRUE)

Arguments

  • object: an object of class LaplaceFit representing the fitted model.
  • reps: number of simulated point patterns to be generated when computing the envelopes. The default number is 50.
  • conf: the confidence level of the envelopes required. The default is to find 95% confidence envelopes.
  • plot.it: if TRUE it will draw the corresponding plot, if FALSE it will only return the computed values.

Returns

A list with the following components :

  • transformed: a vector with the z-scores obtained from the Wilson-Hilferty transformation.

  • envelope: a matrix with two columns corresponding to the values of the lower and upper pointwise confidence envelope.

References

Atkinson, A.C. (1985). Plots, Transformations and Regression. Oxford University Press, Oxford.

Osorio, F., Galea, M., Henriquez, C., Arellano-Valle, R. (2023). Addressing non-normality in multivariate analysis using the t-distribution. AStA Advances in Statistical Analysis 107 785-813.