Home » date » 2011 » Apr » 07 »

Australian sparkling wine

*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, 07 Apr 2011 07:55:03 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/Apr/07/t13021631047ysdi0eray3kp61.htm/, Retrieved Thu, 07 Apr 2011 09:58:27 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W12
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1686 1591 2304 1712 1471 1377 1966 2453 1984 2596 4087 5179 1530 1523 1633 1976 1170 1480 1781 2472 1981 2273 3857 4551 1510 1329 1518 1790 1537 1449 1954 1897 1706 2514 3593 4524 1609 1638 2030 1375 1320 1245 1600 2298 2191 2511 3440 4923 1609 1435 2061 1789 1567 1404 1597 3159 1759 2504 4273 5274 1771 1682 1846 1589 1896 1379 1645 2512 1771 3727 4388 5434 1606 1523 1577 1605 1765 1403 2584 3318 1562 2349 3987 5891 1389 1442 1548 1935 1518 1250 1847 1930 2638 3114 4405 7242 1853 1779 2108 2336 1728 1661 2230 1645 2421 3740 4988 6757 1757 1394 1982 1650 1654 1406 1971 1968 2608 3845 4514 6694 1720 1321 1859 1628 1615 1457 1899 1605 2424 3116 4286 6047 1902 2049 1874 1279 1432 1540 2214 1857 2408 3252 3627 6153 1577 1667 1993 1997 1783 1625 2076 1773 2377 3088 4096 6119 1494 1564 1898 2121 1831 1515 2048 2795 1749 3339 4227 6410 1197 1968 1720 etc...
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Herman Ole Andreas Wold' @ www.yougetit.org


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3668285.01631e-06
20.0194030.26530.395523
3-0.121173-1.6570.049597
4-0.161524-2.20880.014201
5-0.275363-3.76550.000111
6-0.403815-5.52210
7-0.273758-3.74360.000121
8-0.16446-2.2490.012841
9-0.112242-1.53490.063251
100.0229570.31390.376961
110.3440064.70422e-06
120.89226412.20150
130.3413734.66823e-06
140.0177410.24260.404291
15-0.12309-1.68320.047
16-0.143776-1.96610.025383
17-0.257546-3.52190.000269
18-0.381532-5.21740
19-0.260054-3.55620.000238
20-0.15938-2.17950.015273
21-0.113311-1.54950.061475
220.0169230.23140.408622
230.3230434.41758e-06
240.82689311.30760
250.3162414.32451.2e-05
260.0157980.2160.414596
27-0.108952-1.48990.068968
28-0.136182-1.86230.032068
29-0.246048-3.36470.000465
30-0.365339-4.99591e-06
31-0.250187-3.42130.000383
32-0.159149-2.17630.015392
33-0.102874-1.40680.080576
340.0128140.17520.430545
350.2993084.0933.2e-05
360.76780410.49960
370.2994174.09453.1e-05
380.0109070.14910.440799
39-0.108497-1.48370.069789
40-0.119939-1.64010.051329
41-0.228344-3.12260.001039
42-0.34215-4.67883e-06
43-0.236603-3.23550.000718
44-0.152535-2.08590.019173
45-0.10025-1.37090.086026
460.0135470.18520.426618
470.2767853.7850.000103
480.7106739.71830
490.2829743.86967.5e-05
500.0068330.09340.462828
51-0.10672-1.45940.07307
52-0.117784-1.61070.054469
53-0.224266-3.06680.001242
54-0.315073-4.30861.3e-05
55-0.211822-2.89660.002111
56-0.148455-2.03010.021882
57-0.101338-1.38580.083734
580.0019420.02660.489419
590.2501613.42090.000383
600.644718.81630


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3668285.01631e-06
2-0.133065-1.81960.035207
3-0.094606-1.29370.09868
4-0.0904-1.23620.108966
5-0.227063-3.1050.001099
6-0.310437-4.24521.7e-05
7-0.123853-1.69370.045997
8-0.208876-2.85630.002385
9-0.264504-3.6170.000192
10-0.165132-2.25810.012546
110.1277231.74660.041175
120.82208511.24180
13-0.201251-2.75210.003253
140.028670.39210.347731
15-0.012156-0.16620.434075
160.0566150.77420.219895
170.038930.53240.297556
180.0526170.71950.236356
190.0159660.21830.413706
200.0116550.15940.436771
21-0.059627-0.81540.207943
22-0.014093-0.19270.423695
230.0186840.25550.399308
240.1530382.09280.01886
25-0.083955-1.14810.126204
260.0203490.27830.390556
270.0582310.79630.213436
28-0.070184-0.95980.169208
290.0093060.12730.449439
30-0.006193-0.08470.4663
31-0.00377-0.05160.479468
32-0.018714-0.25590.399149
330.0473180.64710.25919
34-0.04166-0.56970.284784
35-0.018507-0.25310.40024
360.0289280.39560.34643
370.0005670.00770.496912
38-0.032396-0.4430.329135
39-0.022684-0.31020.378379
400.0345320.47220.318661
410.0097320.13310.447133
420.0259350.35470.361624
43-0.010851-0.14840.441101
440.0183410.25080.401117
45-0.030195-0.41290.340075
460.0359520.49160.311778
47-0.027763-0.37970.352315
480.031350.42870.334317
49-0.006286-0.0860.465797
50-0.011614-0.15880.436989
51-0.01452-0.19860.421413
52-0.044631-0.61030.271195
53-0.057277-0.78330.217234
540.0629390.86070.195258
550.040190.54960.291626
56-0.0521-0.71250.238536
57-0.029651-0.40550.342795
58-0.059625-0.81540.207952
59-0.02605-0.35620.361035
60-0.086266-1.17970.119815
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/Apr/07/t13021631047ysdi0eray3kp61/1jdxk1302162902.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/07/t13021631047ysdi0eray3kp61/1jdxk1302162902.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Apr/07/t13021631047ysdi0eray3kp61/224rt1302162902.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/07/t13021631047ysdi0eray3kp61/224rt1302162902.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Apr/07/t13021631047ysdi0eray3kp61/39as31302162902.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/07/t13021631047ysdi0eray3kp61/39as31302162902.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
if (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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