Home » date » 2011 » Apr » 11 »

autocorrelatie-Inschrijvingen nieuwe personenwagen (eigen reeks)-Ling Weng

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 11 Apr 2011 19:03: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/2011/Apr/11/t1302548495hc24lvzz0u92bla.htm/, Retrieved Mon, 11 Apr 2011 21:01:38 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W12
 
Dataseries X:
» Textbox « » Textfile « » CSV «
26281 23899 25727 30733 28599 16723 43738 45272 46532 41032 37967 35366 33892 21560 26588 33527 24859 17952 45504 40129 40357 41913 33730 37842 33025 24050 30429 34507 25189 20253 48527 44446 46380 48950 38883 42928 37107 30186 32602 39892 32194 21629 59968 45694 55756 48554 41052 49822 39191 31994 35735 38930 33658 23849 58972 59249 63955 53785 52760 44795 37348 32370 32717 40974 33591 21124 58608 46865 51378 46235 47206 45382 41227 33795 31295 42625 33625 21538 56421 53152 53536 52408 41454 38271 35306 26414 31917 38030 27534 18387
 
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'Gwilym Jenkins' @ www.wessa.org


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.4375314.15083.8e-05
20.2365842.24440.013628
30.1817951.72470.044011
4-0.025761-0.24440.403744
5-0.205032-1.94510.027442
6-0.305198-2.89540.002376
7-0.235993-2.23880.013816
8-0.061794-0.58620.279593
90.1047230.99350.161567
100.1239461.17590.121377
110.3098282.93930.00209
120.766287.26960
130.307572.91790.002225
140.1548751.46930.072623
150.1067381.01260.156981
16-0.048502-0.46010.323265
17-0.224695-2.13160.01788
18-0.320523-3.04070.001545
19-0.240432-2.28090.012456
20-0.113483-1.07660.14227
210.0413790.39260.347789
220.0716230.67950.24929
230.2297872.17990.015936
240.6163095.84680
250.2286292.1690.016361
260.0696910.66110.255103
270.002650.02510.490001
28-0.113305-1.07490.142646
29-0.280469-2.66080.004616
30-0.36001-3.41540.000479
31-0.279873-2.65510.004688
32-0.192797-1.8290.035353
33-0.067771-0.64290.26095
34-0.040429-0.38350.351112
350.0810930.76930.221861
360.4062043.85360.000109
370.1118181.06080.14581
38-0.021741-0.20630.418528
39-0.051809-0.49150.312135
40-0.124133-1.17760.121025
41-0.280517-2.66120.00461
42-0.329593-3.12680.00119
43-0.253535-2.40520.009104
44-0.189967-1.80220.037432
45-0.070628-0.670.252274
46-0.049464-0.46930.320011
470.0436140.41380.340017
480.301342.85880.002642
490.0812350.77070.221464
50-0.040511-0.38430.350824
51-0.053813-0.51050.305472
52-0.111839-1.0610.145766
53-0.240555-2.28210.01242
54-0.254818-2.41740.008824
55-0.212286-2.01390.023502
56-0.154769-1.46830.072759
57-0.057008-0.54080.294982
58-0.047845-0.45390.325498
590.0347210.32940.371312
600.2163742.05270.021503


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4375314.15083.8e-05
20.055840.52970.298796
30.0739780.70180.242301
4-0.172719-1.63860.052399
5-0.203416-1.92980.028392
6-0.190773-1.80980.03683
70.0158510.15040.440403
80.1848871.7540.041418
90.2282172.16510.016514
10-0.00119-0.01130.49551
110.1518691.44080.076562
120.6807026.45770
13-0.431847-4.09694.6e-05
14-0.122825-1.16520.123505
15-0.07326-0.6950.244422
160.1194661.13340.130038
17-0.086512-0.82070.206985
180.0104380.0990.460672
190.0594750.56420.287001
20-0.135894-1.28920.100315
210.0329570.31270.377633
220.1088461.03260.152278
23-0.014905-0.14140.443936
24-0.010256-0.09730.461352
25-0.052983-0.50260.308221
26-0.128991-1.22370.112126
27-0.153053-1.4520.07499
280.0331250.31420.37703
290.0416550.39520.346825
30-0.036429-0.34560.365226
31-0.07539-0.71520.238166
32-0.080129-0.76020.22457
33-0.160526-1.52290.065647
34-0.072045-0.68350.248031
35-0.060423-0.57320.28396
36-0.06912-0.65570.256835
37-0.005167-0.0490.480506
38-0.012573-0.11930.452659
390.0722310.68520.247477
40-0.050051-0.47480.318031
41-0.026636-0.25270.400541
420.0300680.28530.388053
43-0.016154-0.15330.439271
440.0120290.11410.454701
450.0446670.42370.336382
460.0013640.01290.494852
47-0.034668-0.32890.371503
48-0.046839-0.44440.328928
490.1078741.02340.154435
500.0200420.19010.424816
510.0346890.32910.371425
52-0.042542-0.40360.343736
530.0208570.19790.421799
540.0285830.27120.393444
55-0.077811-0.73820.231162
560.0778630.73870.231013
57-0.008368-0.07940.468449
58-0.025647-0.24330.404159
590.0153460.14560.442288
60-0.087876-0.83370.203339
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/Apr/11/t1302548495hc24lvzz0u92bla/1owfx1302548590.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/11/t1302548495hc24lvzz0u92bla/1owfx1302548590.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Apr/11/t1302548495hc24lvzz0u92bla/2dbvh1302548590.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/11/t1302548495hc24lvzz0u92bla/2dbvh1302548590.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Apr/11/t1302548495hc24lvzz0u92bla/37vkf1302548590.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/11/t1302548495hc24lvzz0u92bla/37vkf1302548590.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 (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