Home » date » 2008 » Dec » 18 »

paper auto D,d 1,1 werk 20

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 18 Dec 2008 07:18:44 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/18/t122961020679cpytgxehvz8m1.htm/, Retrieved Thu, 18 Dec 2008 15:23:29 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2008/Dec/18/t122961020679cpytgxehvz8m1.htm/},
    year = {2008},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
paper auto D,d 1,1 werk 20
 
Dataseries X:
» Textbox « » Textfile « » CSV «
106,2 101,6 99 96,4 94 93,2 103 103,6 103,2 102,2 100 99,6 98,8 95,2 91,6 88,6 86 84,8 95,2 96,2 94 92 90,2 90 88,8 85,8 84,2 80 77,8 76,8 86,4 89,2 86,2 84,6 83,2 83,2 82,6 79,8 77,2 74,8 73 73 83,6 85,6 84,8 84,2 83,4 84,6 84,6 83,8 81,2 79,6 78 78,2 88,8 92 91 91,2 90,4 91,8 92,2 90,2 88,6 87,8 86 87,2 97,6 101,2 100,4 100,2 100,2 103 104,2 104 102,4 101,8 101 102,2 114 118,4 118,8 117,2 117,2 118,4 118,8 117,2 114,4 112,6 111 110,8 120,2 124,4 123,4 121,2 119 119,8 120 118,4 115 113,4 111 111 121,6 126,2 125,8 124,8 122 123,2 124,2 120,8 116,8 114,8 111 109 119,8 124 121,6 118 115,8 116 115,8 114,4 112 110,2 107,4 108,2 117,6 121,4 119,8 115,6 112,6 113,2 112,2 110,8 108 105,2 102,4 101 110,8 116,8 113,8 108 104,4 105,2 105,4 103,2 100,6 97,8 95,8 95 104,8 110,4 106,4 102,2 98,4 98,4 98,6 96,2 92,4 91,4 88,4 87,8 97,6 104,2 100,2 97 92,8 92 93,4 92 89,6 88,6 87,2 86,2 96,8 102 102,6 100,6 94,2 94,2 95,2 95 94 92,2 91 91,2 103,4 105 104,6 103,8 101,8 102,4 103,8 103,4 102 101,8 100,2 101,4 113,8 116 115,6 113 109,4 111 112,4 112,2 111 108,8 107,4 108,6 118,8 122,2 122,6 122,2 118,8 119 118,2 117,8 116,8 114,6 113,4 113,8 124,2 125,8 125,6 122,4 119 119,4 118,6 118 116 114,8 114,6 114,6 124 125,2 124 117,6 113,2 111,4 112,2 109,8 106,4 105,2 102,2 99,8 111 113 108,4 105,4 102 102,8
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.0692421.07040.142749
20.0491760.76020.223929
30.1375312.12620.017257
40.1182741.82850.034362
50.1119781.73110.042359
60.090471.39860.08161
70.0494980.76520.222446
80.0394740.61030.271137
90.1079271.66850.048262
10-0.038917-0.60160.273993
11-0.025012-0.38670.349671
12-0.245314-3.79259.4e-05
130.0514590.79550.213546
140.1160881.79470.036984
15-0.003485-0.05390.478539
16-0.015191-0.23480.407266
17-0.026685-0.41250.340157
180.0983961.52120.064771
190.0003270.00510.497984
200.0941441.45540.073432
210.0857731.3260.093049
220.0314420.48610.313678
230.2352413.63670.000169
24-0.025726-0.39770.3456
25-0.043736-0.67610.249803
26-0.017149-0.26510.395573
270.0754911.16710.122175
280.0227810.35220.362505
290.1249631.93190.027279
30-0.09176-1.41860.078662
31-0.033711-0.52120.301367
320.0700541.0830.139949
33-0.114562-1.77110.038911
34-0.050255-0.77690.218986
35-0.127385-1.96930.025036
36-0.022155-0.34250.366132
370.0480110.74220.229338
380.030980.47890.316211
39-0.205291-3.17370.000851
40-0.09565-1.47870.070268
41-0.016926-0.26170.396903
42-0.039781-0.6150.26957
430.0254960.39420.346905
44-0.136762-2.11430.017763
45-0.04835-0.74750.227758
46-0.010499-0.16230.435597
47-0.018097-0.27980.389945
48-0.084698-1.30940.095828
49-0.110726-1.71180.044116
50-0.0105-0.16230.435595
510.0333320.51530.303408
520.0229230.35440.361685
53-0.182851-2.82680.00255
54-0.021026-0.32510.372711
55-0.059875-0.92560.177784
56-0.036119-0.55840.288553
57-0.048391-0.74810.227564
58-0.045577-0.70460.240872
59-0.068913-1.06540.143893
60-0.031727-0.49050.312121


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0692421.07040.142749
20.0445960.68940.245611
30.1320852.0420.021125
40.1015241.56950.058925
50.0919211.42110.0783
60.0582290.90020.184461
70.0100160.15480.438536
8-0.003467-0.05360.478653
90.069181.06950.142961
10-0.08156-1.26090.104288
11-0.050848-0.78610.216295
12-0.292267-4.51835e-06
130.0642570.99340.160763
140.1360132.10270.018269
150.0714021.10380.135385
160.0330230.51050.30508
17-0.015958-0.24670.402673
180.1131971.750.040703
19-0.006075-0.09390.462628
200.0980461.51580.065452
210.0999391.5450.061832
22-0.063556-0.98260.163411
230.1817432.80970.002685
24-0.201396-3.11350.001037
25-0.049054-0.75840.224492
26-0.052093-0.80530.210713
270.017950.27750.39082
280.0171240.26470.395724
290.0980231.51540.065496
30-0.049575-0.76640.222092
31-0.028107-0.43450.332152
320.0716561.10780.134538
33-0.041313-0.63870.261819
34-0.083036-1.28370.100245
35-0.053943-0.83390.202576
36-0.138168-2.1360.016847
370.0459260.710.239198
380.0560.86570.193751
39-0.140028-2.16480.015698
40-0.055574-0.85920.195558
41-0.01728-0.26710.394793
42-0.009463-0.14630.441909
430.0477420.73810.230596
44-0.074961-1.15890.123833
45-0.029882-0.4620.322265
46-0.07614-1.17710.120165
470.0302070.4670.320469
48-0.023883-0.36920.356144
49-0.071187-1.10050.136105
500.0030850.04770.481
51-0.011594-0.17920.428948
52-0.004417-0.06830.472807
53-0.065211-1.00810.157204
540.0551870.85320.197211
55-0.050381-0.77890.218415
56-0.014461-0.22360.411647
570.0170370.26340.396243
58-0.032896-0.50860.305767
59-0.018232-0.28190.389149
60-0.006013-0.0930.46301
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t122961020679cpytgxehvz8m1/105tn1229609922.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t122961020679cpytgxehvz8m1/105tn1229609922.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t122961020679cpytgxehvz8m1/2f6tc1229609922.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t122961020679cpytgxehvz8m1/2f6tc1229609922.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; 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 2:(par1+1)) {
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(abs(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,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(abs(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:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

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