search for: 67x3795

Displaying 1 result from an estimated 1 matches for "67x3795".

Did you mean: 675795
2007 Aug 02
2
lasso/lars error
...05 - unfortunately the post was never answered: http://tolstoy.newcastle.edu.au/R/help/05/10/15055.html When running: lm2=lars(x2,y,type="lasso",use.Gram=F) I get an error: Error in if (zmin < gamhat) { : missing value where TRUE/FALSE needed ...when running lasso via lars() on a 67x3795 set of predictors. I hacked the lars() function to print out the zmin, gamhat, and also z1 values (used to calculate zmin) - it seems that the error comes up during the lasso process when all the z1's are negative - unfortunately I have no idea what this means. This leads to both zmin and gamh...