Home » date » 2009 » Dec » 30 »

Autocorrelatiefunctie zonder differentiatie (import)

*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: Wed, 30 Dec 2009 06:48:46 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/30/t126218100872diwcj5njnk63e.htm/, Retrieved Wed, 30 Dec 2009 14:50:10 +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/2009/Dec/30/t126218100872diwcj5njnk63e.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
228 136 174 69 108 149 134 131 180 127 59 59 202 173 296 154 117 86 38 17 52 12 61 65 70 91 111 90 110 100 99 137 139 124 103 75 55 75 65 17 27 17 20 131 26 66 59 35 57 6 24 57 42 55 30 35 22 18 22 82 90 66 64 50 56 99 97 41 59 92 91 47
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.5909055.0142e-06
20.474844.02926.9e-05
30.2754292.33710.01111
40.1999171.69640.047069
50.2179221.84910.034272
60.2381872.02110.023495
70.1704381.44620.076229
80.2065841.75290.041936
90.1021420.86670.194492
100.0805480.68350.248251
110.0575180.48810.313496
120.2018141.71240.045559
130.1307231.10920.135514
140.2151141.82530.036052
150.1052660.89320.187361
160.0857450.72760.234619
170.1268761.07660.142632
180.111710.94790.173178
190.0750730.6370.263068
200.0791130.67130.252091
210.0093070.0790.468636
220.003090.02620.489577
230.0166790.14150.443925
24-0.042699-0.36230.359091
25-0.05435-0.46120.323033
26-0.025135-0.21330.415856
27-0.060938-0.51710.303345
28-0.033352-0.2830.388995
290.0453290.38460.350824
30-0.026627-0.22590.410945
310.0371680.31540.376693
32-0.048387-0.41060.341302
33-0.090134-0.76480.223441
34-0.108183-0.9180.180851
35-0.146049-1.23930.109635
36-0.15334-1.30110.098681
37-0.1313-1.11410.134467
38-0.135887-1.1530.126354
39-0.177561-1.50670.068137
40-0.229377-1.94630.027759
41-0.213855-1.81460.036874
42-0.248348-2.10730.019288
43-0.16145-1.36990.08748
44-0.21375-1.81370.036943
45-0.143365-1.21650.113884
46-0.108469-0.92040.180222
47-0.141254-1.19860.11731
48-0.154861-1.3140.096502
49-0.202359-1.71710.045133
50-0.169513-1.43840.077332
51-0.099596-0.84510.200428
52-0.09262-0.78590.217251
53-0.103804-0.88080.190677
54-0.122614-1.04040.150815
55-0.128316-1.08880.139936
56-0.118374-1.00440.159267
57-0.091189-0.77380.220802
58-0.063634-0.540.295447
59-0.055694-0.47260.318971
60-0.015393-0.13060.448224


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5909055.0142e-06
20.1930941.63850.052845
3-0.103864-0.88130.19054
40.0149030.12650.449861
50.1557011.32120.095315
60.0950950.80690.211189
7-0.097193-0.82470.206129
80.1049510.89050.188072
9-0.069441-0.58920.278776
10-0.032673-0.27720.391196
110.0164110.13930.444819
120.2744282.32860.011346
13-0.146161-1.24020.109461
140.0770780.6540.257588
15-0.042885-0.36390.358502
16-0.005629-0.04780.481017
170.1078780.91540.181524
18-0.025972-0.22040.413098
19-0.070636-0.59940.275406
20-0.047956-0.40690.342637
210.030180.25610.399308
22-0.058804-0.4990.309662
230.0882140.74850.228293
24-0.167331-1.41980.079984
25-0.012932-0.10970.456463
260.0088730.07530.470095
270.0286660.24320.404255
28-0.019078-0.16190.435926
290.131921.11940.13335
30-0.14163-1.20180.116696
310.0325560.27630.391574
32-0.064177-0.54460.293868
33-0.023652-0.20070.420752
34-0.065645-0.5570.289622
35-0.119731-1.0160.156527
360.0503440.42720.335261
37-0.073772-0.6260.266655
380.0860340.730.233872
39-0.163854-1.39030.084353
40-0.061963-0.52580.30033
41-0.044617-0.37860.353054
420.0381760.32390.373465
43-0.064858-0.55030.291897
44-0.032772-0.27810.390873
450.0659420.55950.288767
46-0.000372-0.00320.498746
47-0.020195-0.17140.432211
48-0.072951-0.6190.268932
49-0.057433-0.48730.313752
500.0469360.39830.345808
510.1063820.90270.184852
52-0.05795-0.49170.312207
530.0089750.07620.469752
54-0.020918-0.17750.42981
55-0.00687-0.05830.476837
560.072460.61480.270299
570.0051340.04360.482687
58-0.016987-0.14410.442895
59-0.041515-0.35230.362833
600.051960.44090.330306
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/30/t126218100872diwcj5njnk63e/1so3j1262180923.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/30/t126218100872diwcj5njnk63e/1so3j1262180923.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/30/t126218100872diwcj5njnk63e/2xjpf1262180923.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/30/t126218100872diwcj5njnk63e/2xjpf1262180923.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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