Home » date » 2010 » Dec » 18 »

Correlation Function na differentiatie

*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: Sat, 18 Dec 2010 13:07:11 +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/18/t12926776731fm94azc6l9l6jh.htm/, Retrieved Sat, 18 Dec 2010 14:07:53 +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/18/t12926776731fm94azc6l9l6jh.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 «
1038.00 934.00 988.00 870.00 854.00 834.00 872.00 954.00 870.00 1238.00 1082.00 1053.00 934.00 787.00 1081.00 908.00 995.00 825.00 822.00 856.00 887.00 1094.00 990.00 936.00 1097.00 918.00 926.00 907.00 899.00 971.00 1087.00 1000.00 1071.00 1190.00 1116.00 1070.00 1314.00 1068.00 1185.00 1215.00 1145.00 1251.00 1363.00 1368.00 1535.00 1853.00 1866.00 2023.00 1373.00 1968.00 1424.00 1160.00 1243.00 1375.00 1539.00 1773.00 1906.00 2076.00 2004.00
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.524067-3.55440.000445
20.1482661.00560.159937
30.0208860.14170.443984
4-0.108519-0.7360.232729
5-0.061546-0.41740.339155
60.0692910.470.320304
7-0.076813-0.5210.302442
80.0399160.27070.393908
90.0230380.15620.43826
100.0258980.17560.43067
110.0555280.37660.354099
12-0.130776-0.8870.189855
130.0176950.120.452497
14-0.004464-0.03030.487989
150.0392120.2660.395733
16-0.008162-0.05540.478048
170.0622120.42190.337517
18-0.05875-0.39850.346067
19-0.045023-0.30540.380735
200.1046970.71010.240617
21-0.16977-1.15140.127751
220.145520.9870.164412
23-0.073073-0.49560.311266
24-0.061007-0.41380.340483
250.167951.13910.130281
26-0.107645-0.73010.234521
270.0359920.24410.404117
28-0.106021-0.71910.237867
290.0632480.4290.334974
30-0.012949-0.08780.465198
310.0842680.57150.285211
32-0.053009-0.35950.360424
330.0942110.6390.263006
34-0.129834-0.88060.191563
350.0925750.62790.266596
36-0.060772-0.41220.341063
37-0.023001-0.1560.438359
380.0065630.04450.482343
390.0128420.08710.465486
400.0076140.05160.479521
410.0190750.12940.448814
42-0.007237-0.04910.480534
43-0.010575-0.07170.471567
44-0.005092-0.03450.4863
450.0016080.01090.495672
46NANANA
47NANANA
48NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.524067-3.55440.000445
2-0.174233-1.18170.121698
30.0295960.20070.420898
4-0.081301-0.55140.292012
5-0.23439-1.58970.059375
6-0.115992-0.78670.217746
7-0.093934-0.63710.263612
8-0.068375-0.46370.32251
9-0.03814-0.25870.398519
100.0250550.16990.432904
110.1182440.8020.213347
12-0.089358-0.60610.273728
13-0.161236-1.09360.139922
14-0.078957-0.53550.297437
150.0910150.61730.270043
160.0720410.48860.313722
170.0524240.35560.3619
18-0.019958-0.13540.446458
19-0.137768-0.93440.177491
200.0274010.18580.426693
21-0.094515-0.6410.26234
220.0585820.39730.346483
230.0416170.28230.389506
24-0.162196-1.10010.138514
25-0.0102-0.06920.472572
26-0.036355-0.24660.403169
270.0268390.1820.42818
28-0.190778-1.29390.101076
29-0.091455-0.62030.269067
300.0161510.10950.456625
310.0937720.6360.263968
320.0090740.06150.475596
330.0285860.19390.423563
34-0.032913-0.22320.412173
350.0105180.07130.471719
36-0.015629-0.1060.45802
37-0.029056-0.19710.422323
380.0308270.20910.417655
390.0300990.20410.419571
40-0.074151-0.50290.308712
41-0.053422-0.36230.359384
42-0.066397-0.45030.327295
430.0433670.29410.384992
440.031590.21430.415648
45-0.014907-0.10110.459954
46NANANA
47NANANA
48NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/18/t12926776731fm94azc6l9l6jh/15ae51292677628.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t12926776731fm94azc6l9l6jh/15ae51292677628.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t12926776731fm94azc6l9l6jh/2ykdq1292677628.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t12926776731fm94azc6l9l6jh/2ykdq1292677628.ps (open in new window)


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