Home » date » 2009 » May » 14 »

oefening 6BIS eigen reeks

*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 11:12:06 -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/t1242321322llpqkiolt8ewc4o.htm/, Retrieved Thu, 14 May 2009 19:15:24 +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/t1242321322llpqkiolt8ewc4o.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 «
49.1 52.7 55.1 60.4 57.5 55.9 62.6 61.3 67.1 68.6 74.8 76.9 85.7 86.5 90.8 89.7 96.3 107.5 109.2 100.2 116.8 120.1 123.3 130.2 131.4 125.6 124.5 134.3 135.2 151.8 146.4 140.0 127.8 148.0 165.9 165.5 179.9 190.0 189.8 190.9 203.6 183.5 169.3 144.2 141.5 154.3 169.5 194.0 203.2 192.9 209.4 227.2 263.7 297.8 337.1 361.3 355.2 312.6 309.9 323.7 324.1 355.3 383.4 395.1 412.8 407.0 438.0 446.1 452.5 447.3 475.9 487.7
 
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.3518012.96430.002064
20.0981160.82670.205576
3-0.10444-0.880.190906
4-0.175939-1.48250.071318
5-0.20345-1.71430.045418
6-0.007661-0.06460.474356
70.1223461.03090.153042
80.1618871.36410.088425
9-0.023665-0.19940.421258
10-0.145822-1.22870.111617
11-0.028049-0.23630.406923
12-0.021498-0.18110.428383
13-0.01514-0.12760.449423
140.1365731.15080.126841
150.0912940.76930.222147
160.2030581.7110.045724
170.1245191.04920.148819
180.0755520.63660.263213
190.0655360.55220.291268
20-0.076336-0.64320.261077
21-0.121827-1.02650.154063
22-0.095268-0.80270.212402
23-0.133186-1.12220.13277
24-0.040627-0.34230.366558
250.0678490.57170.284663
260.0765190.64480.26058
27-0.019998-0.16850.433331
28-0.038659-0.32570.372788
29-0.131267-1.10610.136213
300.0091250.07690.469464
31-0.045137-0.38030.352417
320.0092250.07770.469132
330.0269560.22710.410487
340.0102280.08620.465781
35-0.030132-0.25390.400154
36-0.056664-0.47750.31725
370.0253010.21320.415894
380.0202040.17020.432653
39-0.000975-0.00820.496733
40-0.087467-0.7370.231773
41-0.001711-0.01440.494267
42-0.013841-0.11660.453741
43-0.040555-0.34170.366785
44-0.003994-0.03370.486624
45-0.067738-0.57080.284979
46-0.023047-0.19420.423286
47-0.058633-0.4940.311399
48-0.062151-0.52370.301061


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3518012.96430.002064
2-0.02927-0.24660.402952
3-0.148113-1.2480.108061
4-0.103772-0.87440.192425
5-0.109798-0.92520.179005
60.1148410.96770.168247
70.0965170.81330.209391
80.0432870.36470.358195
9-0.163528-1.37790.08628
10-0.126127-1.06280.145745
110.1642811.38430.085308
120.0245040.20650.418507
13-0.052139-0.43930.330878
140.091260.7690.222232
15-0.04563-0.38450.350885
160.2632442.21810.014873
170.0768040.64720.259808
180.0018320.01540.493863
190.052170.43960.330785
20-0.135024-1.13770.129529
210.0542920.45750.324364
22-0.038615-0.32540.372927
23-0.162351-1.3680.087814
240.0362680.30560.380403
250.0165080.13910.444884
260.0924080.77860.219388
27-0.128241-1.08060.141772
28-0.073136-0.61630.269849
29-0.042698-0.35980.36004
300.0751370.63310.264346
31-0.037043-0.31210.377928
32-0.142664-1.20210.116658
33-0.130271-1.09770.138025
340.0617150.520.302335
350.0658870.55520.290261
36-0.034604-0.29160.385729
370.0468850.39510.346992
38-0.04973-0.4190.338229
390.103530.87240.192976
40-0.036653-0.30880.379172
410.0244290.20580.41875
42-0.040085-0.33780.368269
43-0.05069-0.42710.335293
440.0476040.40110.34477
45-0.103646-0.87330.192713
460.0323960.2730.392834
47-0.000281-0.00240.499059
48-0.026471-0.2230.41207
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t1242321322llpqkiolt8ewc4o/16znh1242321125.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t1242321322llpqkiolt8ewc4o/16znh1242321125.ps (open in new window)


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


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