Home » date » 2008 » Dec » 14 »

workshop

*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: Sun, 14 Dec 2008 08:30:42 -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/14/t1229268714gy16ywx136fn6xz.htm/, Retrieved Sun, 14 Dec 2008 16:31:54 +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/14/t1229268714gy16ywx136fn6xz.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 «
2074 2049 2406 2558 2251 2059 2397 1747 1707 2319 1631 1627 1791 2034 1997 2169 2028 2253 2218 1855 2187 1852 1570 1851 1954 1828 2251 2277 2085 2282 2266 1878 2267 2069 1746 2299 2360 2214 2825 2355 2333 3016 2155 2172 2150 2533 2058 2160 2259 2498 2695 2799 2945 2930 2318 2540 2570 2669 2450 2842
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.409202-3.14310.001308
2-0.199076-1.52910.065788
30.3909293.00280.00196
4-0.161997-1.24430.109151
5-0.238342-1.83070.036095
60.2283631.75410.042304
7-0.191392-1.47010.073422
8-0.07119-0.54680.293281
90.2159431.65870.051243
10-0.22059-1.69440.047732
110.0868660.66720.253612
120.3311382.54350.006807
13-0.335737-2.57880.006213
140.1047140.80430.21222
150.2423181.86130.033844
16-0.307904-2.36510.010667
170.0076360.05870.476712
180.1691311.29910.099478
19-0.285891-2.1960.016019
200.0363080.27890.390653
210.2239951.72050.045288
22-0.271355-2.08430.020735
230.1791481.37610.087002
240.1282350.9850.164324
25-0.162222-1.2460.108836
260.0901470.69240.245691
270.0662680.5090.306319
28-0.205461-1.57820.059936
290.1120130.86040.196528
30-0.018808-0.14450.442813
31-0.250705-1.92570.029483
320.2848722.18810.016316
33-0.048915-0.37570.354234
34-0.135018-1.03710.151962
350.1602791.23110.11158
360.0684450.52570.30052
37-0.099623-0.76520.223595
380.0118830.09130.46379
390.0888990.68280.248688
40-0.101148-0.77690.220152
41-0.03463-0.2660.395585
420.0140870.10820.4571
430.0011190.00860.496587
440.0409210.31430.377194
45-0.107636-0.82680.205851
460.0374610.28770.387277
470.0703840.54060.2954
48-0.01636-0.12570.450213
49-0.02707-0.20790.418001
500.0601060.46170.323004
51-0.001605-0.01230.495102
52-0.083818-0.64380.261095
530.0378190.29050.386229
540.0010030.00770.496939
55-0.019534-0.150.440621
56-0.004767-0.03660.485457
570.0218210.16760.433731
58-0.002259-0.01740.493108
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.409202-3.14310.001308
2-0.440238-3.38150.000642
30.139241.06950.144595
40.0457410.35130.363293
5-0.213236-1.63790.053383
6-0.131802-1.01240.157743
7-0.310906-2.38810.010077
8-0.229277-1.76110.0417
9-0.051746-0.39750.34623
10-0.253274-1.94540.028246
11-0.13297-1.02140.155626
120.2193481.68480.048651
13-0.019433-0.14930.440926
140.0253250.19450.423218
150.0763590.58650.27988
160.0209320.16080.436406
170.0407710.31320.377629
180.0351080.26970.394178
19-0.068449-0.52580.300512
20-0.094471-0.72560.235463
210.0981510.75390.226949
22-0.020585-0.15810.437452
230.0465650.35770.360933
240.0001078e-040.499673
250.1121160.86120.196313
260.0180930.1390.44497
27-0.043399-0.33340.370024
28-0.049672-0.38150.352088
290.006620.05080.47981
30-0.011728-0.09010.464261
31-0.181171-1.39160.084634
320.038760.29770.383482
33-0.019557-0.15020.440552
340.1151570.88450.189999
35-0.144816-1.11230.13525
36-0.073907-0.56770.286199
370.088270.6780.250206
38-0.107386-0.82480.20639
390.0323620.24860.402276
400.0400010.30730.379865
41-0.043017-0.33040.371128
420.0505330.38810.349652
430.1504261.15540.126284
440.0594490.45660.324804
45-0.019535-0.15010.440618
46-0.095281-0.73190.233574
47-0.10937-0.84010.202126
48-0.060026-0.46110.323223
49-0.023893-0.18350.427507
50-0.003939-0.03030.487981
51-0.029473-0.22640.410842
52-0.045631-0.35050.363608
53-0.070713-0.54320.294534
54-0.052597-0.4040.343834
55-0.063904-0.49090.312675
560.0243730.18720.42607
57-0.015109-0.11610.454002
58-0.013988-0.10740.4574
59NANANA
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t1229268714gy16ywx136fn6xz/1k8od1229268636.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t1229268714gy16ywx136fn6xz/1k8od1229268636.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t1229268714gy16ywx136fn6xz/2k03g1229268636.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t1229268714gy16ywx136fn6xz/2k03g1229268636.ps (open in new window)


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