Description Usage Arguments Value Author(s) References
View source: R/berg_diagnostic.R
Provides the normal envelope simulated probability plot of Pearson's residuals, and of the randomized quantile residuals resulting from the BerG regression model fit.
1 2 3 4 5 6 7 | envel_berg(
object,
residual = c("all", "quantile", "pearson"),
R = 99,
control = berg_control(...),
...
)
|
object |
object of class 'bergrm'. |
residual |
character; specifies which residual should be produced in the normal probability plot. The available arguments are "all" (default) for both randomized quantile and Pearson residuals; "quantile" for randomized quantile residuals; and "pearson" for Pearson residuals. |
R |
number of replicates. |
control |
a list of control arguments specified via |
... |
arguments passed to |
Returns the normal envelope simulated probability plot of Pearson residuals and random quantile residuals, respectively.
Rodrigo M. R. Medeiros <rodrigo.matheus@live.com>
Bourguignon, M. and Medeiros, R. (2019). A flexibe, simple and useful regression model for fitting count data. Kleiber, C., & Zeileis, A. (2016). Visualizing count data regressions using rootograms. The American Statistician, 70, 296-303
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.