Home » date » 2009 » May » 11 »

Ken Soltvedt eigen datareeks 6bis

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 11 May 2009 12:40:20 -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/11/t1242067245tsz2fusrffddre7.htm/, Retrieved Mon, 11 May 2009 20:40:47 +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/11/t1242067245tsz2fusrffddre7.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 «
3.42 3.42 3.43 3.47 3.51 3.52 3.52 3.52 3.52 3.52 3.52 3.52 3.52 3.52 3.58 3.6 3.61 3.61 3.61 3.63 3.68 3.69 3.69 3.69 3.69 3.69 3.69 3.69 3.69 3.78 3.79 3.79 3.8 3.8 3.8 3.8 3.81 3.95 3.99 4 4.06 4.16 4.19 4.2 4.2 4.2 4.2 4.2 4.23 4.38 4.43 4.44 4.44 4.44 4.44 4.44 4.45 4.45 4.45 4.45 4.45 4.45 4.45 4.45 4.46 4.46 4.46 4.48 4.58 4.67 4.68 4.68
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3265752.75180.003759
2-0.092382-0.77840.219453
3-0.06918-0.58290.280897
4-0.007429-0.06260.47513
5-0.099125-0.83520.203191
6-0.131686-1.10960.135457
7-0.081387-0.68580.247544
80.1848311.55740.061909
90.0668230.56310.287585
10-0.080964-0.68220.248662
110.0211220.1780.429623
120.2034781.71450.045396
13-0.078955-0.66530.254012
14-0.180589-1.52170.066267
15-0.132168-1.11370.134589
16-0.166606-1.40380.082361
17-0.078762-0.66370.254529
18-0.050472-0.42530.335957
190.0976380.82270.206712
200.202151.70330.046439
21-0.035553-0.29960.382689
22-0.133011-1.12080.133081
23-0.070258-0.5920.277865
24-0.147712-1.24460.108678
25-0.112949-0.95170.172232
26-0.012158-0.10240.459346
270.0925170.77960.219119
280.0418320.35250.362762
290.0180060.15170.439919
30-0.026079-0.21970.41335
310.0640270.53950.295615
320.0358980.30250.381586
33-0.038384-0.32340.37366
34-0.006083-0.05130.479633
350.0530780.44720.32803
36-0.029263-0.24660.402973
37-0.003764-0.03170.487394
380.0026440.02230.491145
390.0487670.41090.341185
400.0154590.13030.448364
41-0.066627-0.56140.288143
42-0.069282-0.58380.280608
43-0.052973-0.44640.328348
44-0.0208-0.17530.430687
450.0359730.30310.381345
460.0409580.34510.365513
470.0019240.01620.493554
480.0228650.19270.423885


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3265752.75180.003759
2-0.222795-1.87730.032293
30.0476680.40170.34457
4-0.020042-0.16890.433188
5-0.119789-1.00940.158115
6-0.059116-0.49810.309971
7-0.048609-0.40960.34167
80.2326591.96040.026936
9-0.138086-1.16350.124254
10-0.013893-0.11710.453569
110.0799670.67380.25131
120.1468761.23760.109971
13-0.237557-2.00170.02457
140.0105050.08850.464859
15-0.073459-0.6190.268956
16-0.247269-2.08350.020402
170.0991740.83570.203077
18-0.092044-0.77560.220287
190.1815261.52960.065284
20-0.081231-0.68450.247956
21-0.083772-0.70590.241287
220.0045270.03810.484839
23-0.142659-1.20210.116666
24-0.119147-1.00390.159407
250.0507560.42770.33509
260.0230460.19420.42329
270.0046260.0390.48451
28-0.02641-0.22250.41227
29-0.016318-0.13750.445512
30-0.04964-0.41830.338506
31-0.027507-0.23180.408687
32-0.037224-0.31370.37735
330.1001650.8440.200751
34-0.043055-0.36280.358919
350.0532460.44870.327522
360.0330140.27820.39084
37-0.095788-0.80710.211145
38-0.031034-0.26150.397233
39-0.08212-0.6920.24561
40-0.01304-0.10990.456409
41-0.064762-0.54570.293493
42-0.007687-0.06480.47427
43-0.060721-0.51160.305245
440.0674120.5680.285907
45-0.037005-0.31180.378049
46-0.06971-0.58740.279403
47-0.023582-0.19870.421529
480.0034420.0290.488471
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/11/t1242067245tsz2fusrffddre7/1azle1242067218.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/11/t1242067245tsz2fusrffddre7/1azle1242067218.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/11/t1242067245tsz2fusrffddre7/2ekx41242067218.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/11/t1242067245tsz2fusrffddre7/2ekx41242067218.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