Skip to content
Prev 244327 / 398506 Next

the output of function lars

Hi here is the code as example
lars is in package lars
[1] "call"       "type"       "df"         "lambda"     "R2"        
 [6] "RSS"        "Cp"         "actions"    "entry"      "Gamrat"    
[11] "arc.length" "Gram"       "beta"       "mu"         "normx"     
[16] "meanx"   

I do not know what does RSS, arc.length, mu mean???
If mu means \hat{miu}, it does not seems to be right. I did not simulate my
data with mean.

besides I caculated R2 by myself but it cannot match the R2here
I think R2=1-sum((y-x%*%lobj$beta)^2)/var(y)*19 #I have 20 observations...my
R2 is lower than the one here

Thanks a lot