meechua_print: Plot models from 'meechua_reg'

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

This functions plots all 4 diagnostics for the each lienar regression model: "Residuals vs Fitted", "Normal Q-Q", "Scale-Location" and "Residuals vs Leverage".

Usage

1

Arguments

x

List containing the estimated linear models frommeechua_reg. It is stored as models.

Details

For each model from models 4 diagnostic plots are performed. For the first model the numbers 1 to 4 should be given, for the second model numbers from to 8 and so on.

Value

Diagnostics plots for the set of models from meechua_reg.

Author(s)

Daniela R. Recchia, Thomas Ostermann.

References

Ostermann, T., Willich, Stefan N. & Luedtke, Rainer. (2008). Regression toward the mean - a detection method for unknown population mean based on Mee and Chua's algorithm. BMC Medical Research Methodology.

See Also

plot.lm,meechua_reg

Examples

1
2
3
4
5
6
# models are an output from meechua_reg
replicate_data(language_test,50,60,"Before","After",data=language_test)
mee_chua_sort <- mee_chua[with(mee_chua,order(mu)),]
meechua_reg(mee_chua_sort)

meechua_plot(models)

regtomean documentation built on Jan. 29, 2021, 5:14 p.m.