search for: ldxx

Displaying 1 result from an estimated 1 matches for "ldxx".

Did you mean: fdxx
2012 Oct 16
2
gam (mgcv) problem: Error in while (mean(ldxx/(ldxx + ldss)) > 0.4) { :, missing value where TRUE/FALSE needed
...39;m running into a problem with GAM (in the MGCV package). When I try to estimate the model, I get the following error message: 1> fit <- gam(ndvi~s(rain)+s(temp)+s(rainl1)+s(rainl2)+s(rainxY)+s(rainl1xY)+s(rainl2xY)+s(tempxY), data=dsub, weights=wvec) Error in while (mean(ldxx/(ldxx + ldss)) > 0.4) { : missing value where TRUE/FALSE needed Using traceback, I get the following output (which I don't understand) 1> traceback() 7: initial.sp(w * X, S, off) 6: initial.spg(G$X, G$y, G$w, G$family, G$S, G$off, G$L, G$lsp0) 5: estimate.gam(G, method, optimizer...