Home » date » 2008 » Dec » 20 »

*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: Fri, 19 Dec 2008 19:26:02 -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/20/t1229740141qvzou5x94x32el4.htm/, Retrieved Sat, 20 Dec 2008 03:29:01 +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/20/t1229740141qvzou5x94x32el4.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 «
99.2 93.6 104.2 95.3 102.7 103.1 100 107.2 107 119 110.4 101.7 102.4 98.8 105.6 104.4 106.3 107.2 108.5 106.9 114.2 125.9 110.6 110.5 106.7 104.7 107.4 109.8 103.4 114.8 114.3 109.6 118.3 127.3 112.3 114.9 108.2 105.4 122.1 113.5 110 125.3 114.3 115.6 127.1 123 122.2 126.4 112.7 105.8 120.9 116.3 115.7 127.9 108.3 121.1 128.6 123.1 127.7 126.6 118.4 110 129.6 115.8 125.9 128.4 114 125.6 128.5 136.6 133.1 124.6
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.254583-1.9720.026613
2-0.000801-0.00620.497536
30.237271.83790.035516
4-0.176-1.36330.088943
50.1347421.04370.150403
60.1256070.97290.167243
7-0.234871-1.81930.036928
80.0709070.54920.292439
90.2669052.06740.021507
10-0.353542-2.73850.004056
110.0064690.05010.4801
120.0032230.0250.490081
13-0.275709-2.13560.0184
140.2208221.71050.046172
15-0.047357-0.36680.35752
16-0.255007-1.97530.026421
170.2658142.0590.021922
180.0472430.36590.357847
19-0.258656-2.00350.024821
200.1418791.0990.138082
210.0100470.07780.469115
22-0.000482-0.00370.498518
230.3602692.79060.003521
24-0.172728-1.33790.092981
25-0.093754-0.72620.235265
260.3101212.40220.009705
27-0.254472-1.97110.026663
280.0950510.73630.23222
290.0720510.55810.289424
30-0.180848-1.40080.083206
310.1113570.86260.195904
320.0096010.07440.470483
33-0.142076-1.10050.137751
34-0.050089-0.3880.3497
350.087470.67750.250333
36-0.199486-1.54520.063776
370.1075520.83310.204047
38-0.070431-0.54560.293697
39-0.065123-0.50440.307899
400.0660050.51130.305519
41-0.091374-0.70780.240912
42-0.054052-0.41870.33847
430.0309250.23950.405749
440.0060430.04680.481411
45-0.039615-0.30690.380008
460.0759550.58830.279255
47-0.039081-0.30270.381574
48-0.067721-0.52460.30091
490.1229440.95230.172378
50-0.119406-0.92490.179357
510.0532320.41230.340781
520.0130020.10070.460056
53-0.05795-0.44890.327567
540.0551790.42740.335304
55-0.027886-0.2160.414858
56-0.023362-0.1810.428504
570.0138860.10760.457351
58-0.016356-0.12670.449803
590.0012450.00960.496167
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.254583-1.9720.026613
2-0.07016-0.54350.294413
30.235541.82450.036529
4-0.062936-0.48750.313839
50.0890640.68990.246463
60.1418711.09890.138095
7-0.144055-1.11580.134469
8-0.088558-0.6860.247688
90.2889182.2380.014474
10-0.200973-1.55670.062397
11-0.247673-1.91850.029907
12-0.07986-0.61860.269262
13-0.147066-1.13920.129581
140.0162060.12550.450262
150.0906510.70220.242642
16-0.070928-0.54940.292383
170.0828270.64160.261795
180.2054711.59160.058369
19-0.108517-0.84060.201964
20-0.141453-1.09570.138796
210.1602851.24160.109615
220.144451.11890.13382
230.1269780.98360.164638
240.0156220.1210.452046
25-0.119432-0.92510.179306
26-0.02239-0.17340.431449
27-0.168125-1.30230.098897
280.1260470.97640.166403
290.0273610.21190.416436
30-0.063229-0.48980.313041
31-0.08008-0.62030.268704
32-0.153373-1.1880.119753
330.1762321.36510.088661
340.0403260.31240.377922
35-0.020128-0.15590.438312
360.0016010.01240.495074
370.0170280.13190.447754
38-0.158635-1.22880.111976
390.0318310.24660.403045
40-0.132599-1.02710.154247
41-0.083337-0.64550.260525
420.0886760.68690.247403
43-0.059835-0.46350.322347
44-0.150821-1.16830.123663
45-0.016015-0.12410.450844
46-0.053241-0.41240.340756
470.0457250.35420.36222
480.0378240.2930.385274
490.1013880.78530.217671
50-0.136956-1.06090.146504
51-0.10653-0.82520.206269
520.0240310.18610.426479
530.0575970.44610.32855
54-0.014715-0.1140.454818
550.0349840.2710.393667
56-0.108343-0.83920.202338
57-0.050975-0.39480.347177
580.055210.42770.335215
590.0014930.01160.495405
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229740141qvzou5x94x32el4/1qrb41229739957.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229740141qvzou5x94x32el4/1qrb41229739957.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229740141qvzou5x94x32el4/2gok11229739957.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229740141qvzou5x94x32el4/2gok11229739957.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 60 ; par2 = -0.7 ; par3 = 0 ; 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