Home » date » 2009 » Jun » 02 »

autocorrelation - sigaretten - caroline thys

*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, 02 Jun 2009 08:25:07 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/02/t1243952761xo9ovx4l6navygx.htm/, Retrieved Tue, 02 Jun 2009 16:26:03 +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/2009/Jun/02/t1243952761xo9ovx4l6navygx.htm/},
    year = {2009},
}
@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 = {2009},
    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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
106,07 106,07 106,07 106,07 106,07 106,2 107,5 108,31 108,53 108,61 108,62 108,62 108,62 108,62 110,1 110,74 110,77 110,77 110,78 110,78 110,78 110,84 110,84 110,84 110,84 110,84 111,01 112,66 114,04 114,16 114,2 114,2 114,23 114,23 114,23 114,23 114,23 114,23 115,97 116,96 117,08 117,08 117,08 117,63 119,12 119,47 119,5 119,52 119,49 119,49 119,5 119,5 119,56 122,35 122,92 122,92 123,04 123,04 123,04 123,06 123,33 128,21 129,57 129,79 131,66 135,01 136,01 136,31 136,37 136,4 136,4 136,4 137,34 142,18 143,79 144,08 144,08 144,09 144,09 144,11 144,11 144,15 144,15 144,16 144,2 144,38 144,38 144,28 144,46 144,53 144,53 145,34 147,98 150,42 150,53 150,64
 
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.9708269.51210
20.9392199.20240
30.9070048.88680
40.877278.59550
50.85018.32920
60.8236268.06990
70.7979217.8180
80.7722687.56660
90.7450687.30010
100.7164987.02020
110.6872466.73360
120.6569726.4370
130.6246536.12030
140.5914785.79530
150.5592475.47950
160.5272345.16581e-06
170.494874.84872e-06
180.4618154.52489e-06
190.4279444.1933.1e-05
200.3927583.84820.000107
210.355733.48540.000371
220.3181833.11750.001203
230.2821812.76480.003415
240.2520752.46980.007642
250.2228032.1830.015737
260.1930151.89120.030809
270.1624431.59160.05738
280.1322721.2960.099042
290.1024391.00370.159026
300.0722050.70750.240496
310.0425030.41640.339009
320.0163130.15980.436675
33-0.008222-0.08060.46798
34-0.033072-0.3240.373306
35-0.056963-0.55810.289031
36-0.074952-0.73440.232255
37-0.092987-0.91110.182268
38-0.111575-1.09320.138519
39-0.129343-1.26730.104056
40-0.147056-1.44090.07644
41-0.164966-1.61630.054652
42-0.182945-1.79250.038102
43-0.200185-1.96140.026364
44-0.213136-2.08830.019709
45-0.224767-2.20230.015021
46-0.23658-2.3180.011286
47-0.249232-2.4420.008219
48-0.262822-2.57510.005774


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9708269.51210
2-0.057108-0.55950.288548
3-0.025213-0.2470.402703
40.0272180.26670.395142
50.0254940.24980.401644
6-0.007005-0.06860.47271
7-0.001198-0.01170.495331
8-0.011309-0.11080.456002
9-0.039541-0.38740.34965
10-0.035695-0.34970.363652
11-0.024798-0.2430.404272
12-0.035511-0.34790.364325
13-0.056122-0.54990.29184
14-0.03475-0.34050.36712
15-0.005669-0.05550.477911
16-0.023193-0.22720.410359
17-0.032126-0.31480.37681
18-0.033557-0.32880.371517
19-0.035362-0.34650.36487
20-0.045973-0.45040.326703
21-0.055351-0.54230.294424
22-0.034191-0.3350.369177
23-0.003337-0.03270.486993
240.0701630.68750.246728
25-0.019242-0.18850.425427
26-0.034659-0.33960.367456
27-0.029251-0.28660.387519
28-0.00764-0.07490.470242
29-0.014979-0.14680.441812
30-0.029819-0.29220.385397
31-0.015433-0.15120.440063
320.0331260.32460.373107
33-0.001869-0.01830.492716
34-0.034323-0.33630.368693
35-0.007623-0.07470.47031
360.0790590.77460.220236
37-0.029038-0.28450.388314
38-0.027621-0.27060.39363
390.0048760.04780.480996
40-0.017913-0.17550.430525
41-0.032611-0.31950.375013
42-0.025827-0.25310.400383
43-0.016211-0.15880.437066
440.0358450.35120.3631
45-0.012375-0.12130.451872
46-0.024012-0.23530.407251
47-0.025946-0.25420.399937
48-0.041042-0.40210.344241
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243952761xo9ovx4l6navygx/1kd911243952706.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243952761xo9ovx4l6navygx/1kd911243952706.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243952761xo9ovx4l6navygx/2ga301243952706.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243952761xo9ovx4l6navygx/2ga301243952706.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