Displaying 1 result from an estimated 1 matches for "modelch".
Did you mean:
modelc
2010 Sep 24
3
bptest
...s like SPSS, SAS etc.
I have a dataset of around 20 columns and 200 rows. I'm trying to fit a
very simple linear model between two variables. Having done so, I want to
test the model for heteroscedasticity using the Breusch-Pagan test.
Apparently this is easy in R by simply doing
bptest(modelCH, data=KP)
I've tried this but I'm told it cannot find function bptest. It's here
where I'm struggling. I'm probably wrong but as far as I can see, bptest
is part of the lm package which, as far as I know, I have installed.
Irrespective of the fact I'm not sure how to...