Home » date » 2009 » Dec » 24 »

arma

*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: Thu, 24 Dec 2009 10:52:50 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/24/t1261677254q0awlawiu0jab1u.htm/, Retrieved Thu, 24 Dec 2009 18:54:17 +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/2009/Dec/24/t1261677254q0awlawiu0jab1u.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
2058.00 2160.00 2260.00 2498.00 2695.00 2799.00 2947.00 2930.00 2318.00 2540.00 2570.00 2669.00 2450.00 2842.00 3440.00 2678.00 2981.00 2260.00 2844.00 2546.00 2456.00 2295.00 2379.00 2479.00 2057.00 2280.00 2351.00 2276.00 2548.00 2311.00 2201.00 2725.00 2408.00 2139.00 1898.00 2537.00 2069.00 2063.00 2526.00 2440.00 2191.00 2797.00 2074.00 2628.00 2287.00 2146.00 2430.00 2141.00 1827.00 2082.00 1788.00 1743.00 2245.00 1963.00 1828.00 2527.00 2114.00 2424.00
 
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.4093173.11730.00142
20.4341543.30640.000813
30.5101983.88560.000132
40.2290881.74470.043168
50.1751791.33410.093689
60.2095131.59560.058006
70.0338880.25810.398628
80.1597561.21670.11433
90.1311680.99890.160986
100.024590.18730.426049
110.0617580.47030.31994
120.1114620.84890.199723
130.0159390.12140.451903
140.1047370.79770.214162
150.0319930.24360.404181
160.0295940.22540.411236
170.1047920.79810.214043
18-0.035898-0.27340.392761
19-0.097996-0.74630.229245
20-0.037761-0.28760.387346
21-0.026393-0.2010.4207
22-0.072055-0.54880.29264
23-0.071728-0.54630.29349
240.0489850.37310.355231
250.0280060.21330.415926
26-0.01123-0.08550.466068
270.0077560.05910.476551
28-0.077658-0.59140.278267
29-0.060612-0.46160.323046
30-0.091599-0.69760.244108
31-0.165025-1.25680.106933
32-0.116125-0.88440.190071
33-0.131436-1.0010.160495
34-0.136769-1.04160.15096
35-0.221999-1.69070.048132
36-0.17712-1.34890.091305
37-0.188558-1.4360.078185
38-0.230959-1.75890.041932
39-0.159134-1.21190.115228
40-0.208165-1.58530.059164
41-0.179742-1.36890.088159
42-0.150839-1.14880.127686
43-0.188894-1.43860.077823
44-0.199506-1.51940.067049
45-0.16457-1.25330.107558
46-0.127376-0.97010.168021
47-0.123408-0.93980.175597
48-0.037694-0.28710.387541
49-0.02485-0.18920.425279
500.0193520.14740.441671
510.0350090.26660.395354
520.0234320.17850.429494
530.0399380.30420.381047
540.0347110.26440.396223
55-0.003489-0.02660.489448
560.0092280.07030.472107
57-0.004956-0.03770.485012
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4093173.11730.00142
20.3202732.43910.008902
30.3457682.63330.005411
4-0.144692-1.10190.13752
5-0.166039-1.26450.105552
60.0117910.08980.46438
7-0.049231-0.37490.35454
80.2039011.55290.062948
90.0674420.51360.304734
10-0.085196-0.64880.259503
11-0.138767-1.05680.147488
120.0729950.55590.290203
130.0664290.50590.307419
140.1245130.94830.173464
15-0.095004-0.72350.236131
16-0.080023-0.60940.272308
170.0440560.33550.369221
18-0.077461-0.58990.278766
19-0.118118-0.89960.186037
20-0.068152-0.5190.302856
210.1985741.51230.067945
220.0770310.58660.279858
23-0.107657-0.81990.207818
240.052170.39730.346298
250.0367620.280.390247
26-0.052077-0.39660.346555
27-0.055679-0.4240.336552
28-0.127183-0.96860.168384
29-0.032465-0.24720.402794
30-0.028822-0.21950.413516
31-0.009767-0.07440.470479
320.0476360.36280.359041
33-0.076901-0.58570.280188
34-0.020101-0.15310.439432
35-0.187651-1.42910.079169
360.0198350.15110.440226
370.0195590.1490.441053
38-0.123548-0.94090.175326
390.0512230.39010.348944
40-0.027561-0.20990.417243
41-0.064689-0.49270.312059
42-0.112023-0.85310.198545
430.0584750.44530.32887
440.0519850.39590.346814
45-0.031219-0.23780.406453
460.009410.07170.471558
470.054580.41570.339592
480.0897190.68330.248575
49-0.024255-0.18470.427047
500.0110220.08390.466697
51-0.042239-0.32170.374425
520.102440.78020.219234
53-0.005918-0.04510.482104
54-0.041663-0.31730.37608
55-0.023187-0.17660.430224
56-0.052536-0.40010.345276
57-0.007657-0.05830.476851
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/24/t1261677254q0awlawiu0jab1u/1c5z31261677168.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/24/t1261677254q0awlawiu0jab1u/1c5z31261677168.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/24/t1261677254q0awlawiu0jab1u/2zj451261677168.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/24/t1261677254q0awlawiu0jab1u/2zj451261677168.ps (open in new window)


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