Home » date » 2008 » Dec » 19 »

auto corr d cons

*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 04:13: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/19/t1229685230i2fjdyskhheeu1l.htm/, Retrieved Fri, 19 Dec 2008 12:13:55 +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/19/t1229685230i2fjdyskhheeu1l.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 «
72,5 72,0 98,8 75,2 81,2 88,0 54,6 68,6 101,5 93,4 84,5 91,4 64,5 64,5 117,3 73,5 79,7 102,6 57,9 73,1 102,4 82,3 89,1 84,7 81,4 67,5 113,9 83,8 73,9 103,9 67,9 62,5 125,4 79,1 106,3 96,2 94,3 85,6 117,4 88,5 124,2 119,3 76,8 70,6 122,1 109,5 119,9 102,3 79,6 78,2 103,6 77,8 99,1 105,7 84,1 88,7 108,0 98,1 101,0 82,0
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.0466820.36160.359461
2-0.103845-0.80440.212176
30.2451451.89890.031196
4-0.168898-1.30830.097884
50.0760270.58890.27907
60.6049794.68628e-06
70.047090.36480.358286
8-0.116609-0.90320.185003
90.1490161.15430.126483
10-0.083371-0.64580.260439
11-0.065398-0.50660.307157
120.6261554.85025e-06
130.0350810.27170.393379
14-0.18667-1.44590.076699
150.1622711.25690.106822
16-0.162955-1.26220.105873
17-0.044284-0.3430.366392
180.3815362.95540.002229
19-0.016853-0.13050.448288
20-0.117691-0.91160.182806
210.0534160.41380.340264
22-0.181126-1.4030.082886
23-0.131079-1.01530.157013
240.2940262.27750.013167
25-0.012378-0.09590.461969
26-0.179669-1.39170.084574
27-0.001865-0.01440.494261
28-0.220922-1.71130.0461
29-0.124862-0.96720.168669
300.1604561.24290.109373
31-0.046068-0.35680.361232
32-0.138847-1.07550.143227
33-0.052718-0.40840.342234
34-0.233544-1.8090.037729
35-0.131999-1.02250.155334
360.1438041.11390.134882
37-0.042949-0.33270.370267
38-0.13635-1.05620.147564
39-0.077538-0.60060.275182
40-0.201605-1.56160.061818
41-0.083934-0.65020.259038
420.0630480.48840.313536
43-0.037017-0.28670.387653
44-0.073996-0.57320.284337
45-0.033548-0.25990.397932
46-0.098161-0.76040.225011
47-0.04348-0.33680.368722
480.0387940.30050.382419
49-0.039255-0.30410.381064
50-0.061746-0.47830.317093
51-0.040874-0.31660.37632
52-0.062249-0.48220.315716
53-0.011742-0.0910.463917
54-0.001935-0.0150.494046
55-0.018228-0.14120.444094
56-0.013717-0.10630.457869
57-0.022143-0.17150.432197
58-0.007966-0.06170.475502
590.0025580.01980.492129
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0466820.36160.359461
2-0.106256-0.82310.206868
30.2589492.00580.024696
4-0.231219-1.7910.039167
50.2011041.55770.062276
60.532384.12385.8e-05
70.0861630.66740.253533
8-0.149437-1.15750.125821
9-0.040603-0.31450.377114
100.0964040.74670.229067
11-0.176947-1.37060.087799
120.4330573.35440.000691
13-0.114619-0.88780.189088
14-0.050809-0.39360.347649
15-0.105496-0.81720.208533
160.0195130.15110.440182
17-0.026175-0.20280.420007
18-0.21912-1.69730.047411
190.0359180.27820.390901
200.0423490.3280.372014
21-0.002706-0.0210.491673
22-0.257662-1.99580.025248
230.0571760.44290.32972
24-0.070095-0.5430.294587
250.0004510.00350.498613
26-0.06356-0.49230.312141
27-0.102865-0.79680.214357
28-0.010308-0.07980.468314
29-0.038729-0.30.382609
30-0.008596-0.06660.473567
31-0.027197-0.21070.41693
32-0.030596-0.2370.406735
33-0.040668-0.3150.376921
34-0.006858-0.05310.478904
350.052680.40810.342341
360.0175580.1360.446136
37-0.034433-0.26670.395301
380.0017220.01330.494702
39-0.00165-0.01280.494922
400.0657710.50950.306149
41-0.045628-0.35340.3625
42-0.01125-0.08710.465425
430.0004580.00350.49859
440.0628190.48660.31416
450.0775520.60070.275146
460.1375281.06530.145506
470.0397830.30820.379515
48-0.179306-1.38890.084999
49-0.015478-0.11990.452486
50-0.019821-0.15350.439246
510.0049880.03860.484655
52-0.063602-0.49270.312027
53-0.016774-0.12990.448528
540.0043370.03360.486656
55-0.030508-0.23630.406996
56-0.047369-0.36690.357485
57-0.081066-0.62790.266214
580.0002850.00220.499123
59-0.067697-0.52440.300973
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229685230i2fjdyskhheeu1l/1yzgd1229685180.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229685230i2fjdyskhheeu1l/1yzgd1229685180.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229685230i2fjdyskhheeu1l/2xhes1229685180.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229685230i2fjdyskhheeu1l/2xhes1229685180.ps (open in new window)


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