Home » date » 2007 » Nov » 29 » attachments

autocorrelatie: consumenten vertrouwen

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 29 Nov 2007 10:56:55 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2007/Nov/29/t1196358447lzc6r87u9nnzhkm.htm/, Retrieved Thu, 29 Nov 2007 18:47:29 +0100
 
User-defined keywords:
W11Q1G7
 
Dataseries X:
» Textbox « » Textfile « » CSV «
96 86 82 92 99 101 102 100 101 100 99 97 97 97 96 92 91 87 82 89 91 90 87 89 95 85 94 94 97 99 97 96 94 100 96 98 98 94 93 94 94 97 98 95 89 89 89 90 86 92 91 95 99 98 95 96 94 98 98 98 98 102 101 92 99 101 99 102 102 101 99 98 98
 
Text written by user:
 
Output produced by software:


Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
018.48530
1-0.142507-1.20920.884731
2-0.142638-1.21030.884944
3-0.030371-0.25770.601316
4-0.065998-0.560.711396
5-0.025455-0.2160.585197
6-0.073376-0.62260.732248
70.1506361.27820.102644
8-0.107304-0.91050.817202
90.0567030.48110.315938
100.0526740.4470.328125
11-0.197889-1.67910.951271
12-0.021693-0.18410.572763
13-0.039586-0.33590.631037
14-0.034904-0.29620.616024
150.0139570.11840.453028
160.1882441.59730.057289
17-0.075581-0.64130.738327
18-0.114295-0.96980.83231
190.0440090.37340.354963
200.0252010.21380.415638
21-0.025571-0.2170.58558
22-0.061329-0.52040.697807
230.1759971.49340.069853
24-0.046865-0.39770.653974
250.0026760.02270.490973
260.0735620.62420.267236
27-0.107239-0.910.817058
280.0058390.04950.480311
290.11120.94360.174273
30-0.041481-0.3520.63706
310.0423260.35920.360266
32-0.018857-0.160.563337
330.0575750.48850.313327
34-0.121422-1.03030.84684
35-0.013104-0.11120.544113
360.0329320.27940.390354
37-0.028382-0.24080.594813
380.1854031.57320.060029
39-0.131077-1.11220.86513
40-0.143163-1.21480.88579
410.0499050.42350.336612
42-0.012246-0.10390.541236
430.0130470.11070.456077
44-0.063333-0.53740.703675
450.0874120.74170.230337
460.0488030.41410.340015
470.001980.01680.493321


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
0-0.142507-1.20920.884731
1-0.166324-1.41130.918769
2-0.081652-0.69280.754681
3-0.114933-0.97520.833647
4-0.080327-0.68160.75116
5-0.135614-1.15070.873174
60.0891720.75660.225865
7-0.124924-1.060.853659
80.0428140.36330.358726
90.0281430.23880.405969
10-0.18358-1.55770.938159
11-0.092915-0.78840.783476
12-0.120734-1.02450.845477
13-0.165408-1.40350.917622
14-0.079676-0.67610.74942
150.0923680.78380.217873
16-0.126511-1.07350.856679
17-0.107406-0.91140.81743
18-0.081914-0.69510.755373
19-0.03087-0.26190.602941
20-0.06102-0.51780.696897
21-0.160427-1.36130.911163
220.0396570.33650.368735
23-0.0781-0.66270.745182
24-0.072948-0.6190.731061
250.0005510.00470.498141
26-0.081265-0.68960.753656
27-0.069177-0.5870.720476
280.1012840.85940.196479
29-0.099314-0.84270.798908
300.0764780.64890.259221
31-0.053665-0.45540.67489
320.0512640.4350.332435
33-0.019163-0.16260.564355
34-0.044134-0.37450.645431
35-0.036156-0.30680.620057
360.0708520.60120.274799
370.20131.70810.045964
38-0.102105-0.86640.805423
39-0.097301-0.82560.794128
400.0346370.29390.384839
41-0.015266-0.12950.551351
420.0096310.08170.467548
43-0.049893-0.42340.663353
44-0.03073-0.26070.602485
450.0948890.80520.21169
460.0378630.32130.374465
470.0781340.6630.254728
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t1196358447lzc6r87u9nnzhkm/19hy21196359013.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t1196358447lzc6r87u9nnzhkm/19hy21196359013.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t1196358447lzc6r87u9nnzhkm/25gqh1196359013.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t1196358447lzc6r87u9nnzhkm/25gqh1196359013.ps (open in new window)


 
Parameters:
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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 1:par1) {
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(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-1,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(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:

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