Home » date » 2009 » Aug » 18 »

GuyVanHasseltpartialautocorrelationGedifferentieerd

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 18 Aug 2009 07:12:32 -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/Aug/18/t1250601184dzbyu286edf7agi.htm/, Retrieved Tue, 18 Aug 2009 15:13:06 +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/Aug/18/t1250601184dzbyu286edf7agi.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 «
0.8800 1.0300 0.6900 0.7100 1.1100 1.0500 1.0300 0.6500 0.5900 0.7700 0.9000 1.2600 0.9600 0.8300 0.8700 0.7900 1.1200 0.8800 0.6400 0.6400 0.5800 0.5000 0.9900 1.0700 0.8900 0.8900 0.8300 0.8600 0.9000 1.1200 0.8800 0.8800 0.8900 0.8200 0.8800 0.8100 0.8800 0.7600 1.1300 0.8500 1.4500 1.5500 0.7100 0.8100 0.8300 0.7300 0.9000 0.9400 1.7800 0.8800 1.0400 0.8300 1.4100 0.9600 1.3000 0.8300 1.4000 0.9100 0.8700 0.9700 1.1900 1.2300 1.3300 1.1700 1.0900 0.6300 0.8900 0.6300 1.5100 0.9700 0.8400 0.9200 0.9500 0.7300 1.0200 0.7900 1.2700 0.9500 0.7500 0.5200 0.9500 0.8200 0.7600 1.2400 0.9400 1.0400 1.8100 0.9500 1.3900 0.8600 1.1500 1.5100 0.6000 0.7200 1.1000 1.6200 1.8400 1.7300 1.3600 1.0700 1.0000 1.4900 0.9000 1.4300 1.5400 0.8100 1.6100 1.3000 1.4000 1.0300 0.7900 1.1100 1.1500 1.0300 1.5900 1.1100 1.3300 0.9300 1.0700 1.1400 1.1200 0.8600 0.8200 1.0200 1.0700 1.3100 0.9800 0.8900 etc...
 
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
1-0.478094-5.4720
20.1024761.17290.121483
3-0.12443-1.42420.078388
4-0.082956-0.94950.172063
50.060210.68910.245979
60.037320.42720.334985
7-0.091143-1.04320.149393
80.2100392.4040.008808
9-0.245355-2.80820.002872
100.1737391.98850.024418
11-0.130342-1.49180.069073
120.17181.96630.025687
13-0.044009-0.50370.307656
14-0.084706-0.96950.167041
150.0418720.47920.316281
160.0173050.19810.421653
17-0.144717-1.65640.050021
180.2485782.84510.002577
19-0.259091-2.96540.001796
200.2168922.48240.007157
21-0.103943-1.18970.118161
22-0.016608-0.19010.424766
230.0590570.67590.250134
24-0.006139-0.07030.472043
25-0.017324-0.19830.421565
26-0.0428-0.48990.312524
27-0.067865-0.77670.219355
280.1856792.12520.017724
29-0.097159-1.1120.134079
300.1249561.43020.077522
31-0.178281-2.04050.021654
320.097231.11280.133906
33-0.116677-1.33540.092027
340.0527340.60360.273587
350.0420550.48130.315539
360.0168030.19230.423895
37-0.04354-0.49830.30954
380.0571220.65380.257197
39-0.083693-0.95790.169937
400.1506481.72420.043511
41-0.194275-2.22360.013945
420.0484130.55410.290224
430.0882331.00990.15721
44-0.111179-1.27250.102725
450.0820710.93930.174642
46-0.049223-0.56340.287069
470.0166050.190.424783
480.0776110.88830.188005
49-0.118013-1.35070.089556
500.1035731.18540.118994
51-0.053625-0.61380.270216
520.0373450.42740.334883
53-0.052861-0.6050.273106
54-0.03994-0.45710.324164
550.0347030.39720.345934
560.0349290.39980.344984
57-0.002057-0.02350.490624
580.0563020.64440.26022
59-0.102931-1.17810.120447
600.102191.16960.122139


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.478094-5.4720
2-0.163461-1.87090.031795
3-0.193893-2.21920.014097
4-0.305859-3.50070.000317
5-0.22214-2.54250.006085
6-0.116142-1.32930.093028
7-0.264418-3.02640.00149
8-0.003068-0.03510.48602
9-0.214301-2.45280.007745
10-0.105654-1.20930.11437
11-0.180023-2.06050.020667
120.0490950.56190.287567
130.0845330.96750.167532
14-0.040525-0.46380.321769
150.0620970.71070.239256
160.1334541.52740.06453
17-0.061131-0.69970.242683
180.1490991.70650.045141
19-0.036865-0.42190.336881
200.0245420.28090.389615
210.0313720.35910.360062
22-0.041177-0.47130.319108
23-0.033554-0.3840.350783
24-0.003309-0.03790.484923
250.0180810.20690.418186
26-0.180384-2.06460.020468
27-0.192741-2.2060.014563
28-0.074676-0.85470.197137
29-0.03021-0.34580.365035
300.0421460.48240.315171
31-0.1022-1.16970.122117
320.0640280.73280.232485
33-0.125749-1.43930.076231
34-0.079673-0.91190.181749
350.0056890.06510.474091
36-0.121089-1.38590.084062
37-0.037837-0.43310.332839
38-0.013457-0.1540.438914
390.0227910.26090.397308
400.1233481.41180.080193
41-0.053331-0.61040.271329
42-0.12146-1.39020.083417
430.0987391.13010.130246
44-0.050451-0.57740.282319
45-0.01998-0.22870.409737
46-0.057198-0.65470.256916
47-0.022709-0.25990.397669
48-0.032358-0.37030.35586
49-0.016286-0.18640.426207
50-0.048644-0.55680.289323
510.0285060.32630.372373
520.0714830.81820.207375
53-0.019785-0.22640.410604
540.0571980.65470.256918
55-0.08454-0.96760.167512
560.033530.38380.350887
570.0695580.79610.213699
58-0.049725-0.56910.285121
59-0.021519-0.24630.402918
600.0585130.66970.252109
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t1250601184dzbyu286edf7agi/1sb9x1250601150.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t1250601184dzbyu286edf7agi/1sb9x1250601150.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t1250601184dzbyu286edf7agi/2b29i1250601150.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t1250601184dzbyu286edf7agi/2b29i1250601150.ps (open in new window)


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