Re: [R] why does R stepAIC keep unsignificant variables?

2012-10-09 Thread liang . che
@Americas-US Cc: r-help@r-project.org Date: 10/08/2012 09:10 PM Subject:Re: [R] why does R stepAIC keep unsignificant variables? On Oct 8, 2012, at 5:43 PM, liang@us.pwc.com wrote: Ran a bunch of variables in R and the final result of StepAIC is as below: Why are the first 5

Re: [R] why does R stepAIC keep unsignificant variables?

2012-10-09 Thread S Ellison
Why are the first 5 variables kept in the stepwise result?? I don't know, for your data set. However, AIC is in my limited experience less likely to reject a term than rejection based on p-value at 95% confidence. It's not the same criterion, so there's no immediate reason it should give the

[R] why does R stepAIC keep unsignificant variables?

2012-10-08 Thread liang . che
Ran a bunch of variables in R and the final result of StepAIC is as below: Why are the first 5 variables kept in the stepwise result?? Are the last 4 variables finally chosen after Stepwise? Thanks Coefficients: Estimate Std. Error t value Pr(|t|) (Intercept) 1.315e-01 2.687e-01 0.490

Re: [R] why does R stepAIC keep unsignificant variables?

2012-10-08 Thread David Winsemius
On Oct 8, 2012, at 5:43 PM, liang@us.pwc.com wrote: Ran a bunch of variables in R and the final result of StepAIC is as below: Why are the first 5 variables kept in the stepwise result?? Are the last 4 variables finally chosen after Stepwise? Thanks Coefficients: Estimate Std.