Home
»
date
»
2009
»
Oct
»
28
»
Workshop 4
*The author of this computation has been verified*
R Software Module:
rwasp_edabi.wasp
(opens new window with default values)
Title produced by software: Bivariate Explorative Data Analysis
Date of computation: Wed, 28 Oct 2009 14:12:07 -0600
Cite this page as follows:
Statistical Computations at FreeStatistics.org
, Office for Research Development and Education, URL
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f.htm/
, Retrieved Thu, 23 May 2013 22:56:13 +0000
Original text written by user:
IsPrivate?
No (this computation is public)
User-defined keywords:
System-generated keywords (parent):
t11995770459lp663o7ht2jxj1 (pk = 7782)
Estimated Impact
36
Dataseries X:
»
Textfile
« »
CSV
« »
Stem and Leaf
« »
Histogram
« »
Kernel Density
« »
Harrell-Davis Quantiles
« »
Central Tendency
« »
Variability
«
87.1 110.5 110.8 104.2 88.9 89.8 90 93.9 91.3 87.8 99.7 73.5 79.2 96.9 95.2 95.6 89.7 92.8 88 101.1 92.7 95.8 103.8 81.8 87.1 105.9 108.1 102.6 93.7 103.5 100.6 113.3 102.4 102.1 106.9 87.3 93.1 109.1 120.3 104.9 92.6 109.8 111.4 117.9 121.6 117.8 124.2 106.8 102.7 116.8 113.6 96.1 85 83.2 84.9 83 79.6 83.2 83.8 82.8 71.4
Dataseries Y:
»
Textfile
« »
CSV
« »
Stem and Leaf
« »
Histogram
« »
Kernel Density
« »
Harrell-Davis Quantiles
« »
Central Tendency
« »
Variability
«
122.6 115.4 109 129.1 102.8 96.2 127.7 128.9 126.5 119.8 113.2 114.1 134.1 130 121.8 132.1 105.3 103 117.1 126.3 138.1 119.5 138 135.5 178.6 162.2 176.9 204.9 132.2 142.5 164.3 174.9 175.4 143 158.7 155.4 176.6 163.3 178.9 182.7 158.9 115.5 169.4 168 159.8 129 157.9 169.5 169.1 183.6 168.9 186.2 227.1 126.4 169.3 175 133.9 110.1 104.3 108.7 112.6
Output produced by software:
Summary of computational transaction
Raw Input
view raw input (R code)
Raw Output
view raw output of R engine
Computing time
2 seconds
R Server
'Gwilym Jenkins' @ 72.249.127.135
Model: Y[t] = c + b X[t] + e[t]
c
61.1818777463889
b
0.848467938121139
Descriptive Statistics about e[t]
# observations
61
minimum
-46.1921252902111
Q1
-20.1560254555213
median
-5.37441019806761
mean
1.37176813624087e-15
Q3
17.7017464622735
maximum
93.7983475133143
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/19qxr1256760724.png (
opens in new window
)
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/19qxr1256760724.ps (
opens in new window
)
Click here to open pdf file.
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/2877v1256760724.png (
opens in new window
)
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/2877v1256760724.ps (
opens in new window
)
Click here to open pdf file.
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/30ggr1256760724.png (
opens in new window
)
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/30ggr1256760724.ps (
opens in new window
)
Click here to open pdf file.
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/4gr8w1256760724.png (
opens in new window
)
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/4gr8w1256760724.ps (
opens in new window
)
Click here to open pdf file.
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/5jbzh1256760724.png (
opens in new window
)
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/5jbzh1256760724.ps (
opens in new window
)
Click here to open pdf file.
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/6v8rb1256760724.png (
opens in new window
)
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/6v8rb1256760724.ps (
opens in new window
)
Click here to open pdf file.
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/7bpjs1256760724.png (
opens in new window
)
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/7bpjs1256760724.ps (
opens in new window
)
Click here to open pdf file.
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/819a51256760724.png (
opens in new window
)
http://www.freestatistics.org/blog/date/2009/Oct/28/t12567607914hhojhi9dd47k9f/819a51256760724.ps (
opens in new window
)
Click here to open pdf file.
Parameters (Session):
par1 = 0 ; par2 = 0 ;
Parameters (R input):
par1 = 0 ; par2 = 0 ;
R code (references can be found in the
software module
):
par1 <- as.numeric(par1) par2 <- as.numeric(par2) x <- as.ts(x) y <- as.ts(y) mylm <- lm(y~x) cbind(mylm$resid) library(lattice) bitmap(file='pic1.png') plot(y,type='l',main='Run Sequence Plot of Y[t]',xlab='time or index',ylab='value') grid() dev.off() bitmap(file='pic1a.png') plot(x,type='l',main='Run Sequence Plot of X[t]',xlab='time or index',ylab='value') grid() dev.off() bitmap(file='pic1b.png') plot(x,y,main='Scatter Plot',xlab='X[t]',ylab='Y[t]') grid() dev.off() bitmap(file='pic1c.png') plot(mylm$resid,type='l',main='Run Sequence Plot of e[t]',xlab='time or index',ylab='value') grid() dev.off() bitmap(file='pic2.png') hist(mylm$resid,main='Histogram of e[t]') dev.off() bitmap(file='pic3.png') if (par1 > 0) { densityplot(~mylm$resid,col='black',main=paste('Density Plot of e[t] bw = ',par1),bw=par1) } else { densityplot(~mylm$resid,col='black',main='Density Plot of e[t]') } dev.off() bitmap(file='pic4.png') qqnorm(mylm$resid,main='QQ plot of e[t]') qqline(mylm$resid) grid() dev.off() if (par2 > 0) { bitmap(file='pic5.png') acf(mylm$resid,lag.max=par2,main='Residual Autocorrelation Function') grid() dev.off() } summary(x) load(file='createtable') a<-table.start() a<-table.row.start(a) a<-table.element(a,'Model: Y[t] = c + b X[t] + e[t]',2,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'c',1,TRUE) a<-table.element(a,mylm$coeff[[1]]) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'b',1,TRUE) a<-table.element(a,mylm$coeff[[2]]) a<-table.row.end(a) a<-table.end(a) table.save(a,file='mytable.tab') a<-table.start() a<-table.row.start(a) a<-table.element(a,'Descriptive Statistics about e[t]',2,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'# observations',header=TRUE) a<-table.element(a,length(mylm$resid)) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'minimum',header=TRUE) a<-table.element(a,min(mylm$resid)) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'Q1',header=TRUE) a<-table.element(a,quantile(mylm$resid,0.25)) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'median',header=TRUE) a<-table.element(a,median(mylm$resid)) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'mean',header=TRUE) a<-table.element(a,mean(mylm$resid)) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'Q3',header=TRUE) a<-table.element(a,quantile(mylm$resid,0.75)) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'maximum',header=TRUE) a<-table.element(a,max(mylm$resid)) a<-table.row.end(a) a<-table.end(a) table.save(a,file='mytable.tab')