Home » date » 2008 » Dec » 10 »

Paper TW

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 10 Dec 2008 03:54:14 -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/10/t122890649651assy26tqy74ee.htm/, Retrieved Wed, 10 Dec 2008 10:54:58 +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/10/t122890649651assy26tqy74ee.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:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
101.0 98.7 105.1 98.4 101.7 102.9 92.2 94.9 92.8 98.5 94.3 87.4 103.4 101.2 109.6 111.9 108.9 105.6 107.8 97.5 102.4 105.6 99.8 96.2 113.1 107.4 116.8 112.9 105.3 109.3 107.9 101.1 114.7 116.2 108.4 113.4 108.7 112.6 124.2 114.9 110.5 121.5 118.1 111.7 132.7 119.0 116.7 120.1 113.4 106.6 116.3 112.6 111.6 125.1 110.7 109.6 114.2 113.4 116.0 109.6 117.8 115.8 125.3 113.0 120.5 116.6 111.8 115.2 118.6 122.4 116.4 114.5 119.8 115.8 127.8 118.8 119.7 118.6 120.8 115.9 109.7 114.8 116.2 112.2
 
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.473847-4.3172.2e-05
2-0.088583-0.8070.210978
30.2806082.55650.006198
4-0.223456-2.03580.022481
5-0.086249-0.78580.21712
60.2549842.3230.011313
7-0.205669-1.87370.032243
8-0.087378-0.7960.214138
90.3265842.97530.001916
10-0.282602-2.57460.005905
11-0.057832-0.52690.299843
120.4264363.8850.000102
13-0.367363-3.34680.000615
140.1281761.16770.123129
150.0268270.24440.40376
16-0.138031-1.25750.106046
170.0567460.5170.303274
180.1571061.43130.078049
19-0.283538-2.58320.005772
200.2089811.90390.030194
210.0567120.51670.30338
22-0.239021-2.17760.016138
230.097590.88910.188264
240.1137571.03640.151518
25-0.155053-1.41260.080757
260.0968430.88230.190086
27-0.04094-0.3730.355056
28-0.045497-0.41450.339789
290.0775340.70640.240967
300.0579250.52770.29955
31-0.134149-1.22220.112554
320.1603221.46060.07395
33-0.097415-0.88750.188688
34-0.053953-0.49150.312172
350.020310.1850.426828
360.0497720.45340.325705
37-0.018116-0.1650.434655
380.0161280.14690.44177
39-0.046415-0.42290.336744
400.0351070.31980.374946
41-0.005098-0.04640.481533
42-0.020801-0.18950.425078
43-0.021162-0.19280.423794
440.0688220.6270.266191
45-0.049859-0.45420.325421
460.0348260.31730.375914
47-0.113227-1.03150.152641
480.1526631.39080.083998
49-0.047522-0.43290.333089
500.0274230.24980.401667
51-0.058175-0.530.298763
520.0184970.16850.433294
530.0156060.14220.443643
54-0.030399-0.27690.391255
550.0055180.05030.480014
56-0.019147-0.17440.430974
570.0238560.21730.414239
580.0011920.01090.49568
59-0.059604-0.5430.294287
600.1170941.06680.144583


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.473847-4.3172.2e-05
2-0.403774-3.67860.000208
30.0467740.42610.335556
4-0.08176-0.74490.229228
5-0.242454-2.20890.01497
60.0010810.00980.496084
7-0.081392-0.74150.230237
8-0.244483-2.22730.014316
90.0666550.60730.27267
10-0.086787-0.79070.215695
11-0.252532-2.30070.011959
120.1985191.80860.037068
130.0093850.08550.466035
140.116151.05820.146522
15-0.158605-1.4450.076116
16-0.05849-0.53290.297773
170.0078170.07120.471699
180.0712620.64920.258993
19-0.11607-1.05750.146687
200.124321.13260.13032
210.0216910.19760.421915
22-0.008022-0.07310.470959
23-0.146629-1.33590.092624
24-0.030708-0.27980.390177
250.0874890.79710.213844
26-0.057008-0.51940.302442
27-0.090055-0.82040.207157
280.0428340.39020.348681
29-0.013406-0.12210.451542
300.0214030.1950.42294
310.0954330.86940.193559
320.0857340.78110.21849
33-0.014792-0.13480.446564
34-0.070563-0.64290.261043
35-0.036577-0.33320.369901
360.0610970.55660.289643
370.0501380.45680.32451
38-0.029405-0.26790.394722
390.0074050.06750.473188
400.044450.4050.343276
41-0.053757-0.48970.312803
42-0.124381-1.13320.130204
43-0.056599-0.51560.303736
440.0103440.09420.462573
45-0.009741-0.08870.46475
460.0248470.22640.410735
47-0.100508-0.91570.181246
480.0395990.36080.359595
49-0.047479-0.43260.333231
500.0942430.85860.196519
51-0.003035-0.02770.489003
52-0.044604-0.40640.342762
530.0562520.51250.304837
540.0218830.19940.421233
550.0026890.02450.490258
56-0.085952-0.78310.21791
57-0.105646-0.96250.169303
58-0.001788-0.01630.493521
590.0273970.24960.401757
60-0.035272-0.32130.374381
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t122890649651assy26tqy74ee/1v9jy1228906453.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t122890649651assy26tqy74ee/1v9jy1228906453.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t122890649651assy26tqy74ee/225c21228906453.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t122890649651assy26tqy74ee/225c21228906453.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