Home » date » 2011 » Apr » 27 »

autocorrelatie verkoop rode wijn non-seasonal = 1

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 27 Apr 2011 19:58:41 +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/27/t13039343097q32p9vby0bfm21.htm/, Retrieved Wed, 27 Apr 2011 21:58:31 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W12
 
Dataseries X:
» Textbox « » Textfile « » CSV «
814 1150 1225 1691 1759 1754 2100 2062 2012 1897 1964 2186 966 1549 1538 1612 2078 2137 2907 2249 1883 1739 1828 1868 1138 1430 1809 1763 2200 2067 2503 2141 2103 1972 2181 2344 970 1199 1718 1683 2025 2051 2439 2353 2230 1852 2147 2286 1007 1665 1642 1518 1831 2207 2822 2393 2306 1785 2047 2171 1212 1335 2011 1860 1954 2152 2835 2224 2182 1992 2389 2724 891 1247 2017 2257 2255 2255 3057 3330 1896 2096 2374 2535 1041 1728 2201 2455 2204 2660 3670 2665 2639 2226 2586 2684 1185 1749 2459 2618 2585 3310 3923
 
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'Herman Ole Andreas Wold' @ www.yougetit.org


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.207262-2.09320.019404
2-0.250578-2.53070.006455
30.0644280.65070.258355
40.1787171.8050.037016
50.0561010.56660.286118
6-0.577169-5.82910
70.072990.73720.231359
80.1804621.82260.035649
90.0141880.14330.443173
10-0.254376-2.56910.005822
11-0.068058-0.68740.24671
120.6565226.63050
13-0.09859-0.99570.160873
14-0.233777-2.3610.010062
150.0676820.68360.247903
160.1872151.89080.030746
170.0115690.11680.453608
18-0.509154-5.14221e-06
190.1236621.24890.107276
200.0717590.72470.235138
210.0312210.31530.376581
22-0.177318-1.79080.038144
23-0.093229-0.94160.17432
240.5698215.75490
25-0.081781-0.82590.20538
26-0.18505-1.86890.032252
270.062970.6360.26311
280.0983840.99360.161377
290.013160.13290.447263
30-0.348286-3.51750.000326
310.0478780.48350.314873
320.0651330.65780.256071
330.0335540.33890.367699
34-0.138291-1.39670.082772
35-0.10025-1.01250.156852
360.486544.91382e-06
37-0.084926-0.85770.196532
38-0.111987-1.1310.130351
390.0194970.19690.422143
400.0737470.74480.229049
410.0351210.35470.361771
42-0.332614-3.35920.00055
430.0778230.7860.216851
440.029070.29360.384831
450.0248290.25080.401253
46-0.077214-0.77980.218652
47-0.087904-0.88780.188373
480.3569083.60460.000243


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.207262-2.09320.019404
2-0.306711-3.09760.00126
3-0.077284-0.78050.218443
40.1155391.16690.122989
50.1633751.650.051009
6-0.525982-5.31220
7-0.25435-2.56880.005826
8-0.189204-1.91090.029415
90.0677240.6840.247769
10-0.153522-1.55050.06206
11-0.217172-2.19330.015277
120.3630573.66670.000196
130.1926151.94530.027245
140.0374110.37780.353169
150.0152360.15390.439005
16-0.032727-0.33050.370841
17-0.013929-0.14070.444202
18-0.099874-1.00870.157758
190.1029811.04010.150387
20-0.198659-2.00640.023732
210.0168130.16980.432752
220.0693210.70010.242728
23-0.075488-0.76240.223794
240.094980.95920.169852
250.0942150.95150.171795
26-0.012914-0.13040.448243
270.0231520.23380.407794
28-0.167579-1.69250.046805
29-0.098929-0.99910.160046
300.1123321.13450.129623
310.0575930.58170.281038
32-0.001048-0.01060.495789
330.0440470.44480.328686
34-0.053971-0.54510.293446
35-0.113062-1.14190.128091
360.1359441.3730.086387
37-0.025293-0.25540.399446
38-0.016368-0.16530.434512
390.0194560.19650.422307
40-0.065766-0.66420.254029
41-0.04133-0.41740.338626
42-0.015164-0.15310.439293
430.0254690.25720.398763
440.0368850.37250.355139
45-0.007255-0.07330.470867
46-0.042339-0.42760.334919
470.0214850.2170.414324
48-0.071819-0.72530.234952
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/Apr/27/t13039343097q32p9vby0bfm21/15rdj1303934320.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/27/t13039343097q32p9vby0bfm21/15rdj1303934320.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Apr/27/t13039343097q32p9vby0bfm21/2wj341303934320.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/27/t13039343097q32p9vby0bfm21/2wj341303934320.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Apr/27/t13039343097q32p9vby0bfm21/3r0x11303934320.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Apr/27/t13039343097q32p9vby0bfm21/3r0x11303934320.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 (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