Home » date » 2010 » Apr » 30 »

Autocorrelatie differentiatie - Huisprijzen USA - Yannick Geerts

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 30 Apr 2010 14:42:39 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Apr/30/t127263867875gtruztbyjo4l2.htm/, Retrieved Fri, 30 Apr 2010 16:44:39 +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/2010/Apr/30/t127263867875gtruztbyjo4l2.htm/},
    year = {2010},
}
@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 = {2010},
    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:
KDGP2W21
 
Dataseries X:
» Textbox « » Textfile « » CSV «
178600 181600 178500 176700 183500 175900 179800 186500 182700 182800 178600 183300 182900 191400 189300 192200 187900 193900 189100 193100 194800 200200 211500 202100 200300 199200 204900 207300 200000 197700 202200 200200 208300 215100 210700 208100 209000 211000 210200 205500 211400 211700 209300 207500 203300 207100 206900 228700 226900 265000 227100 228100 226500 225200 217800 221300 215300 231300 227100 237800 230200 233400 231100 237200 243700 239700 248400 241000 254500 242800 268300 253900 262100 264100 261000 269300 260400 263200 279200 272200 269200 289600 283200 284300 283000 289100 289600 289100 287400 279600 289300 295000 299600 293600 294400 290200 301000 307900 298800 310300 293900 305000 311300 317300 296200 306800 291800 301900 314600 321500 329400 311700 309700 306500 307100 301300 292200 310100 316800 284400 284600 301200 287600 314300 298200 299400 301900 265500 etc...
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time11 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.462693-5.5330
20.1268231.51660.06579
3-0.078763-0.94190.173923
4-0.079116-0.94610.17285
50.0995821.19080.117847
6-0.071623-0.85650.196581
70.0758420.90690.182981
80.0175890.21030.416851
9-0.059979-0.71720.237198
100.0230730.27590.391505
11-0.020144-0.24090.404994
120.0427710.51150.304905
130.0315240.3770.353378
14-0.082927-0.99170.161518
150.1062411.27050.102992
16-0.022364-0.26740.394762
17-0.006473-0.07740.469207
18-0.046943-0.56140.287715
190.0334710.40030.344783
20-0.043071-0.51510.303656
210.0600970.71870.236761
22-0.008353-0.09990.460286
23-0.001499-0.01790.492861
24-0.080545-0.96320.168541
25-0.014979-0.17910.429049
260.0620240.74170.229742
270.102991.23160.110063
28-0.093215-1.11470.133426
290.0261370.31250.37754
30-0.061699-0.73780.230919
31-0.026123-0.31240.377599
320.0425330.50860.305903
330.0331750.39670.346082
34-0.056582-0.67660.249868
350.0494360.59120.277669
36-0.0597-0.71390.238224
370.0393910.4710.319164
380.0087180.10420.45856
39-0.02124-0.2540.399931
400.020450.24450.40358
41-0.084724-1.01320.156348
420.0338870.40520.342957
430.0057780.06910.472505
440.0177690.21250.416013
450.0297610.35590.361223
46-0.050392-0.60260.273865
47-0.069697-0.83350.20299
480.1237111.47940.070621


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.462693-5.5330
2-0.111032-1.32770.093189
3-0.083663-1.00050.159387
4-0.180997-2.16440.016046
5-0.024778-0.29630.383717
6-0.044985-0.53790.295728
70.0143060.17110.432205
80.0746370.89250.186804
9-0.010072-0.12040.452153
10-0.017889-0.21390.415458
110.0026670.03190.487301
120.0420990.50340.307718
130.0780030.93280.176251
14-0.039195-0.46870.319997
150.064530.77170.220791
160.1001431.19750.116541
170.0386620.46230.322275
18-0.055782-0.66710.252906
190.0102840.1230.451147
20-0.05134-0.61390.270118
210.0168080.2010.420496
220.0303810.36330.358458
23-0.006776-0.0810.467764
24-0.121397-1.45170.074389
25-0.116965-1.39870.082035
260.0011790.01410.494387
270.1605021.91930.028467
28-0.011342-0.13560.44615
29-0.025066-0.29980.382401
30-0.030939-0.370.355973
31-0.070537-0.84350.20018
32-0.018153-0.21710.414228
330.0759020.90770.182793
34-0.084882-1.0150.155901
35-0.009886-0.11820.453032
360.0068460.08190.467434
370.0281790.3370.368314
380.0236940.28330.388661
390.000410.00490.498048
400.0070960.08490.466247
41-0.070182-0.83930.201364
42-0.106798-1.27710.101815
43-0.020093-0.24030.405231
440.030770.3680.356725
450.05470.65410.257045
460.0209910.2510.401079
47-0.120117-1.43640.076537
48-0.006247-0.07470.470277
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Apr/30/t127263867875gtruztbyjo4l2/1pmhd1272638546.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Apr/30/t127263867875gtruztbyjo4l2/1pmhd1272638546.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Apr/30/t127263867875gtruztbyjo4l2/2pmhd1272638546.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Apr/30/t127263867875gtruztbyjo4l2/2pmhd1272638546.ps (open in new window)


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