Home » date » 2010 » Aug » 19 »

gedifferentieerde Autocorrelation aantal stuks product Y

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 19 Aug 2010 14:46:43 +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/Aug/19/t12822291705uldm2lz856uphv.htm/, Retrieved Thu, 19 Aug 2010 16:46:12 +0200
 
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/Aug/19/t12822291705uldm2lz856uphv.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:
Sebastien Delforge
 
Dataseries X:
» Textbox « » Textfile « » CSV «
152 151 150 148 146 145 146 148 149 149 150 152 154 164 167 162 164 172 169 174 181 181 172 181 183 200 199 190 197 194 190 195 204 197 185 193 192 211 210 197 191 182 170 166 175 163 153 171 165 184 179 163 163 148 132 127 130 118 113 137 133 155 151 132 134 118 102 98 91 77 74 102 98 113 114 96 102 90 72 67 62 48 43 75
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.009346-0.08510.466175
2-0.021371-0.19470.423052
30.1924981.75370.041583
4-0.232205-2.11550.018693
5-0.135012-1.230.111082
6-0.077176-0.70310.241979
7-0.089125-0.8120.209566
8-0.276711-2.5210.006809
90.1000670.91170.182297
100.0483010.440.330526
11-0.007171-0.06530.474033
120.7801717.10770
13-0.03202-0.29170.385614
14-0.04782-0.43570.332106
150.1837511.67410.048943
16-0.188397-1.71640.044911
17-0.108111-0.98490.163759
18-0.070668-0.64380.260734
19-0.105233-0.95870.170242
20-0.232517-2.11830.018569
210.0183720.16740.43374
220.0437610.39870.345577
23-0.015955-0.14540.442389
240.5342714.86743e-06
25-0.099052-0.90240.184726
26-0.080297-0.73150.233255
270.1663311.51530.066742
28-0.137455-1.25230.106994
29-0.086342-0.78660.216874
30-0.040416-0.36820.356828
31-0.094821-0.86390.195076
32-0.167549-1.52640.06535
33-0.003938-0.03590.485734
340.0304420.27730.391105
35-0.00882-0.08040.468074
360.3123192.84540.002793
37-0.132956-1.21130.114612
38-0.082821-0.75450.226331
390.1239741.12950.13098
40-0.082111-0.74810.228266
41-0.065745-0.5990.275414
42-0.007219-0.06580.47386
43-0.064619-0.58870.278827
44-0.124126-1.13080.13069
45-0.004047-0.03690.48534
460.0382330.34830.36424
47-0.009655-0.0880.465058
480.1452691.32350.094657


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.009346-0.08510.466175
2-0.02146-0.19550.422735
30.1921991.7510.041819
4-0.238729-2.17490.016241
5-0.131201-1.19530.117686
6-0.132414-1.20630.115555
7-0.00408-0.03720.48522
8-0.323017-2.94280.002108
90.0919660.83790.20226
10-0.036011-0.32810.371841
110.0816680.7440.229478
120.7383926.72710
13-0.126283-1.15050.126622
14-0.003968-0.03610.485625
15-0.134989-1.22980.111121
160.0594590.54170.29474
170.0881910.80350.212002
180.0114940.10470.458426
19-0.12967-1.18130.12042
200.1451641.32250.094817
21-0.128789-1.17330.12201
22-0.065721-0.59870.275486
23-0.093152-0.84870.199258
24-0.170871-1.55670.061672
25-0.108213-0.98590.163531
26-0.079626-0.72540.235115
27-0.053556-0.48790.313446
280.1015770.92540.178719
29-0.070236-0.63990.262008
30-0.015969-0.14550.44234
310.0091740.08360.466798
320.0422870.38530.350519
330.0420990.38350.351149
34-0.035249-0.32110.374456
350.0358240.32640.372483
36-0.055418-0.50490.307491
370.0518790.47260.318854
38-0.030993-0.28240.389184
39-0.03193-0.29090.385929
400.0226390.20630.418549
41-0.018444-0.1680.433482
42-0.031189-0.28410.388502
430.0130350.11880.452877
44-0.130295-1.1870.119299
45-0.020067-0.18280.427693
460.0155650.14180.443789
47-0.057449-0.52340.30105
48-0.020323-0.18520.426779
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Aug/19/t12822291705uldm2lz856uphv/1lqbg1282229201.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/19/t12822291705uldm2lz856uphv/1lqbg1282229201.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/19/t12822291705uldm2lz856uphv/2lqbg1282229201.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/19/t12822291705uldm2lz856uphv/2lqbg1282229201.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