Displaying 5 results from an estimated 5 matches for "atbat".
Did you mean:
atat
2009 Apr 02
1
calculating drop1 R^2s
...ll
library(car) # for vif/recode
data(Baseball)
# sal87 appears as a factor because missing is coded as '.' rather than NA
Baseball$sal87 <- as.numeric(recode(Baseball$sal87, "'.'=NA"))
Baseball$logsal <- log(Baseball$sal87)
base.mod <- lm(logsal ~ years+atbat+hits+homeruns+runs+rbi+walks,
data=Baseball)
vif(base.mod)
(drop.mod <- drop1(base.mod))
Single term deletions
Model:
logsal ~ years + atbat + hits + homeruns + runs + rbi + walks
Df Sum of Sq RSS AIC
<none> 124.612 -180.447
years 1 0.010 124....
2006 Apr 23
1
Question about bicreg
...65 models were selected
Best 5 models (cumulative posterior probability = 0.2022 ):
p!=0 EV SD model 1 model 2 model
3 model 4 model 5
Intercept 100.0 -5.712e-01 0.6720850 -9.097e-01 -9.099e-01
-1.001e+00 1.610e-01 -1.146e+00
atbats 1.2 -7.598e-05 0.0006955 . . .
. .
hits 7.9 4.280e-04 0.0023605 . . .
. .
homers 2.3 -1.562e-04 0.0011977 . . .
. .
runs 0....
2012 May 25
1
Correlograms: using boxes and different variables on rows and columns
I'm trying to make correlograms using corrgram. See below for a simple
example.
####
library(corrgram)
data(baseball)
vars1 <- c("Assists","Atbat","Errors","Hits","Homer","logSal")
vars2 <- c("Putouts","RBI","Runs","Walks","Years")
corrgram(baseball[,vars2],lower.panel=panel.shade, upper.panel=panel.pie)
####
I am having two problems:
1) I wa...
2010 Aug 19
1
Correlograms and linear regression
Dear all,
I generated a Correlograms and used the panel.ellipse (confidence ellipse
and smoothed line) option. Is there a way to get instead of the smoothed
line the linear regression?
Thanks,
As hz
--
View this message in context: http://r.789695.n4.nabble.com/Correlograms-and-linear-regression-tp2331071p2331071.html
Sent from the R help mailing list archive at Nabble.com.
2010 Dec 17
2
RODBC for 64-bit R with 32-bit Access
Hello Folks,
I do hope this is the correct place to post (and not in R-SIG-DB). I have
spent the better part of a day searching for an answer to this question, and
have yet to resolve it.
I am trying to query an .accdb Access database (with 32-bit Office 2007
currently residing on the machine) with 64-bit R via RODBC. There seem to
be some conflicting accounts as to whether or not this is