RPerform - Performance in Class Data Model Section with all...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Performance in Class Data Model Section with all Subsets > library(leaps) > performance.data <- read.table("/home/rrandles/Desktop/performance.txt", col.names=c("points","att","anote","aprob","aread","arow","astudy","asleep","atv")) > attach(performance.data) > performance.data > subs <- regsubsets(points~.,data=performance.data,nbest=5,method=c("exhaustive")) > summary(subs) Subset selection object Call: regsubsets.formula(points ~ ., data = performance.data, nbest = 5, method = c("exhaustive")) 8 Variables (and intercept) 5 subsets of each size up to 8 Selection Algorithm: exhaustive att anote aprob aread arow astudy asleep atv 1 ( 1 ) "*" " " " " " " " " " " " " " " 1 ( 2 ) " " "*" " " " " " " " " " " " " 1 ( 3 ) " " " " " " " " " " "*" " " " " 1 ( 4 ) " " " " " " " " " " " " " " "*" 1 ( 5 ) " " " " " " " " " " " " "*" " " 2 ( 1 ) "*" " " "*" " " " " " " " " " " 2 ( 2 ) "*" " " " " " " " " " " " " "*" 2 ( 3 ) "*" "*" " " " " " " " " " " " " 2 ( 4 ) "*" " " " " " " " " "*" " " " " 2 ( 5 ) "*" " " " " " " " " " " "*" " " 3 ( 1 ) "*" " " "*" " " " " "*" " " " " 3 ( 2 ) "*" " " "*" " " " " " " " " "*" 3 ( 3 ) "*" "*" " " " " " " " " " " "*" 3 ( 4 ) "*" "*" " " " " " " "*" " " " " 3 ( 5 ) "*" "*" "*" " " " " " " " " " " 4 ( 1 ) "*" " " "*" " " " " "*" " " "*" 4 ( 2 ) "*" "*" " " " " " " "*" " " "*" 4 ( 3 ) "*" "*" "*" " " " " "*" " " " " 4 ( 4 ) "*" " " "*" " " " " "*" "*" " " 4 ( 5 ) "*" " " "*" "*" " " "*" " " " " 5 ( 1 ) "*" "*" "*" " " " " "*" " " "*" 5 ( 2 ) "*" " " "*" "*" " " "*" " " "*" 5 ( 3 ) "*" " " "*" " " " " "*" "*" "*" 5 ( 4 ) "*" " " "*" " " "*" "*" " " "*" 5 ( 5 ) "*" "*" "*" "*" " " "*" " " " " 6 ( 1 ) "*" "*" "*" "*" " " "*" " " "*" 6 ( 2 ) "*" "*" "*" " " " " "*" "*" "*" 6 ( 3 ) "*" "*" "*" " " "*" "*" " " "*" 6 ( 4 ) "*" " " "*" "*" " " "*" "*" "*" 6 ( 5 ) "*" " " "*" "*" "*" "*" " " "*" 7 ( 1 ) "*" "*" "*" "*" " " "*" "*" "*" 7 ( 2 ) "*" "*" "*" "*" "*" "*" " " "*" 7 ( 3 ) "*" "*" "*" " " "*" "*" "*" "*" 7 ( 4 ) "*" " " "*" "*" "*" "*" "*" "*" 7 ( 5 ) "*" "*" "*" "*" "*" "*" "*" " " 8 ( 1 ) "*" "*" "*" "*" "*" "*" "*" "*"
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
> result1 <- with(performance.data,leaps(cbind(att,anote,aprob,aread,arow,astudy,asleep,atv),points,metho d="r2",nbest=5))
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/08/2011 for the course STA 4211 taught by Professor Randles during the Spring '08 term at University of Florida.

Page1 / 5

RPerform - Performance in Class Data Model Section with all...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online