Home » date » 2008 » Dec » 13 »

leer gedif en getrans

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sat, 13 Dec 2008 02:49:43 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/13/t1229161824sg39k3avlibwdu6.htm/, Retrieved Sat, 13 Dec 2008 10:50:24 +0100
 
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/2008/Dec/13/t1229161824sg39k3avlibwdu6.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
105.2 91.5 75.3 60.5 80.4 84.5 93.9 78 92.3 90 72.1 76.9 76 88.7 55.4 46.6 90.9 84.9 89 90.2 72.3 83 71.6 75.4 85.1 81.2 68.7 68.4 93.7 96.6 101.8 93.6 88.9 114.1 82.3 96.4 104 88.2 85.2 87.1 85.5 89.1 105.2 82.9 86.8 112 97.4 88.9 109.4 87.8 90.5 79.3 114.9 118.8 125 96.1 116.7 119.5 104.1 121 127.3 117.7 108 89.4 137.4 142 137.3 122.8 126.1 147.6 115.7 139.2 151.2 123.8 109 112.1 136.4 135.5 138.7 137.5 141.5 143.6 146.5 200.7 196.2
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3441412.94030.002194
20.2770832.36740.010283
30.3656953.12450.001278
40.1194291.02040.155454
50.0856250.73160.233384
60.1775841.51730.066757
70.0525070.44860.327517
80.1682321.43740.077442
9-0.02201-0.18810.425677
10-0.041174-0.35180.363004
11-0.012311-0.10520.45826
12-0.233362-1.99380.024952
13-0.130291-1.11320.134636
14-0.156897-1.34050.092116
15-0.185458-1.58460.058695
16-0.099968-0.85410.197915
17-0.0567-0.48440.31476
18-0.183202-1.56530.060922
19-0.014983-0.1280.449246
20-0.01105-0.09440.462521
21-0.101273-0.86530.194861
220.0092010.07860.468778
230.118171.00960.158
24-0.071171-0.60810.27251
250.0416810.35610.361389
260.1887971.61310.055521
270.1686341.44080.076957
280.1732511.48030.071554
290.2581922.2060.015266
300.2042281.74490.042603
310.1205431.02990.153224
320.0487910.41690.338997
330.078450.67030.252398
340.0435370.3720.355493
350.018120.15480.438697
360.0172450.14730.441633
370.0610220.52140.301844
38-0.122996-1.05090.148391
39-0.169151-1.44520.076336
40-0.148915-1.27230.103647
41-0.241048-2.05950.021506
42-0.173344-1.48110.071448
43-0.097958-0.8370.202674
44-0.16472-1.40740.081781
45-0.047669-0.40730.342495
46-0.084655-0.72330.235905
47-0.174088-1.48740.070607
48-0.022017-0.18810.425654


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3441412.94030.002194
20.1799641.53760.064234
30.2644342.25930.013424
4-0.109105-0.93220.177155
5-0.040031-0.3420.366658
60.0937440.80090.21288
7-0.015277-0.13050.448253
80.1560051.33290.093354
9-0.222023-1.8970.030894
10-0.036709-0.31360.377343
11-0.050741-0.43350.332952
12-0.20092-1.71670.045141
130.049550.42340.336639
14-0.151698-1.29610.09951
150.0764240.6530.257914
16-0.037319-0.31890.375374
170.1049170.89640.18649
18-0.12312-1.05190.148148
190.0914980.78180.218442
200.1349311.15290.126366
21-0.144642-1.23580.110243
220.1298931.10980.135362
230.0562750.48080.316045
24-0.150489-1.28580.101293
250.0369210.31550.376659
260.1547871.32250.095066
270.1557851.3310.093661
28-0.043088-0.36810.356916
290.1882061.6080.056072
30-0.095341-0.81460.208978
31-0.051388-0.43910.330959
32-0.030056-0.25680.399027
33-0.082871-0.70810.240583
340.0090740.07750.469208
350.0072710.06210.475316
36-0.092464-0.790.21604
370.0689640.58920.278762
38-0.16984-1.45110.075516
39-0.097511-0.83310.203743
40-0.026002-0.22220.412406
410.0678370.57960.281985
42-0.006685-0.05710.477304
430.0262570.22430.411561
440.0806960.68950.246356
45-0.028868-0.24670.402935
46-0.053882-0.46040.323311
470.0502480.42930.334479
48-0.003426-0.02930.488363
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229161824sg39k3avlibwdu6/1h6p21229161779.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229161824sg39k3avlibwdu6/1h6p21229161779.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229161824sg39k3avlibwdu6/2pxp01229161779.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229161824sg39k3avlibwdu6/2pxp01229161779.ps (open in new window)


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