Home » date » 2007 » Dec » 14 » attachments

Time series

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 14 Dec 2007 03:19:58 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2007/Dec/14/t11976266542bxgad5g794ylio.htm/, Retrieved Fri, 14 Dec 2007 11:04:16 +0100
 
User-defined keywords:
s0650550 s0650062
 
Dataseries X:
» Textbox « » Textfile « » CSV «
263418000000 262752000000 266433000000 267722000000 266003000000 262971000000 265521000000 264676000000 270223000000 269508000000 268457000000 265814000000 266680000000 263018000000 269285000000 269829000000 270911000000 266844000000 271244000000 269907000000 271296000000 270157000000 271322000000 267179000000 264101000000 265518000000 269419000000 268714000000 272482000000 268351000000 268175000000 270674000000 272764000000 272599000000 270333000000 270846000000 270491000000 269160000000 274027000000 273784000000 276663000000 274525000000 271344000000 271115000000 270798000000 273911000000 273985000000 271917000000 273338000000 270601000000 273547000000 275363000000 281229000000 277793000000 279913000000 282500000000 280041000000 282166000000 290304000000 283519000000
 
Text written by user:
 
Output produced by software:


Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
017.7460
10.7935266.14660
20.622934.82525e-06
30.5234294.05457.3e-05
40.4961183.84290.000148
50.4361643.37850.000643
60.4300523.33120.000742
70.3361772.6040.005798
80.2178691.68760.04834
90.149031.15440.126461
100.1988721.54050.064354
110.2115941.6390.053223
120.2638282.04360.022695
130.2233571.73010.044375
140.1426851.10520.136736
150.0698110.54080.295339
160.0934250.72370.236042
170.1455761.12760.131984
180.1684541.30480.098465
190.1478191.1450.128378
200.1012680.78440.21794
210.0111830.08660.46563
220.009060.07020.472143
230.0397660.3080.379566
240.0519750.40260.344338
250.0016480.01280.494929
26-0.042172-0.32670.627471
27-0.122045-0.94540.825865
28-0.176504-1.36720.911667
29-0.154858-1.19950.88248
30-0.120025-0.92970.821877
31-0.155428-1.20390.883329
32-0.174628-1.35270.90938
33-0.210805-1.63290.946135
34-0.21839-1.69160.952049
35-0.191239-1.48130.928124
36-0.107281-0.8310.795364
37-0.102979-0.79770.785897
38-0.142742-1.10570.86336
39-0.179013-1.38660.914657
40-0.190342-1.47440.927196
41-0.207643-1.60840.943501
42-0.186278-1.44290.922875
43-0.175386-1.35850.91031
44-0.208416-1.61440.944154
45-0.274936-2.12960.981344
46-0.269504-2.08760.979454
47-0.248376-1.92390.970444
48-0.232204-1.79860.961448
49-0.21101-1.63450.946302
50-0.238638-1.84850.965269
51-0.286414-2.21860.984844
52-0.303216-2.34870.988925
53-0.27739-2.14870.982146
54-0.249712-1.93430.9711
55-0.194481-1.50640.931399
56-0.166256-1.28780.898621
57-0.171641-1.32950.905646
58-0.141901-1.09920.861955
59-0.053764-0.41650.660719


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.7935266.14660
1-0.018239-0.14130.555938
20.0933970.72350.236106
30.1541131.19380.118636
4-0.054863-0.4250.66381
50.1643931.27340.103897
6-0.211456-1.63790.946665
7-0.121973-0.94480.825725
80.0423080.32770.372134
90.1853161.43540.078176
100.0034750.02690.489308
110.1987581.53960.064461
12-0.154274-1.1950.881606
13-0.116198-0.90010.814158
14-0.021809-0.16890.56679
150.0002760.00210.499152
160.1564151.21160.115211
17-0.005796-0.04490.517829
180.0335710.260.397862
19-0.034571-0.26780.605109
20-0.165531-1.28220.897648
210.0176610.13680.445824
22-0.012649-0.0980.538863
23-0.038406-0.29750.61644
240.0009960.00770.496935
250.0264610.2050.419147
26-0.14002-1.08460.858779
27-0.071844-0.55650.710032
28-0.009508-0.07370.529234
29-0.042222-0.3270.627615
30-0.000563-0.00440.501731
310.0626830.48550.314532
32-0.035307-0.27350.60729
330.0139790.10830.457067
34-0.008719-0.06750.526811
350.0386410.29930.382869
36-0.058053-0.44970.672718
37-0.05057-0.39170.65167
38-0.008551-0.06620.526295
39-0.016217-0.12560.549774
40-0.06337-0.49090.687343
41-0.040716-0.31540.623219
420.0258520.20030.420981
43-0.063906-0.4950.6888
44-0.036129-0.27990.609724
450.0403480.31250.37786
460.0024170.01870.492561
47-0.065412-0.50670.692881
480.0050090.03880.48459
49-0.130084-1.00760.841161
500.0159010.12320.451194
51-0.038634-0.29930.61711
52-0.019123-0.14810.558631
530.0427420.33110.370869
540.1061580.82230.207083
55-0.043167-0.33440.630368
560.0495120.38350.351345
570.0796280.61680.269851
580.0398460.30860.379329
59NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/14/t11976266542bxgad5g794ylio/1i9z31197627596.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/14/t11976266542bxgad5g794ylio/1i9z31197627596.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/14/t11976266542bxgad5g794ylio/2n92n1197627596.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/14/t11976266542bxgad5g794ylio/2n92n1197627596.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
R code (references can be found in the software module):
if (par1 == 'Default') {
par1 = 10*log10(length(x))
} else {
par1 <- as.numeric(par1)
}
par2 <- as.numeric(par2)
par3 <- as.numeric(par3)
par4 <- as.numeric(par4)
par5 <- as.numeric(par5)
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='pic1.png')
racf <- acf(x,par1,main='Autocorrelation',xlab='lags',ylab='ACF')
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF')
dev.off()
(myacf <- c(racf$acf))
(mypacf <- c(rpacf$acf))
lengthx <- length(x)
sqrtn <- sqrt(lengthx)
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Autocorrelation Function',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Time lag k',header=TRUE)
a<-table.element(a,hyperlink('http://www.xycoon.com/basics.htm','ACF(k)','click here for more information about the Autocorrelation Function'),header=TRUE)
a<-table.element(a,'T-STAT',header=TRUE)
a<-table.element(a,'P-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:par1) {
a<-table.row.start(a)
a<-table.element(a,i-1,header=TRUE)
a<-table.element(a,round(myacf[i],6))
mytstat <- myacf[i]*sqrtn
a<-table.element(a,round(mytstat,4))
a<-table.element(a,round(1-pt(mytstat,lengthx),6))
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,'Partial Autocorrelation Function',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Time lag k',header=TRUE)
a<-table.element(a,hyperlink('http://www.xycoon.com/basics.htm','PACF(k)','click here for more information about the Partial Autocorrelation Function'),header=TRUE)
a<-table.element(a,'T-STAT',header=TRUE)
a<-table.element(a,'P-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:par1) {
a<-table.row.start(a)
a<-table.element(a,i-1,header=TRUE)
a<-table.element(a,round(mypacf[i],6))
mytstat <- mypacf[i]*sqrtn
a<-table.element(a,round(mytstat,4))
a<-table.element(a,round(1-pt(mytstat,lengthx),6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by