Home » date » 2009 » Jun » 01 »

Nick Vermeulen Authentic correlation 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: Mon, 01 Jun 2009 14:31:47 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/01/t1243888399q3ruws902itz17c.htm/, Retrieved Mon, 01 Jun 2009 22:33:19 +0200
 
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/2009/Jun/01/t1243888399q3ruws902itz17c.htm/},
    year = {2009},
}
@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 = {2009},
    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:
Maandelijkse verkopen auto's
 
Dataseries X:
» Textbox « » Textfile « » CSV «
14620 16005 16683 15487 15684 15962 12000 13769 14031 16078 15827 13149 15969 16628 16670 16487 16883 16201 12168 14010 16556 17404 16435 13123 16744 17410 16484 17103 17301 17301 12843 13748 16904 17342 15476 15424 15988 19244 18715 17780 17160 17349 11171 13438 16713 18369 17067 14055 15500 18475 19423 18686 19646 19733 12605 16616 19156 21348 20049 18020 20262 21789 20603 21928 21025 19346 11786 19082 20127 20217 20385 16653 13065 20275 21776 20260 22523 23033 14133 20110 19682 22197 17212 11784 15467 17002 15952 18767 20605 19809 14233 19311 20827 23388 20181 14344
 
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
10.4480574.391.5e-05
20.1052671.03140.152472
30.09440.92490.178662
40.1993641.95340.026844
50.2794862.73840.00368
60.2823892.76680.003395
70.2298412.2520.013301
80.1117881.09530.138064
9-0.083025-0.81350.20898
10-0.032541-0.31880.375273
110.2844422.7870.003207
120.6366366.23770
130.2649222.59570.005461
140.0499560.48950.312813
15-0.000527-0.00520.497947
160.1281041.25520.106235
170.2736762.68150.004315
180.2386082.33790.010735
190.154981.51850.066089
200.049270.48270.315187
21-0.126708-1.24150.108726
22-0.127984-1.2540.106446
230.1519731.4890.06988
240.4149364.06554.9e-05
250.1095831.07370.142826
26-0.089495-0.87690.191373
27-0.138838-1.36030.088455
280.0162570.15930.436891
290.1219651.1950.117514
300.0879780.8620.195417
310.0686650.67280.251353
32-0.019892-0.19490.422941
33-0.163323-1.60020.056417
34-0.181194-1.77530.039506
350.0395760.38780.349526
360.2567742.51590.006767
37-0.009585-0.09390.462688
38-0.139068-1.36260.088101
39-0.140739-1.3790.085557
40-0.032881-0.32220.374014
410.0341550.33460.369312
42-0.006244-0.06120.475674
43-0.014732-0.14430.442767
44-0.118819-1.16420.123618
45-0.265157-2.5980.005427
46-0.260567-2.5530.006127
47-0.08732-0.85560.197185
480.0552670.54150.294708


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4480574.391.5e-05
2-0.119473-1.17060.12233
30.1207481.18310.119848
40.1487761.45770.074093
50.1625081.59220.057309
60.1291671.26560.104364
70.0830710.81390.208851
8-0.039913-0.39110.348308
9-0.218433-2.14020.017436
10-4.8e-05-5e-040.499813
110.2785722.72940.003774
120.5538555.42660
13-0.236844-2.32060.011213
140.0430810.42210.336945
15-0.222232-2.17740.01595
160.0776890.76120.224205
170.0720560.7060.240947
18-0.06468-0.63370.26388
19-0.057587-0.56420.286954
20-0.005936-0.05820.47687
210.0602680.59050.278119
22-0.15713-1.53960.063479
230.0697530.68340.247987
24-0.015461-0.15150.439954
25-0.055136-0.54020.295148
26-0.064171-0.62870.265506
27-0.051755-0.50710.306626
28-0.007416-0.07270.471113
29-0.136412-1.33660.092263
300.0171860.16840.433315
310.0001960.00190.499236
320.0724380.70970.23979
330.0563720.55230.291002
34-0.092095-0.90230.184567
35-0.07705-0.75490.226069
360.0166160.16280.435507
37-0.080729-0.7910.215453
380.0928320.90960.182666
390.1068071.04650.148981
40-0.035233-0.34520.365344
41-0.029445-0.28850.386792
42-0.07388-0.72390.235452
43-0.029244-0.28650.387546
44-0.147222-1.44250.076212
45-0.085785-0.84050.201352
46-0.013283-0.13010.44836
47-0.025561-0.25040.40139
48-0.015376-0.15070.440282
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243888399q3ruws902itz17c/12w9b1243888303.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243888399q3ruws902itz17c/12w9b1243888303.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243888399q3ruws902itz17c/2kop21243888303.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243888399q3ruws902itz17c/2kop21243888303.ps (open in new window)


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