Home » date » 2008 » Dec » 09 »

*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, 09 Dec 2008 07:02:49 -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/09/t1228831393i5j1nfm3r9tehrg.htm/, Retrieved Tue, 09 Dec 2008 14:03:15 +0000
 
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/09/t1228831393i5j1nfm3r9tehrg.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},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
137.0 135.9 138.1 137.1 135.1 139.6 131.8 136.7 128.9 131.3 129.5 129.0 129.8 125.4 128.6 130.2 124.6 123.7 124.4 119.2 124.4 123.1 120.9 120.9 117.8 113.6 113.2 115.9 121.1 107.6 114.7 112.8 112.1 109.8 108.5 102.7 110.6 108.2 112.7 107.9 102.7 108.4 108.4 106.9 108.9 103.7 103.6 111.6 105.5 105.5 101.3 103.8 100.3 108.2 105.6 103.0 100.5 104.3 99.1 91.5
 
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.8754156.78090
20.8356666.4730
30.7925016.13870
40.7449325.77020
50.7053875.46390
60.6606125.11712e-06
70.6182384.78896e-06
80.5641434.36982.5e-05
90.5251144.06757e-05
100.4875583.77660.000184
110.4373483.38770.000625
120.3745082.90090.002597
130.3601722.78990.003529
140.3097322.39920.009778
150.2671262.06910.021424
160.2319721.79680.038697
170.1792071.38810.085115
180.1356771.05090.148749
190.1075220.83290.204114
200.0539740.41810.33869
210.0229060.17740.429886
22-0.026735-0.20710.41832
23-0.047306-0.36640.357666
24-0.089371-0.69230.245722
25-0.132286-1.02470.154813
26-0.154713-1.19840.117736
27-0.180351-1.3970.083781
28-0.226699-1.7560.042095
29-0.251143-1.94530.028212
30-0.261163-2.0230.02377
31-0.301639-2.33650.011412
32-0.302237-2.34110.011283
33-0.313553-2.42880.009082
34-0.335366-2.59770.005894
35-0.355937-2.75710.003858
36-0.350062-2.71160.004361
37-0.355904-2.75680.00386
38-0.363145-2.81290.003313
39-0.367607-2.84750.003013
40-0.361873-2.80310.003404
41-0.365049-2.82770.003182
42-0.35387-2.74110.004028
43-0.364811-2.82580.003198
44-0.362669-2.80920.003347
45-0.356264-2.75960.003831
46-0.33187-2.57070.006325
47-0.32844-2.54410.006775
48-0.32236-2.4970.007644
49-0.313314-2.42690.009124
50-0.299024-2.31620.011989
51-0.273947-2.1220.018989
52-0.263835-2.04370.022693
53-0.225387-1.74580.042979
54-0.222104-1.72040.045256
55-0.187654-1.45360.07564
56-0.163224-1.26430.105501
57-0.126506-0.97990.165533
58-0.09461-0.73280.233253
59-0.057679-0.44680.32832
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8754156.78090
20.2966622.29790.012534
30.0857330.66410.25459
4-0.008105-0.06280.475076
50.0083520.06470.474316
6-0.025542-0.19790.421915
7-0.021049-0.1630.435517
8-0.078769-0.61010.272037
90.0014380.01110.495575
100.0102180.07910.468589
11-0.062958-0.48770.313779
12-0.129722-1.00480.159509
130.1322841.02470.154816
14-0.057536-0.44570.32872
15-0.050252-0.38930.349234
16-0.012532-0.09710.461495
17-0.079863-0.61860.269256
18-0.044193-0.34230.366654
190.044950.34820.36446
20-0.123253-0.95470.171776
210.0266910.20670.418453
22-0.073061-0.56590.286777
230.0439510.34040.367356
24-0.079297-0.61420.270692
25-0.041481-0.32130.374545
26-0.003242-0.02510.490023
270.0347830.26940.394261
28-0.135918-1.05280.148324
29-0.020713-0.16040.436536
300.0761590.58990.278728
31-0.080494-0.62350.26766
320.0336480.26060.397633
330.0430610.33350.369941
34-0.100966-0.78210.218622
35-0.02238-0.17340.431477
360.0616880.47780.317253
37-0.035555-0.27540.391974
380.0035020.02710.489226
39-0.024788-0.1920.424192
40-0.022664-0.17560.430616
410.0226450.17540.430675
420.0164980.12780.449372
43-0.150892-1.16880.123553
440.0610630.4730.318966
450.0024620.01910.492423
460.0293520.22740.410459
47-0.027286-0.21140.416663
48-0.024802-0.19210.424149
49-0.054424-0.42160.337423
500.0704550.54570.293633
510.001910.01480.494122
52-0.025918-0.20080.420781
530.0988890.7660.223343
54-0.067023-0.51920.302781
550.0293240.22710.410543
560.028140.2180.414097
570.0361580.28010.39019
580.095950.74320.230123
590.0157770.12220.451573
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228831393i5j1nfm3r9tehrg/110ko1228831368.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228831393i5j1nfm3r9tehrg/110ko1228831368.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228831393i5j1nfm3r9tehrg/2wyou1228831368.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228831393i5j1nfm3r9tehrg/2wyou1228831368.ps (open in new window)


 
Parameters (Session):
 
Parameters (R input):
par1 = 60 ; 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