Home » date » 2008 » Dec » 09 »

6bis oef 2 stap 1- Sandy Dorekens

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 09 Dec 2008 02:46:40 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/09/t1228816053levvf60e49ug77r.htm/, Retrieved Tue, 09 Dec 2008 09:47:35 +0000
 
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/2008/Dec/09/t1228816053levvf60e49ug77r.htm/},
    year = {2008},
}
@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 = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
9.026 9.787 9.536 9.490 9.736 9.694 9.647 9.753 10.070 10.137 9.984 9.732 9.103 9.155 9.308 9.394 9.948 10.177 10.002 9.728 10.002 10.063 10.018 9.960 10.236 10.893 10.756 10.940 10.997 10.827 10.166 10.186 10.457 10.368 10.244 10.511 10.812 10.738 10.171 9.721 9.897 9.828 9.924 10.371 10.846 10.413 10.709 10.662 10.570 10.297 10.635 10.872 10.296 10.383 10.431 10.574 10.653 10.805 10.872 10.625 10.407 10.463 10.556 10.646 10.702 11.353 11.346 11.451 11.964 12.574 13.031 13.812 14.544 14.931 14.886 16.005 17.064 15.168 16.050 15.839 15.137 14.954 15.648 15.305
 
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
10.9402138.61720
20.8828958.09190
30.8367047.66850
40.773387.08810
50.6960456.37940
60.626565.74250
70.5658845.18641e-06
80.4705344.31252.2e-05
90.3911213.58470.000283
100.3295823.02070.001671
110.2643452.42280.008776
120.1993251.82680.035638
130.1448841.32790.093906
140.1042310.95530.171086
150.0725580.6650.253933
160.0483620.44320.329363
170.0376250.34480.365538
180.0294320.26970.394009
190.0175830.16120.436179
200.0081810.0750.470204
210.0021780.020.49206
22-0.004717-0.04320.482809
23-0.011005-0.10090.459951
24-0.013618-0.12480.450485
25-0.014947-0.1370.445684
26-0.020189-0.1850.426824
27-0.025488-0.23360.407933
28-0.027213-0.24940.401826
29-0.033048-0.30290.381362
30-0.03928-0.360.359871
31-0.047378-0.43420.332618
32-0.051817-0.47490.318041
33-0.06585-0.60350.273892
34-0.073311-0.67190.251742
35-0.074392-0.68180.248616
36-0.077977-0.71470.238398
37-0.081404-0.74610.228852
38-0.079335-0.72710.234587
39-0.077239-0.70790.240481
40-0.086088-0.7890.216163
41-0.089813-0.82320.206377
42-0.08711-0.79840.213453
43-0.083-0.76070.224481
44-0.078907-0.72320.235783
45-0.068433-0.62720.266114
46-0.0644-0.59020.278309
47-0.066042-0.60530.273311
48-0.075644-0.69330.245021


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9402138.61720
2-0.009534-0.08740.465289
30.0658970.6040.27375
4-0.170087-1.55890.061393
5-0.156119-1.43090.078091
6-0.0082-0.07520.470136
70.0375950.34460.365643
8-0.309153-2.83340.002882
90.0893960.81930.207458
100.0382230.35030.363488
11-0.000424-0.00390.498453
12-0.001587-0.01450.494216
13-0.020537-0.18820.425576
140.0293530.2690.394285
150.1670641.53120.064743
16-0.031829-0.29170.385612
170.0406550.37260.355189
18-0.007071-0.06480.474241
19-0.069793-0.63970.262065
20-0.031188-0.28580.387851
21-0.035642-0.32670.372366
22-0.077552-0.71080.239596
230.0473570.4340.332688
24-0.005044-0.04620.481619
250.0137760.12630.449915
260.0064230.05890.476599
27-0.014524-0.13310.447209
280.0260960.23920.405778
29-0.00037-0.00340.498653
30-0.016577-0.15190.439803
31-0.026682-0.24450.403704
320.0199870.18320.427546
33-0.111232-1.01950.155456
340.063640.58330.280636
35-0.003742-0.03430.48636
36-0.000336-0.00310.498777
370.0106950.0980.461074
380.0444510.40740.342376
39-0.045281-0.4150.339599
40-0.028823-0.26420.396149
41-0.033798-0.30980.378752
420.0242710.22250.412251
430.0555550.50920.305985
440.0096780.08870.464766
450.0110020.10080.459963
46-0.066425-0.60880.272153
47-0.035156-0.32220.374047
48-0.11877-1.08850.139734
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228816053levvf60e49ug77r/12gty1228815999.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228816053levvf60e49ug77r/12gty1228815999.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228816053levvf60e49ug77r/2fjil1228815999.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228816053levvf60e49ug77r/2fjil1228815999.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; 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 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