View source: R/Check_lm_assumptions.R
check_lm_assumptions | R Documentation |
This function verifies assumptions for various linear regression models, including OLS, WLS, censored, and trunmessageed models.
check_lm_assumptions(
model,
studentize = TRUE,
iterations = 1000,
exact = NULL,
simulate.p.value = FALSE,
B = 2000,
simulate = TRUE
)
model |
Object of class 'lm'. The fitted linear regression model. |
studentize |
Argument of bptest function. Default is TRUE. |
iterations |
Argument of dwtest function. Default is 1000. |
exact |
Argument of ks.test function. Default is NULL. |
simulate.p.value |
Argument of ks.test function. Default is FALSE. |
B |
Argument of ks.test function. Default is 2000. |
simulate |
Argument of durbinWatsonTest function. Default is TRUE. |
A list containing the results of assumption checks.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.