On Tue, 2010-08-17 at 17:12 +0100, Xin__ Li wrote:
> Hi All:
> the package "MuMIn" can be used to select the model based on AIC or AICc.
> The code is as follows:
>
> data(Cement)
> lm1 <- lm(y ~ ., data = Cement)
>
> dd <- dredge(lm1,rank="AIC")
> print(dd)
>
> If I want to select the model by
Xin__ Li mail.wbs.ac.uk> writes:
>
> Hi All:
> the package "MuMIn" can be used to select the model based on AIC or AICc.
> The code is as follows:
>
> data(Cement)
> lm1 <- lm(y ~ ., data = Cement)
>
> dd <- dredge(lm1,rank="AIC")
> print(dd)
>
> If I want to select the model by BIC, what cod
Hi All:
the package "MuMIn" can be used to select the model based on AIC or AICc.
The code is as follows:
data(Cement)
lm1 <- lm(y ~ ., data = Cement)
dd <- dredge(lm1,rank="AIC")
print(dd)
If I want to select the model by BIC, what code do I need to use? And when
to select the best model based
3 matches
Mail list logo