Home » date » 2009 » May » 14 »

Opgave 6bis - 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:32:26 -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/t1242318794crzzixztry38s4t.htm/, Retrieved Thu, 14 May 2009 18:33:16 +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/t1242318794crzzixztry38s4t.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.9586758.13460
20.9224377.82710
30.8845117.50530
40.845847.17720
50.8050646.83120
60.7637046.48020
70.7212196.11980
80.6794745.76550
90.6373115.40780
100.5935945.03682e-06
110.5499224.66627e-06
120.5117734.34252.3e-05
130.4743244.02487e-05
140.4371233.70910.000203
150.401313.40520.000542
160.3649363.09660.001395
170.3283582.78620.003406
180.2914462.4730.00788
190.2537482.15310.01733
200.2154931.82850.035807
210.1765761.49830.069214
220.1370391.16280.124373
230.0954690.81010.210282
240.0503920.42760.335112
250.0111420.09450.46247
26-0.01662-0.1410.444123
27-0.043326-0.36760.357114
28-0.07001-0.59410.277169
29-0.095523-0.81050.21015
30-0.121115-1.02770.153767
31-0.146858-1.24610.108378
32-0.172596-1.46450.073702
33-0.198307-1.68270.048384
34-0.225893-1.91680.029618
35-0.246355-2.09040.020057
36-0.266071-2.25770.013499
37-0.287425-2.43890.0086
38-0.308432-2.61710.0054
39-0.3229-2.73990.003872
40-0.337703-2.86550.002727
41-0.352206-2.98860.001916
42-0.366038-3.10590.001357
43-0.379802-3.22270.000954
44-0.393241-3.33680.000672
45-0.405214-3.43840.000488
46-0.41674-3.53620.000357
47-0.427805-3.630.000263
48-0.426883-3.62220.00027


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9586758.13460
20.0417530.35430.362081
3-0.036026-0.30570.380362
4-0.031586-0.2680.394727
5-0.047971-0.4070.342592
6-0.032671-0.27720.391202
7-0.037498-0.31820.375635
8-0.016413-0.13930.444814
9-0.027724-0.23520.407342
10-0.045222-0.38370.351159
11-0.028617-0.24280.404417
120.0412930.35040.363536
13-0.007402-0.06280.475047
14-0.022174-0.18820.425643
15-0.009469-0.08030.468093
16-0.033989-0.28840.386933
17-0.033164-0.28140.389603
18-0.034596-0.29360.384971
19-0.038946-0.33050.371002
20-0.038854-0.32970.371297
21-0.043582-0.36980.356306
22-0.041726-0.35410.362164
23-0.056409-0.47860.31682
24-0.083269-0.70660.24106
250.0283650.24070.405241
260.1224511.0390.151133
270.0043530.03690.485318
28-0.030784-0.26120.397338
29-0.022302-0.18920.425219
30-0.040459-0.34330.366186
31-0.043572-0.36970.356337
32-0.039098-0.33180.370519
33-0.035197-0.29870.383032
34-0.069941-0.59350.277364
350.0349340.29640.383878
36-0.002795-0.02370.490572
37-0.033728-0.28620.387778
38-0.027858-0.23640.406904
390.0544090.46170.322853
40-0.015973-0.13550.446284
41-0.036163-0.30690.37992
42-0.029051-0.24650.402997
43-0.03949-0.33510.369268
44-0.043828-0.37190.355533
45-0.02922-0.24790.402443
46-0.021761-0.18460.427013
47-0.03563-0.30230.381636
480.100950.85660.197257
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t1242318794crzzixztry38s4t/1ovn21242318745.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t1242318794crzzixztry38s4t/1ovn21242318745.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t1242318794crzzixztry38s4t/24r6j1242318745.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/14/t1242318794crzzixztry38s4t/24r6j1242318745.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