Home » date » 2008 » Dec » 07 »

paper

*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, 07 Dec 2008 11:25:19 -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/07/t1228674413iebgb3jq5etik4r.htm/, Retrieved Sun, 07 Dec 2008 18:26:57 +0000
 
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/07/t1228674413iebgb3jq5etik4r.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},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1202454.6 1201423.4 1505916 1513377.6 1977605.3 1873829.6 1424049.1 1322740 1584825.5 1680460.3 1648573.7 3095468.7 1307982.9 1367588.9 1572718.3 1611602.9 1641196.4 1845262.4 1464237.6 1402385.7 2077099.8 1691129.6 1729012.7 3347792.1 1365087.7 1545460 1844355.1 1775549.8 1721779.2 2128726.1 1664319.9 1769471.4 1904578.4 1872042.3 1802181 3222199.4 1491414.2 1658519.2 2079206.9 1748767.4 2084447.4 2067181.6 1718122.8 1782337.1 1958118.4 2028681.3 2076128.1 3383873 1870369 1654852.9 2074338.3 1888653.7 1991137.8 2168237.9 1867424.1 1842359.6 1927476.3 2065555.4 2455608.5 3336170.9
 
Output produced by software:


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


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.568941-3.90050.000152
20.0940410.64470.261124
30.0758020.51970.302865
4-0.167888-1.1510.127781
50.070030.48010.31669
6-0.056917-0.39020.349074
70.0948440.65020.259358
8-0.034718-0.2380.406452
9-0.012456-0.08540.466156
10-0.040731-0.27920.390645
110.206061.41270.082169
12-0.203116-1.39250.085163
130.0438890.30090.382414
140.0169890.11650.453889
15-0.060274-0.41320.340663
16-0.006257-0.04290.482984
170.0132790.0910.463926
180.1563981.07220.14455
19-0.227242-1.55790.062984
200.2255251.54610.064392
21-0.128178-0.87870.192006
220.0253620.17390.431357
23-0.000439-0.0030.498805
24-0.1201-0.82340.20723
250.2016331.38230.086703
26-0.172855-1.1850.120981
270.0635630.43580.332501
280.1117120.76590.223796
29-0.044926-0.3080.379722
30-0.115941-0.79490.215347
310.1150370.78870.217137
32-0.124059-0.85050.199677
330.0851620.58380.281058
34-0.021643-0.14840.44134
350.0335850.23020.409449
360.0087920.06030.476097
37-0.106185-0.7280.235123
380.1317580.90330.185489
39-0.07064-0.48430.315216
400.0281970.19330.423776
410.0218020.14950.440912
42-0.109167-0.74840.228971
430.0722480.49530.311345
44-0.017191-0.11790.453342
450.024880.17060.432647
46-0.010725-0.07350.47085
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.568941-3.90050.000152
2-0.339571-2.3280.012134
3-0.076416-0.52390.301411
4-0.192013-1.31640.097216
5-0.203571-1.39560.084695
6-0.260712-1.78740.040165
7-0.103743-0.71120.24023
8-0.061109-0.41890.338584
9-0.088846-0.60910.272696
10-0.231134-1.58460.059885
110.1467911.00640.1597
120.1010310.69260.245973
13-0.006578-0.04510.48211
14-0.082126-0.5630.288046
15-0.035473-0.24320.404458
16-0.126809-0.86940.194535
17-0.194139-1.33090.094814
180.0267310.18330.427692
19-0.152933-1.04850.149896
200.0484750.33230.370561
210.0320670.21980.413475
220.0421680.28910.386892
230.0615490.4220.33749
24-0.101532-0.69610.244908
250.0451230.30930.379212
26-0.009872-0.06770.473163
27-0.077756-0.53310.29825
280.0404970.27760.391256
290.1523081.04420.150873
300.0211130.14470.442766
31-0.049487-0.33930.36796
32-0.129324-0.88660.189905
330.0267920.18370.427529
340.037690.25840.398617
350.0995750.68270.249089
36-0.015225-0.10440.458656
37-0.042806-0.29350.385229
38-0.009242-0.06340.474874
39-0.035767-0.24520.403681
40-0.056609-0.38810.349849
410.1317440.90320.185515
42-0.027779-0.19040.424891
43-0.081208-0.55670.290174
440.0223540.15330.439428
45-0.016195-0.1110.456033
46-0.153026-1.04910.14975
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228674413iebgb3jq5etik4r/1zb981228674314.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228674413iebgb3jq5etik4r/1zb981228674314.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228674413iebgb3jq5etik4r/2wgfz1228674314.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228674413iebgb3jq5etik4r/2wgfz1228674314.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