Home » date » 2008 » Dec » 08 »

step 3

*The author of this computation has been verified*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 08 Dec 2008 12:23:15 -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/08/t12287642295iomo7ot17r1qb6.htm/, Retrieved Mon, 08 Dec 2008 19:23:51 +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/08/t12287642295iomo7ot17r1qb6.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 «
9097,4 12639,8 13040,1 11687,3 11191,7 11391,9 11793,1 13933,2 12778,1 11810,3 13698,4 11956,6 10723,8 13938,9 13979,8 13807,4 12973,9 12509,8 12934,1 14908,3 13772,1 13012,6 14049,9 11816,5 11593,2 14466,2 13615,9 14733,9 13880,7 13527,5 13584 16170,2 13260,6 14741,9 15486,5 13154,5 12621,2 15031,6 15452,4 15428 13105,9 14716,8 14180 16202,2 14392,4 15140,6 15960,1 14351,3 13230,2 15202,1 17157,3 16159,1 13405,7 17224,7 17338,4 17370,6 18817,8 16593,2 17979,5 17015,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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1618741.12150.133828
20.2021861.40080.083855
30.4785573.31550.000874
40.0500420.34670.365166
50.036950.2560.399523
60.1605431.11230.135779
7-0.188891-1.30870.098438
8-0.087974-0.60950.272532
90.0635940.44060.330744
10-0.211673-1.46650.074515
11-0.212523-1.47240.07372
12-0.011238-0.07790.469132
13-0.17925-1.24190.110158
14-0.134289-0.93040.178415
15-0.011499-0.07970.468417
16-0.188865-1.30850.098468
170.0424590.29420.38495
180.0896530.62110.268725
19-0.035464-0.24570.403479
200.1267420.87810.192134
210.0760370.52680.300381
22-0.029962-0.20760.418217
230.1610161.11560.135084
24-0.18385-1.27370.104443
25-0.040354-0.27960.390501
260.0443690.30740.379936
27-0.179721-1.24510.109562
28-0.204122-1.41420.081879
29-0.032027-0.22190.412672
30-0.211427-1.46480.074746
31-0.2119-1.46810.074301
32-0.075316-0.52180.302103
33-0.215673-1.49420.070831
34-0.139286-0.9650.169691
35-0.007398-0.05130.479667
36-0.103842-0.71940.237679
37-0.043623-0.30220.381891
380.1213020.84040.202424
390.0491540.34050.367466
400.0505060.34990.363966
410.1620821.12290.133525
420.0769560.53320.298189
430.0766330.53090.298957
440.1307040.90550.184851
450.0076340.05290.47902
460.030180.20910.417629
470.0409950.2840.388807
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1618741.12150.133828
20.1807181.25210.108309
30.4485053.10730.001584
4-0.095348-0.66060.256016
5-0.14425-0.99940.161307
6-0.052908-0.36660.35778
7-0.222081-1.53860.065232
8-0.047035-0.32590.372971
90.1301720.90190.185817
10-0.005442-0.03770.485041
11-0.195754-1.35620.090687
12-0.042826-0.29670.383985
130.0033840.02340.490695
140.0294610.20410.419564
150.0151310.10480.458473
16-0.100482-0.69620.244842
170.1327720.91990.18112
180.05560.38520.350892
190.0552810.3830.351706
200.05330.36930.356774
21-0.115953-0.80330.212867
22-0.152755-1.05830.147604
230.0709580.49160.312618
24-0.280149-1.94090.029076
250.078940.54690.293487
260.0247140.17120.432385
27-0.023052-0.15970.436889
28-0.213834-1.48150.072506
29-0.035723-0.24750.40279
30-0.012877-0.08920.46464
31-0.088194-0.6110.272033
32-0.063967-0.44320.329814
330.0176640.12240.451554
340.0292510.20270.420129
35-0.126926-0.87940.191792
360.0602770.41760.339048
370.0097930.06780.473095
38-0.029643-0.20540.419076
390.0428430.29680.383939
40-0.100161-0.69390.245533
410.0426620.29560.384417
42-0.012542-0.08690.465558
43-0.006088-0.04220.483264
44-0.036236-0.2510.401424
45-0.061105-0.42330.336966
46-0.071331-0.49420.311711
470.0494210.34240.366774
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t12287642295iomo7ot17r1qb6/10c7l1228764193.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t12287642295iomo7ot17r1qb6/10c7l1228764193.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t12287642295iomo7ot17r1qb6/24f881228764193.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t12287642295iomo7ot17r1qb6/24f881228764193.ps (open in new window)


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