Home » date » 2009 » May » 14 »

Oefn 6bis2 - Sofie Loopmans - Uurloon schilder

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 14 May 2009 10:36:57 -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/May/14/t12423190715yuzpzndqb2wnip.htm/, Retrieved Thu, 14 May 2009 18:37:53 +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/May/14/t12423190715yuzpzndqb2wnip.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 «
30,06 30,46 30,46 30,49 30,49 30,5 30,5 30,5 30,51 30,51 30,61 30,88 30,95 31,09 31,28 31,31 31,32 31,34 31,34 31,34 31,34 31,36 31,36 31,36 31,72 32,07 32,13 32,19 32,26 32,27 32,28 32,28 32,28 32,29 32,61 32,68 32,69 32,74 32,86 32,86 32,9 32,95 32,95 32,96 32,99 33 33,06 33,42 33,48 33,5 33,51 33,52 33,55 33,56 33,56 33,56 33,6 33,61 33,62 33,72 33,83 33,96 34,06 34,11 34,11 34,21 34,19 34,17 34,12 34,15 34,15 34,15
 
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.2269551.91240.029933
2-0.037575-0.31660.376232
3-0.016198-0.13650.445912
4-0.102375-0.86260.195623
5-0.257132-2.16660.01681
6-0.206693-1.74160.042953
7-0.21647-1.8240.036179
8-0.241881-2.03810.022632
90.0441850.37230.355387
100.2650052.2330.014352
110.0358750.30230.381659
120.1113940.93860.175552
130.4277943.60470.000288
140.1931151.62720.05406
15-0.04293-0.36170.359311
16-0.099049-0.83460.203372
17-0.14671-1.23620.110229
18-0.144948-1.22140.112996
19-0.163053-1.37390.086897
20-0.096241-0.81090.210054
21-0.085939-0.72410.235681
220.0811380.68370.2482
230.355832.99830.00187
240.1682271.41750.080354
25-0.017131-0.14440.442816
26-0.018333-0.15450.438837
270.0325310.27410.392397
28-0.07431-0.62610.266612
29-0.127489-1.07420.143177
30-0.144549-1.2180.11363
31-0.080195-0.67570.250702
32-0.110781-0.93350.176873
330.1445631.21810.113608
340.0420240.35410.362156
350.0740720.62410.267267
360.1643281.38460.085248
370.1245091.04910.148837
38-0.018137-0.15280.439485
39-0.060246-0.50760.306638
40-0.054005-0.45510.325229
41-0.082838-0.6980.243726
42-0.135533-1.1420.12864
43-0.147262-1.24090.109372
44-0.115292-0.97150.167307
45-0.036248-0.30540.380465
460.1444521.21720.113785
470.0296180.24960.401823
480.0725220.61110.271547


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2269551.91240.029933
2-0.093922-0.79140.215674
30.0153670.12950.448669
4-0.112236-0.94570.173751
5-0.222021-1.87080.032749
6-0.124682-1.05060.148505
7-0.207847-1.75130.042102
8-0.239261-2.01610.02379
90.0415620.35020.36361
100.1407691.18610.119761
11-0.161052-1.3570.089533
120.0377340.31790.375728
130.3440752.89920.002487
140.0590630.49770.310127
15-0.005182-0.04370.482648
16-0.020457-0.17240.431818
170.0407520.34340.366164
180.128141.07970.141959
19-0.116477-0.98150.164851
200.0160770.13550.446313
210.1231371.03760.151496
220.036060.30380.381066
230.1775791.49630.069502
240.048910.41210.340746
25-0.075542-0.63650.263241
26-0.153712-1.29520.099724
27-0.019357-0.16310.435449
28-0.027676-0.23320.408138
290.0171570.14460.442733
30-0.076384-0.64360.260947
310.0009950.00840.496668
32-0.131556-1.10850.135692
330.0823150.69360.245099
34-0.07706-0.64930.259114
350.0478030.40280.344154
36-0.083829-0.70640.241139
37-0.065412-0.55120.291622
380.0337090.2840.388604
390.0802020.67580.250683
400.0109190.0920.463475
410.0182670.15390.439054
42-0.009629-0.08110.467781
43-0.126875-1.06910.14433
44-0.072281-0.6090.272218
45-0.053833-0.45360.325748
46-0.02705-0.22790.41018
47-0.178765-1.50630.068214
480.0218240.18390.427312
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12423190715yuzpzndqb2wnip/1bbr71242319015.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12423190715yuzpzndqb2wnip/1bbr71242319015.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12423190715yuzpzndqb2wnip/2opva1242319015.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t12423190715yuzpzndqb2wnip/2opva1242319015.ps (open in new window)


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