Home » date » 2008 » Dec » 03 »

paper autocorrelation adapted totale industrie

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 03 Dec 2008 08:17:29 -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/03/t122831754603bmz2idy0if7ea.htm/, Retrieved Wed, 03 Dec 2008 15:19:08 +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/03/t122831754603bmz2idy0if7ea.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 «
97.6 96 115.9 109.1 117.3 109.8 112.8 110.7 100 113.3 122.4 112.5 104.2 92.5 117.2 109.3 106.1 118.8 105.3 106 102 112.9 116.5 114.8 100.5 85.4 114.6 109.9 100.7 115.5 100.7 99 102.3 108.8 105.9 113.2 95.7 80.9 113.9 98.1 102.8 104.7 95.9 94.6 101.6 103.9 110.3 114.1 96.8 87.4 111.4 97.4 102.9 112.7 97 95.1 96.9 98.6 111.7 109.8 89.9 87.4 104.5 98.1 102.7 105.4 97 97.4 92 101.7 112.6 106.9 92.1 86 104.7 102 103.1 106 96.1 96.2 90.7 102.3
 
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.0250270.19060.424751
20.3126572.38110.010282
30.2274041.73190.044307
40.04550.34650.365103
50.2180071.66030.051126
60.0934310.71160.239797
7-0.125264-0.9540.172025
8-0.004298-0.03270.487001
9-0.088919-0.67720.25049
10-0.127888-0.9740.167059
11-0.166685-1.26940.104678
12-0.388198-2.95640.002247
13-0.11359-0.86510.195281
14-0.271075-2.06440.021729
15-0.055352-0.42160.337455
16-0.108054-0.82290.206963
17-0.103923-0.79150.215951
180.0047940.03650.4855
19-0.093455-0.71170.239741
20-0.05275-0.40170.34468
210.1647431.25460.107321
22-0.147905-1.12640.132315
230.200991.53070.065641
24-0.019435-0.1480.441422
25-0.022125-0.16850.433388
260.2027951.54440.06396
270.0086790.06610.473764
28-0.023434-0.17850.429489
290.0268980.20480.419204
30-0.052946-0.40320.344133
310.0961790.73250.233413
320.0772940.58870.27919
33-0.067421-0.51350.304789
340.0762460.58070.281855
35-0.021758-0.16570.434483
360.0762270.58050.281905


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0250270.19060.424751
20.3122272.37780.010365
30.2374951.80870.03784
4-0.051508-0.39230.348148
50.0875470.66670.253791
60.064330.48990.313018
7-0.251681-1.91670.030101
8-0.158525-1.20730.11611
9-0.01279-0.09740.46137
10-0.059287-0.45150.326652
11-0.18456-1.40560.082594
12-0.348229-2.6520.005151
130.0346860.26420.396296
14-0.020834-0.15870.43724
150.1131490.86170.196196
160.0999130.76090.224895
170.1245840.94880.173328
180.0740850.56420.287391
19-0.19944-1.51890.067112
20-0.21469-1.6350.053729
210.1734721.32110.095824
22-0.179604-1.36780.088322
23-0.068162-0.51910.302832
24-0.157945-1.20290.116956
25-0.066693-0.50790.306719
260.082650.62940.265766
270.1594241.21410.114808
280.0257170.19590.422704
29-0.020751-0.1580.437488
30-0.01537-0.11710.45361
310.0400220.30480.380806
320.0116680.08890.46475
33-0.028957-0.22050.413117
34-0.027922-0.21270.416172
350.0415270.31630.376471
36-0.140149-1.06730.14512
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/03/t122831754603bmz2idy0if7ea/1n0xo1228317447.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/03/t122831754603bmz2idy0if7ea/1n0xo1228317447.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/03/t122831754603bmz2idy0if7ea/2p1rh1228317447.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/03/t122831754603bmz2idy0if7ea/2p1rh1228317447.ps (open in new window)


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