Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
-8073.991497 -8361.352232 -8064.169708 -8021.760108 -7863.532168 -7780.59986 -8318.35137 -7932.439613 -8024.077152 -7828.308542 -7679.874077 -7749.626449 -7862.944357 -8165.629899 -8127.880115 -7976.35482 -8006.327368 -7969.509892 -8219.577584 -8294.102879 -8537.809836 -8012.988909 -8039.059189 -7918.60676 -8038.67704 -8360.315442 -8020.51938 -7938.856976 -8003.100291 -7776.621274 -7745.644413 -7715.575859 -7953.736106 -7636.418199 -7985.924668 -7977.633349 -8001.135506 -8539.912742 -8336.847638 -7333.285403 -7243.942631 -7198.326506 -7515.394197 -7775.304229 -7480.074565 -7422.529581 -7479.919493 -7894.269164 -8391.882703 -8288.146569 -8039.174021 -7569.078877 -7245.664964 -7293.278503 -7534.486753 -7338.437888 -7787.147432 -8697.766145 -9082.140681 -8610.956432
Data Y:
461.0085031 -442.3522321 13.83029183 -667.7601076 -552.5321684 -692.5998601 -633.3513695 -395.4396126 -430.0771524 -32.30854178 158.1259228 400.3735508 493.0556435 -438.6298993 -19.88011491 -602.3548196 -371.3273681 -424.5098919 -157.5775837 -458.102879 -556.8098356 153.0110907 209.9408113 579.3932397 479.3229603 -649.315442 203.4806202 -780.856976 -201.1002914 23.37872603 -161.6444129 -162.5758586 25.26389388 570.5818013 105.0753323 421.3666506 553.8644943 -1016.912742 -164.8476375 -547.2854028 -107.9426315 -132.3265055 290.6058027 -139.3042291 172.9254352 746.4704192 650.0805075 422.7308358 925.1172975 510.8534308 912.8259792 -81.07887749 363.3350358 298.7214974 -38.48675301 380.5621124 16.85256824 388.2338547 -192.1406809 321.043568
Sample Range:
(leave blank to include all observations)
From:
To:
bandwidth of density plot
(?)
# lags (autocorrelation function)
(?)
36
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Chart options
Label y-axis:
Label x-axis:
R Code
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')
Compute
Summary of computational transaction
Raw Input
view raw input (R code)
Raw Output
view raw output of R engine
Computing time
0 seconds
R Server
Big Analytics Cloud Computing Center
Click here to blog (archive) this computation