Displaying 2 results from an estimated 2 matches for "laffercurve2".
2009 Jan 31
1
FW: can't get package boot to load
...nd haven't found the root of my problem. Apologies
if I've missed the obvious.
My code is simple:
install.packages('RODBC')
install.packages('boot')
library(RODBC,boot)
setwd("C:/Documents and Settings/Gary Smith/My Documents/Blog/")
data = odbcConnectExcel("LafferCurve2.xls")
mydata = sqlFetch(data,"Data")
n=23
m=73
gnp=mydata[[3]][n:m]
incTaxFirst=mydata[[7]][n:m]
corr(cbind(gnp,incTax))
Here are the console messages:
> install.packages('RODBC')
Warning: package 'RODBC' is in use and will not be installed
> install.packages(...
2009 Jan 31
0
can't get package boot to load
...nd haven't found the root of my problem. Apologies
if I've missed the obvious.
My code is simple:
install.packages('RODBC')
install.packages('boot')
library(RODBC,boot)
setwd("C:/Documents and Settings/Gary Smith/My Documents/Blog/")
data = odbcConnectExcel("LafferCurve2.xls")
mydata = sqlFetch(data,"Data")
n=23
m=73
gnp=mydata[[3]][n:m]
incTaxFirst=mydata[[7]][n:m]
corr(cbind(gnp,incTax))
Here are the console messages:
> install.packages('RODBC')
Warning: package 'RODBC' is in use and will not be installed
> install.packages(...