orcutt (version 2.3)

predict.orcutt: Predict method for Cochrane-Orcutt Estimation

Description

Predicted values based on orcutt object.

Usage

# S3 method for orcutt
predict(object, ...)

Arguments

object

An "orcutt" object build with Cochrane-Orcutt fuction

further arguments passed to or from other methods.

References

Verbeek M. (2004) A guide to modern econometrics, John Wiley & Sons Ltd

Examples

Run this code
# NOT RUN {
data(icecream, package="orcutt")
lm = lm(cons ~ price + income + temp, data=icecream)
coch = cochrane.orcutt(lm)
predict.coch = predict(coch)
# }

Run the code above in your browser using DataCamp Workspace