Home » date » 2007 » Dec » 13 » attachments

qqfqsf

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 13 Dec 2007 06:55:18 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2007/Dec/13/t11975531965wn2ck3az5vjqba.htm/, Retrieved Thu, 13 Dec 2007 14:39:58 +0100
 
User-defined keywords:
bridome
 
Dataseries X:
» Textbox « » Textfile « » CSV «
39892 32194 21629 59968 45694 55756 48554 41052 49822 39191 31994 35735 38930 33658 23849 58972 59249 63955 53785 52760 44795 37348 32370 32717 40974 33591 21124 58608 46865 51378 46235 47206 45382 41227 33795 31295 42625 33625 21538 56421 53152 53536 52408 41454 38271 35306 26414 31917 38030 27534 18387 50556 43901 48572 43899 37532 40357 35489 29027 34485 42598 30306 26451 47460 50104 61465 53726 39477 43895 31481 29896 33842 39120 33702 25094 51442 45594 52518 48564 41745 49585 32747 33379 35645 37034 35681 20972 58552 54955 64540 51570 51145 46641 35704 33253 35193 41668 34865 21210 56126 49321 59723 48103 47472 50497 40059
 
Text written by user:
 
Output produced by software:


Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
019.69540
10.4779584.6346e-06
20.3709113.59610.000259
30.1823271.76770.040176
4-0.026156-0.25360.599818
50.059940.58110.281269
60.0930370.9020.184673
70.0347490.33690.368472
80.125171.21360.113978
90.012410.12030.452243
10-0.259754-2.51840.993261
11-0.371105-3.5980.999743
12-0.525719-5.0970.999999
13-0.362478-3.51440.99966
14-0.135688-1.31550.904237
15-0.001863-0.01810.507186
160.0117590.1140.454736
170.052070.50480.307428
180.0199490.19340.423528
19-0.074018-0.71760.762619
200.0111710.10830.456992
210.0385450.37370.35473
220.1372221.33040.093299
230.390553.78650.000135
240.3279983.18010.000997
250.2689562.60760.005302
260.1887581.83010.035204
27-0.047495-0.46050.676883
28-0.018433-0.17870.570725
29-0.004547-0.04410.517534
30-0.096281-0.93350.823518
310.0090970.08820.464951
32-0.041478-0.40210.655755
33-0.11572-1.12190.867628
34-0.189225-1.83460.965136
35-0.328446-3.18440.999016
36-0.433312-4.20110.99997
37-0.335002-3.2480.999194
38-0.21805-2.11410.981422
39-0.139865-1.3560.910833
40-0.011747-0.11390.545218
41-0.04-0.38780.650485
42-0.054054-0.52410.699269
43-0.003859-0.03740.514883
44-0.103566-1.00410.841048
45-0.055465-0.53780.703991
460.1169411.13380.129884
470.1607221.55830.061266


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.4779584.6346e-06
10.184651.79020.038317
2-0.067726-0.65660.743487
3-0.195998-1.90030.969769
40.1593241.54470.062889
50.1427561.38410.084808
6-0.105175-1.01970.844759
70.0547980.53130.298238
8-0.049574-0.48060.684055
9-0.387077-3.75280.999849
10-0.288084-2.79310.996837
11-0.184384-1.78770.961474
120.1498521.45290.074795
130.1950991.89160.030815
140.1476071.43110.077859
15-0.098797-0.95790.829707
160.0261090.25310.400356
170.1884471.82710.035432
18-0.062589-0.60680.727285
190.0455240.44140.329978
200.0328830.31880.375286
21-0.185557-1.7990.962389
220.0788090.76410.223365
230.0567310.550.291803
240.0841330.81570.208366
250.0624610.60560.273127
26-0.128707-1.24790.89241
27-0.054612-0.52950.701139
280.0386750.3750.354263
29-0.046857-0.45430.674669
30-0.084238-0.81670.791922
31-0.083127-0.80590.788847
320.0188570.18280.427663
33-0.136998-1.32820.906343
34-0.019258-0.18670.573857
35-0.117401-1.13820.871044
36-0.098616-0.95610.829268
370.0700720.67940.249284
38-0.017572-0.17040.567457
390.0591030.5730.283999
40-0.024246-0.23510.592667
41-0.071171-0.690.754062
420.0014630.01420.494358
43-0.163146-1.58180.941468
440.0084120.08160.467587
450.0137640.13340.447062
46-0.040267-0.39040.651439
47-0.135326-1.3120.903648
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t11975531965wn2ck3az5vjqba/1ccmk1197554116.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t11975531965wn2ck3az5vjqba/1ccmk1197554116.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t11975531965wn2ck3az5vjqba/2vt0o1197554116.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t11975531965wn2ck3az5vjqba/2vt0o1197554116.ps (open in new window)


 
Parameters:
par1 = 48 ; par2 = 1 ; 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 1:par1) {
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(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-1,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(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:

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