Home » date » 2008 » Dec » 09 »

W8Q2(2)

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 09 Dec 2008 09:24:23 -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/09/t1228839961fwnvu1sn9edqrmt.htm/, Retrieved Tue, 09 Dec 2008 16:26:03 +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/09/t1228839961fwnvu1sn9edqrmt.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 «
104.9 110.9 104.8 94.1 95.8 99.3 101.1 104 99 105.4 107.1 110.7 117.1 118.7 126.5 127.5 134.6 131.8 135.9 142.7 141.7 153.4 145 137.7 148.3 152.2 169.4 168.6 161.1 174.1 179 190.6 190 181.6 174.8 180.5 196.8 193.8 197 216.3 221.4 217.9 229.7 227.4 204.2 196.6 198.8 207.5 190.7 201.6 210.5 223.5 223.8 231.2 244 234.7 250.2 265.7 287.6 283.3 295.4 312.3 333.8 347.7 383.2 407.1 413.6 362.7 321.9 239.4
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.4019813.33910.000679
20.2157151.79190.038769
3-0.086132-0.71550.238367
4-0.107378-0.89190.187761
5-0.189863-1.57710.05967
6-0.134846-1.12010.133274
7-0.062441-0.51870.302823
8-0.059135-0.49120.312416
9-0.120313-0.99940.160548
10-0.012527-0.10410.458712
11-0.058196-0.48340.315168
12-0.056985-0.47340.318728
13-0.094502-0.7850.217573
140.0129360.10750.457372
15-0.000945-0.00790.496879
16-0.096594-0.80240.212546
17-0.083911-0.6970.244067
18-0.104061-0.86440.195184
19-0.049322-0.40970.341648
20-0.047572-0.39520.34697
210.0639880.53150.298381
220.030150.25040.401493
230.0869080.72190.236395
240.1024250.85080.19891
250.1628921.35310.090223
260.0536320.44550.328676
27-0.02897-0.24060.405274
28-0.02726-0.22640.410763
29-0.061886-0.51410.304424
30-0.065146-0.54110.295075
31-0.036783-0.30550.380437
32-0.012803-0.10630.457808
33-0.032929-0.27350.392631
340.0258940.21510.415164
350.0996070.82740.205431
360.0261010.21680.414498
37-0.008022-0.06660.473532
38-0.048744-0.40490.343402
39-0.005259-0.04370.48264
400.0021780.01810.49281
410.0165090.13710.445664
42-0.015378-0.12770.449365
43-0.098929-0.82180.207021
440.0104560.08690.46552
450.0314440.26120.397361
460.05450.45270.326088
470.0294620.24470.403696
48-0.049832-0.41390.340103
490.0063480.05270.47905
50-0.007036-0.05840.476781
51-0.006074-0.05050.479952
520.0261670.21740.414284
53-0.030114-0.25010.401611
54-0.027123-0.22530.411206
55-0.048486-0.40280.344185
56-0.020163-0.16750.433737
57-0.026704-0.22180.412554
58-0.03494-0.29020.386255
59-0.004135-0.03440.486348
60-0.018573-0.15430.43892


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4019813.33910.000679
20.0645590.53630.296751
3-0.231399-1.92210.029359
4-0.016933-0.14070.444275
5-0.100928-0.83840.202359
6-0.038101-0.31650.376293
70.0346520.28780.387166
8-0.083816-0.69620.244312
9-0.140106-1.16380.124255
100.0948250.78770.216791
11-0.089851-0.74640.228994
12-0.092028-0.76440.223605
13-0.042973-0.3570.361104
140.043590.36210.359198
15-0.041296-0.3430.36631
16-0.178418-1.48210.071439
17-0.033779-0.28060.389932
18-0.078978-0.6560.25699
19-0.011858-0.09850.460911
20-0.064204-0.53330.297763
210.0166570.13840.445177
22-0.085169-0.70750.240831
230.0633670.52640.300161
240.0381170.31660.376242
250.0327560.27210.393183
26-0.057541-0.4780.317089
27-0.084867-0.7050.241605
280.0501970.4170.338999
29-0.083086-0.69020.246203
30-0.018065-0.15010.440577
31-0.014132-0.11740.453447
32-0.020754-0.17240.431816
33-0.065561-0.54460.293896
340.0817050.67870.2498
350.0476530.39580.346723
36-0.114503-0.95110.172429
370.0258540.21480.415293
38-0.048495-0.40280.344161
390.0248140.20610.418652
400.0206040.17110.432305
410.0408070.3390.367832
42-0.101315-0.84160.201464
43-0.092077-0.76480.223485
440.1712761.42270.079661
45-0.019695-0.16360.435263
46-0.059106-0.4910.312501
470.0215430.17890.429252
48-0.094413-0.78430.217787
490.0036340.03020.488002
500.0762260.63320.264354
51-0.069174-0.57460.283716
520.0458280.38070.352306
53-0.032394-0.26910.394335
54-0.051938-0.43140.333752
555.7e-055e-040.499813
56-0.043854-0.36430.358382
570.0278560.23140.408847
58-0.046571-0.38680.350029
59-0.068986-0.5730.28424
60-0.070227-0.58330.28078
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228839961fwnvu1sn9edqrmt/1fvx21228839861.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228839961fwnvu1sn9edqrmt/1fvx21228839861.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228839961fwnvu1sn9edqrmt/2t1fm1228839861.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228839961fwnvu1sn9edqrmt/2t1fm1228839861.ps (open in new window)


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