Learn R Programming

EcoMetrics (version 0.1.1)

autocorrelation_assumption: Check model for residual independence

Description

Checks model for independence of residuals

Usage

autocorrelation_assumption(model)

Value

returns the p-value for the test

Arguments

model

A lm object

Author

Mutua Kilai

Examples

Run this code
model <- lm(pi ~ hs + ps, data = eduperform)
autocorrelation_assumption(model)

Run the code above in your browser using DataLab