Home » date » 2008 » Dec » 07 »

Identification and Estimation of ARMA processes Step 2 (3)*

*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 07:54:30 -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/t1228661735pd7lq1pdltt9064.htm/, Retrieved Sun, 07 Dec 2008 14:55:37 +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/t1228661735pd7lq1pdltt9064.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 «
1593 1477.9 1733.7 1569.7 1843.7 1950.3 1657.5 1772.1 1568.3 1809.8 1646.7 1808.5 1763.9 1625.5 1538.8 1342.4 1645.1 1619.9 1338.1 1505.5 1529.1 1511.9 1656.7 1694.4 1662.3 1588.7 1483.3 1585.6 1658.9 1584.4 1470.6 1618.7 1407.6 1473.9 1515.3 1485.4 1496.1 1493.5 1298.4 1375.3 1507.9 1455.3 1363.3 1392.8 1348.8 1880.3 1669.2 1543.6 1701.2 1516.5 1466.8 1484.1 1577.2 1684.5 1414.7 1674.5 1598.7 1739.1 1674.6 1671.8 1802 1526.8 1580.9 1634.8 1610.3 1712 1678.8 1708.1 1680.6 2056 1624 2021.4 1861.1 1750.8 1767.5 1710.3 2151.5 2047.9 1915.4 1984.7 1896.5 2170.8 2139.9 2330.5 2121.8 2226.8 1857.9 2155.9 2341.7 2290.2 2006.5 2111.9 1731.3 1762.2 1863.2 1943.5 1975.2
 
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
1-0.480432-4.70734e-06
20.095250.93330.176515
3-0.064342-0.63040.264959
4-0.108131-1.05950.146024
50.1109451.0870.139872
6-0.060375-0.59160.277769
70.1328471.30160.098079
8-0.024831-0.24330.404148
9-0.070209-0.68790.246586
10-0.096243-0.9430.174028
11-0.05142-0.50380.307773
120.3377183.30890.00066
13-0.25745-2.52250.006649
140.1725891.6910.047039
15-0.170566-1.67120.04897
160.0156820.15370.439102
170.0038460.03770.485011
180.0509730.49940.30931
19-0.013047-0.12780.449273
200.0773740.75810.225123
21-0.090395-0.88570.188999
22-0.047244-0.46290.322244
230.0118720.11630.45382
240.1661831.62830.053374
25-0.145506-1.42570.078605
260.1615251.58260.058399
27-0.232319-2.27630.012526
280.0622240.60970.27176
290.1008660.98830.16275
30-0.136318-1.33560.092413
310.09020.88380.189512
320.0659080.64580.259986
33-0.11751-1.15140.126222
34-0.005191-0.05090.47977
35-0.061434-0.60190.274321
360.2052822.01130.023546
37-0.116382-1.14030.128497
380.0515220.50480.307424
39-0.131549-1.28890.100262
400.0679240.66550.253659
410.0202970.19890.421394
42-0.072852-0.71380.238543
430.1505681.47530.071707
44-0.008981-0.0880.465032
45-0.156044-1.52890.064788
460.1183051.15910.124636
47-0.153253-1.50160.068246
480.1403651.37530.086122
49-0.017994-0.17630.430212
50-0.032985-0.32320.373629
51-0.023304-0.22830.409938
524.4e-054e-040.49983
530.02510.24590.403131
54-0.006158-0.06030.476007
550.0661040.64770.259366
56-0.050114-0.4910.312268
57-0.020104-0.1970.422131
580.0136970.13420.446762
59-0.111695-1.09440.138262
600.2321492.27460.012578


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.480432-4.70734e-06
2-0.176245-1.72680.043706
3-0.127721-1.25140.106914
4-0.250484-2.45420.00796
5-0.102159-1.00090.159685
6-0.094628-0.92720.178083
70.0678470.66480.253898
80.1012650.99220.161801
9-0.002967-0.02910.488435
10-0.18218-1.7850.038711
11-0.266546-2.61160.005229
120.2386512.33830.010724
130.0030480.02990.488119
140.0187330.18350.427377
15-0.11306-1.10780.135368
16-0.044501-0.4360.331902
17-0.039386-0.38590.35021
180.1000230.980.164771
19-0.11953-1.17120.122218
20-0.010826-0.10610.457874
210.0047170.04620.481616
220.0362090.35480.361768
23-0.036695-0.35950.359992
240.119021.16620.12322
25-0.018289-0.17920.429081
260.0914080.89560.186349
27-0.083964-0.82270.206367
28-0.101741-0.99690.16067
290.1323061.29630.098984
30-0.054183-0.53090.298364
31-0.100289-0.98260.164132
320.0292350.28640.387577
330.0532690.52190.301462
34-0.035232-0.34520.365349
35-0.1077-1.05520.146982
360.0529010.51830.302712
370.049890.48880.313043
38-0.051972-0.50920.305882
39-0.044865-0.43960.330611
40-0.0939-0.920.179931
410.0032390.03170.487374
420.0209310.20510.418971
430.049580.48580.314113
440.0131330.12870.448942
45-0.112608-1.10330.136321
460.0927440.90870.182892
47-0.047903-0.46930.319942
48-0.142043-1.39170.083611
49-0.053907-0.52820.299298
50-0.077891-0.76320.223617
51-0.020784-0.20360.419534
52-0.074259-0.72760.234318
530.0207350.20320.419719
540.0427170.41850.338244
55-0.014412-0.14120.443999
56-0.043517-0.42640.335393
57-0.02237-0.21920.413486
58-0.0622-0.60940.271838
59-0.030808-0.30190.381708
600.0813250.79680.213762
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228661735pd7lq1pdltt9064/17u0u1228661668.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t1228661735pd7lq1pdltt9064/17u0u1228661668.ps (open in new window)


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