Home » date » 2010 » Dec » 26 »

Gedifferentieerde tijdreeks

*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: Sun, 26 Dec 2010 13:27: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/26/t1293369960e7zbs53jywzriub.htm/, Retrieved Sun, 26 Dec 2010 14:26:00 +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/26/t1293369960e7zbs53jywzriub.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 «
16198.90 16554.20 19554.20 15903.80 18003.80 18329.60 16260.70 14851.90 18174.10 18406.60 18466.50 16016.50 17428.50 17167.20 19630.00 17183.60 18344.70 19301.40 18147.50 16192.90 18374.40 20515.20 18957.20 16471.50 18746.80 19009.50 19211.20 20547.70 19325.80 20605.50 20056.90 16141.40 20359.80 19711.60 15638.60 14384.50 13721.40 14134.30 15021.70 14212.60 13635.00 15446.90 14762.10 12521.00 16236.80 16065.00 16032.10 15794.30 15160.00 15692.10 18908.90 17424.50 17014.20 19790.40 17681.20 16006.90 19601.70
 
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
1-0.355101-2.35550.011511
20.0494350.32790.372267
30.4503012.9870.002296
4-0.260388-1.72720.045571
50.1539041.02090.156445
60.153831.02040.15656
7-0.300179-1.99120.026347
80.1680341.11460.135535
9-0.11603-0.76970.222809
10-0.135399-0.89810.187001
110.069930.46390.322515
12-0.161356-1.07030.145158
13-0.1427-0.94660.174516
140.0629910.41780.33905
15-0.069133-0.45860.324397
16-0.065154-0.43220.333861
170.0046190.03060.487848
18-0.026237-0.1740.431317
19-0.021105-0.140.444652
200.0887920.5890.279444
21-0.03553-0.23570.407387
22-0.036937-0.2450.403794
230.1653031.09650.139414
24-0.186666-1.23820.111104
250.0869450.57670.28353
260.0698160.46310.322785
27-0.148108-0.98240.165629
280.0754770.50070.309553
290.0455930.30240.381874
30-0.080719-0.53540.297524
310.0233610.1550.438782
320.0450450.29880.383252
33-0.06912-0.45850.324428
34-0.006268-0.04160.483512
350.0387630.25710.399141
36-0.029914-0.19840.421812
37-0.020357-0.1350.446601
380.0289130.19180.424395
39-0.02749-0.18230.428073
400.0095760.06350.47482
410.0045090.02990.488137
42-0.002304-0.01530.493937
430.0010590.0070.497214
44NANANA
45NANANA
46NANANA
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.355101-2.35550.011511
2-0.087724-0.58190.281803
30.5053683.35220.000828
40.1048810.69570.245137
50.0285590.18940.42531
6-0.003108-0.02060.491823
7-0.259668-1.72240.046006
8-0.159452-1.05770.147986
9-0.203845-1.35220.091618
10-0.033448-0.22190.412722
110.0157330.10440.458679
120.0387790.25720.3991
13-0.148481-0.98490.165027
14-0.099109-0.65740.257169
150.1052880.69840.2443
160.093710.62160.268706
17-0.023306-0.15460.438924
18-0.076474-0.50730.307249
19-0.09101-0.60370.274574
200.0181560.12040.452344
210.0167090.11080.456126
22-0.088346-0.5860.280428
230.0892280.59190.278483
24-0.173581-1.15140.127892
25-0.12459-0.82640.206507
26-0.082841-0.54950.292719
270.090030.59720.276719
280.0721440.47850.317316
290.0816980.54190.295302
300.0642730.42630.33597
31-0.183405-1.21660.115126
32-0.018724-0.12420.450861
33-0.043425-0.28810.38733
34-0.082887-0.54980.292615
35-0.065095-0.43180.334002
360.0517670.34340.366473
37-0.035537-0.23570.40737
38-0.041796-0.27720.391445
390.049030.32520.373274
400.0439890.29180.38591
41-0.027129-0.180.429007
42-0.003354-0.02220.491176
43-0.055919-0.37090.356236
44NANANA
45NANANA
46NANANA
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293369960e7zbs53jywzriub/1ygnw1293370056.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293369960e7zbs53jywzriub/1ygnw1293370056.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t1293369960e7zbs53jywzriub/2rpmz1293370056.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293369960e7zbs53jywzriub/2rpmz1293370056.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t1293369960e7zbs53jywzriub/3rpmz1293370056.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293369960e7zbs53jywzriub/3rpmz1293370056.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; 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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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