Displaying 2 results from an estimated 2 matches for "turn2".
Did you mean:
turn
2012 Mar 03
1
Problem running stepAIC within a function.
...$weight)}
else {w <- rep(1/nrow(s1),nrow(s1))}
#do regression
if (opt==1){
fit <-
lm(stepAIC(lm(new~-1+SIC,s1,weights=w),scope=list(upper=~1+SIC+turn+exturn+new+exnew+hand+excise+merch+exmerch+tob+rub+water+turn1+exturn1+new1+exnew1+hand1+excise1+
merch1+exmerch1+tob1+rub1+water1+turn2+exturn2+new2+exnew2+hand2+excise2+merch2+exmerch2+tob2+rub2+water2,lower=~-1+SIC),
direction="both"))
sigdata <-
cbind(new=s1$new,SIC=s1$SIC,s1[,coeffs[which(summary(fit)$coeff[-c(1:128),4]
<= 0.05)]])
finalfit <- lm(new~.-1,data=sigdata,weights=w)
}
else {
fit &...
2011 Mar 22
3
Premature end of script headers
after moving my app to production, I am getting the following error in the
apache error log. I am running on linode with apache and passenger.
any help would be great,
thanks,
Jason
[Tue Mar 22 00:18:04 2011] [error] [client 50.9.211.207] Premature end of
script headers:
[ pid=23638 thr=3063581552 file=ext/apache2/Hooks.cpp:821 time=2011-03-22
00:18:04.735 ]: The backend application (process