Home » date » 2010 » Aug » 03 »

Omzet product X

*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, 03 Aug 2010 14:10:28 +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/03/t1280844697o14kvinwgz7hvbu.htm/, Retrieved Tue, 03 Aug 2010 16:11:39 +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/03/t1280844697o14kvinwgz7hvbu.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:
Philippe De Vocht
 
Dataseries X:
» Textbox « » Textfile « » CSV «
73 72 71 69 89 88 73 63 64 64 65 67 69 71 70 72 88 83 76 70 75 71 75 81 87 90 80 85 105 104 98 94 107 112 121 118 120 122 109 112 132 127 116 113 123 125 137 127 123 128 114 120 143 135 119 117 132 139 158 141 139 150 142 149 166 150 139 140 158 169 186 177 175 187 176 185 204 188 171 171 182 185 200 192 185 195 190 195 213 194 171 171 186 182 193 185 172 185 179 182 193 173 155 164 188 186 200 185 173 190 190 193 195 178 163 165 188 182 200 177
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.95655710.47860
20.9126299.99730
30.8929269.78150
40.8775149.61270
50.8796899.63650
60.878219.62030
70.8461249.26880
80.8067548.83750
90.7813398.55910
100.7580318.30380
110.7542038.26190
120.7533058.2520
130.6994767.66240
140.6500117.12050
150.6258846.85620
160.6066066.6450
170.5979496.55020
180.5855876.41480
190.5480026.00310
200.5064265.54760
210.482135.28150
220.4580915.01811e-06
230.4480544.90821e-06
240.4398954.81882e-06
250.3895534.26732e-05
260.3463313.79390.000117
270.3261233.57250.000255
280.3108643.40530.00045
290.3003643.29030.000657
300.2845523.11710.001143
310.2460992.69590.004015
320.2061392.25810.012872
330.1869112.04750.021395
340.170661.86950.031996
350.1635181.79120.037887
360.1543511.69080.046732
370.1101781.20690.114914
380.0728480.7980.213221
390.0561930.61560.269674
400.0434750.47620.317382
410.0326480.35760.360619
420.0153280.16790.433468
43-0.021528-0.23580.406986
44-0.058859-0.64480.260152
45-0.077116-0.84480.199961
46-0.092896-1.01760.155453
47-0.102863-1.12680.131035
48-0.11747-1.28680.100316


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.95655710.47860
2-0.02792-0.30580.380127
30.2623062.87340.002402
40.0372230.40780.34209
50.296143.24410.000763
6-0.014838-0.16250.435578
7-0.238582-2.61350.005054
8-0.122465-1.34150.091139
90.0252330.27640.391352
10-0.086513-0.94770.172593
110.182732.00170.023786
120.0235980.25850.398231
13-0.50654-5.54890
140.1326251.45280.07444
150.0929411.01810.155336
160.0633610.69410.244484
17-0.059809-0.65520.256804
18-0.016421-0.17990.428774
190.0022170.02430.490334
200.0068020.07450.470365
210.0357080.39120.348184
22-0.08187-0.89680.1858
230.0027820.03050.487868
24-0.029405-0.32210.373964
25-0.13334-1.46070.07336
260.0669770.73370.232282
27-0.021432-0.23480.407391
280.0550550.60310.273791
29-0.055659-0.60970.271602
30-0.012771-0.13990.444488
31-0.039593-0.43370.332635
32-0.000367-0.0040.498398
330.0377470.41350.339988
340.026690.29240.385252
35-0.02098-0.22980.409309
36-0.053241-0.58320.280417
37-0.04575-0.50120.308586
380.009960.10910.456649
39-0.036773-0.40280.343895
40-0.036124-0.39570.346506
41-0.034405-0.37690.353461
42-0.04243-0.46480.321461
43-0.01477-0.16180.435871
44-0.028394-0.3110.378156
45-0.037031-0.40570.342859
46-0.013306-0.14580.442178
47-0.011623-0.12730.44945
48-0.038985-0.42710.335052
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Aug/03/t1280844697o14kvinwgz7hvbu/1mg7p1280844623.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/03/t1280844697o14kvinwgz7hvbu/1mg7p1280844623.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/03/t1280844697o14kvinwgz7hvbu/2ktdz1280844623.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/03/t1280844697o14kvinwgz7hvbu/2ktdz1280844623.ps (open in new window)


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