Home » date » 2008 » Dec » 22 »

*The author of this computation has been verified*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 22 Dec 2008 01:38:52 -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/22/t1229942090jdz0akzwk3493st.htm/, Retrieved Mon, 22 Dec 2008 11:34:52 +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/22/t1229942090jdz0akzwk3493st.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
3999 4864 5134 5410 4669 3546 5040 4850 4808 4441 4227 3620 3153 3936 4159 4209 4282 3174 4686 4131 4486 4625 3971 3397 3228 3441 3832 5267 3580 2617 3874 3431 4023 4151 3180 2916 2640 2700 3603 4348 3322 2312 3472 3592 3481 3451 2725 2574 2429 3160 3371 3448 3229 1986 2955 3000 8255 4191 3520 2497
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.207591.6080.056544
20.035410.27430.392403
3-0.100439-0.7780.219813
40.0659190.51060.30575
50.1613761.250.108074
60.1819821.40960.081906
70.1015570.78670.21729
8-0.033525-0.25970.397999
9-0.051962-0.40250.344374
10-0.053204-0.41210.340861
110.0780420.60450.273891
120.1778321.37750.08674
130.0864640.66970.252793
140.0059030.04570.481841
15-0.092287-0.71490.238735
16-0.033434-0.2590.398269
170.1316051.01940.156051
180.0887630.68760.247192
19-0.022474-0.17410.431195
20-0.100009-0.77470.220789
21-0.105315-0.81580.20893
22-0.103034-0.79810.213981
230.0315030.2440.404022
240.0931350.72140.236726
25-0.020126-0.15590.438321
26-0.057261-0.44350.329485
27-0.180451-1.39780.083664
28-0.119788-0.92790.178595
290.1055920.81790.208323
30-0.012843-0.09950.460544
31-0.08119-0.62890.265902
32-0.149628-1.1590.125521
33-0.143246-1.10960.135804
34-0.100077-0.77520.220636
35-0.00223-0.01730.493138
360.0369720.28640.387784
37-0.032672-0.25310.400538
38-0.01186-0.09190.463554
39-0.152323-1.17990.12135
40-0.061758-0.47840.317061
41-0.038054-0.29480.384594
42-0.023875-0.18490.426951
43-0.06818-0.52810.299681
44-0.151422-1.17290.122734
45-0.135211-1.04730.149571
46-0.06978-0.54050.295421
47-0.025574-0.19810.42182
480.03610.27960.390363
490.0321710.24920.402032
500.0455370.35270.362763
51-0.10299-0.79780.214078
52-0.004048-0.03140.487545
530.1091220.84530.200663
540.1147340.88870.18885
550.0742550.57520.283662
56-0.019598-0.15180.439924
57-0.024599-0.19050.424764
58-0.015704-0.12160.451795
59-0.001391-0.01080.495718
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.207591.6080.056544
2-0.008029-0.06220.475307
3-0.110971-0.85960.196721
40.1157020.89620.186857
50.1382531.07090.144252
60.110740.85780.197211
70.0580910.450.327177
8-0.049548-0.38380.351242
9-0.033374-0.25850.398449
10-0.064075-0.49630.31074
110.0474490.36750.357256
120.1310411.0150.157082
130.0140930.10920.456719
140.0158620.12290.451313
15-0.053057-0.4110.341276
16-0.021763-0.16860.433348
170.1084370.83990.202136
18-0.029816-0.2310.409067
19-0.078327-0.60670.273163
20-0.044288-0.34310.366378
21-0.058139-0.45030.327044
22-0.089651-0.69440.245045
230.0270260.20930.417446
240.0651080.50430.307941
25-0.049589-0.38410.351126
260.0096460.07470.470344
27-0.099794-0.7730.221277
28-0.082408-0.63830.262845
290.1221860.94640.173859
30-0.126861-0.98270.16486
31-0.078482-0.60790.272769
32-0.007745-0.060.476181
33-0.063164-0.48930.313219
34-0.042469-0.3290.371664
350.0058350.04520.482049
360.0425240.32940.371505
37-0.008999-0.06970.472329
380.0675810.52350.301285
39-0.058484-0.4530.326087
40-0.025279-0.19580.422711
41-0.070719-0.54780.292935
42-0.067927-0.52620.300357
43-0.064403-0.49890.309851
44-0.069226-0.53620.296894
45-0.013517-0.10470.458482
46-0.024835-0.19240.42405
47-0.034194-0.26490.396011
480.0978350.75780.225761
490.0446620.34590.365296
500.0732140.56710.286376
51-0.037966-0.29410.384854
52-0.007911-0.06130.475669
530.0857650.66430.254511
540.0272670.21120.416719
55-0.003137-0.02430.490349
560.0457380.35430.362182
570.0355230.27520.392069
58-0.046577-0.36080.359763
59-0.055128-0.4270.335447
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229942090jdz0akzwk3493st/1r6ve1229935130.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229942090jdz0akzwk3493st/1r6ve1229935130.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229942090jdz0akzwk3493st/271m51229935130.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229942090jdz0akzwk3493st/271m51229935130.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 2.0 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 60 ; par2 = 2.0 ; 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 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