Home » date » 2010 » Dec » 10 »

Verbetering student

*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: Fri, 10 Dec 2010 18:54: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/Dec/10/t1292007152fm4h8yxj04qvnxk.htm/, Retrieved Fri, 10 Dec 2010 19:52:33 +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/2010/Dec/10/t1292007152fm4h8yxj04qvnxk.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
376.974 377.632 378.205 370.861 369.167 371.551 382.842 381.903 384.502 392.058 384.359 388.884 386.586 387.495 385.705 378.67 377.367 376.911 389.827 387.82 387.267 380.575 372.402 376.74 377.795 376.126 370.804 367.98 367.866 366.121 379.421 378.519 372.423 355.072 344.693 342.892 344.178 337.606 327.103 323.953 316.532 306.307 327.225 329.573 313.761 307.836 300.074 304.198 306.122 300.414 292.133 290.616 280.244 285.179 305.486 305.957 293.886 289.441 288.776 299.149 306.532 309.914 313.468 314.901 309.16 316.15 336.544 339.196 326.738 320.838 318.62 331.533 335.378
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1911771.62220.054567
2-0.270518-2.29540.012312
3-0.229046-1.94350.027931
4-0.091405-0.77560.220264
50.2482452.10640.019326
60.322632.73760.003896
70.1872191.58860.058266
8-0.12869-1.0920.139243
9-0.240091-2.03720.022651
10-0.251644-2.13530.018071
110.2169861.84120.034857
120.6612345.61080
130.0374450.31770.375804
14-0.277019-2.35060.010743
15-0.274547-2.32960.011318
16-0.149717-1.27040.104018
170.1505521.27750.10277
180.236422.00610.024302
190.1198591.0170.156271
20-0.216157-1.83420.035381
21-0.280022-2.37610.010081
22-0.17915-1.52010.066428
230.1484481.25960.105937
240.36713.1150.001321
25-0.057972-0.49190.31214
26-0.286203-2.42850.00883
27-0.276869-2.34930.010777
28-0.153118-1.29930.099001
290.0955640.81090.210051
300.1294531.09840.137835
310.0540660.45880.323893
32-0.23493-1.99340.025001
33-0.194458-1.650.051647
34-0.043707-0.37090.355913
350.0745560.63260.264491
360.2316921.9660.026579
370.0109710.09310.463045
38-0.19691-1.67080.049548
39-0.181001-1.53580.06448
40-0.071615-0.60770.272659
410.0927120.78670.217024
420.1048770.88990.18824
430.0240230.20380.419525
44-0.118849-1.00850.158303
45-0.055413-0.47020.319817
46-0.006329-0.05370.47866
470.0389910.33080.370861
480.1444511.22570.112152


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1911771.62220.054567
2-0.318715-2.70440.004267
3-0.115431-0.97950.165315
4-0.115174-0.97730.16585
50.2257421.91550.029701
60.184631.56660.060792
70.2379932.01940.023582
8-0.021588-0.18320.427586
9-0.02629-0.22310.412053
10-0.306992-2.60490.005579
110.1963211.66580.050046
120.4720374.00547.4e-05
13-0.176946-1.50140.068808
14-0.012538-0.10640.457785
15-0.109129-0.9260.178773
16-0.154769-1.31330.096633
17-0.155944-1.32320.094973
18-0.057508-0.4880.313527
190.0231590.19650.422381
20-0.117431-0.99640.161187
210.034510.29280.385248
220.0907740.77020.221838
23-0.133274-1.13090.130932
24-0.106121-0.90050.185437
25-0.040153-0.34070.367156
26-0.117404-0.99620.161243
27-0.054986-0.46660.321108
28-0.02634-0.22350.411888
290.0051320.04350.482692
30-0.176714-1.49950.069063
310.007780.0660.473773
32-0.031788-0.26970.394069
330.0804950.6830.248392
340.0886080.75190.227292
35-0.039208-0.33270.370167
360.0515320.43730.331615
370.129591.09960.137584
38-0.026525-0.22510.411281
390.0403870.34270.366412
40-0.049251-0.41790.33863
41-0.046914-0.39810.345875
42-0.105105-0.89180.187723
43-0.090726-0.76980.221957
440.1192781.01210.157438
45-0.058011-0.49220.312025
46-0.084089-0.71350.238915
470.0730610.61990.268627
48-0.131756-1.1180.133645
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292007152fm4h8yxj04qvnxk/1vyo31292007275.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292007152fm4h8yxj04qvnxk/1vyo31292007275.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t1292007152fm4h8yxj04qvnxk/2vyo31292007275.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292007152fm4h8yxj04qvnxk/2vyo31292007275.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