Home » date » 2008 » Dec » 14 »

paper autocorrelation

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sun, 14 Dec 2008 04:10:58 -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/14/t1229253098gxb27zcwsqr4m7n.htm/, Retrieved Sun, 14 Dec 2008 12:11:40 +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/14/t1229253098gxb27zcwsqr4m7n.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 «
6340.5 7901.5 8191.1 7181.7 7594.4 7384.7 7876.7 8463.4 8317.2 7778.7 8532.8 7272.2 6680.1 8427.6 8752.8 7952.7 8694.3 7787 8474.2 9154.7 8557.2 7951.1 9156.7 7865.7 7337.4 9131.7 8814.6 8598.8 8439.6 7451.8 8016.2 9544.1 8270.7 8102.2 9369 7657.7 7816.6 9391.3 9445.4 9533.1 10068.7 8955.5 10423.9 11617.2 9391.1 10872 10230.4 9221 9428.6 10934.5 10986 11724.6 11180.9 11163.2 11240.9 12107.1 10762.3 11340.4 11266.8 9542.7 9227.7 10571.9 10774.4 10392.8 9920.2 9884.9 10174.5 11395.4 10760.2 10570.1 10536 9902.6 8889 10837.3 11624.1 10509 10984.9 10649.1 10855.7 11677.4 10760.2 10046.2 10772.8 9987.7 8638.7 11063.7 11855.7 10684.5 11337.4 10478 11123.9 12909.3 11339.9 10462.2 12733.5 10519.2 10414.9 12476.8 12384.6 12266.7 12919.9 11497.3 12142 13919.4 12656.8 12034.1 13199.7 10881.3 11301.2 13643.9 12517 13981.1 14275.7 13435 13565.7 16216.3 12970 14079.9 14235 12213.4 12581
 
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
10.8087078.89580
20.7527728.28050
30.8028968.83190
40.6875057.56260
50.6754617.43010
60.708687.79550
70.5799266.37920
80.572746.30010
90.6010186.61120
100.475145.22650
110.537075.90780
120.6091986.70120
130.4576715.03441e-06
140.4239414.66334e-06
150.4490934.941e-06
160.3615333.97696e-05
170.3804824.18532.7e-05
180.389954.28951.8e-05
190.2893753.18310.000926
200.3068253.37510.000496
210.3101783.4120.000439
220.2127772.34050.010446
230.2800233.08020.00128
240.3213033.53430.00029
250.2128252.34110.010432
260.1886352.0750.020054
270.1848752.03360.022088
280.1362951.49920.068208
290.1540551.69460.046362
300.1400171.54020.063063
310.0770340.84740.19923
320.0929081.0220.154412
330.0864740.95120.171697
340.0356790.39250.3477
350.0822460.90470.18371
360.1097561.20730.114833
370.0482330.53060.298347
380.0061390.06750.473135
390.0156670.17230.43173
40-0.006498-0.07150.471569
410.0015320.01690.493292
420.0046450.05110.479667
43-0.022124-0.24340.404066
44-0.021934-0.24130.404876
45-0.017993-0.19790.42172
46-0.035309-0.38840.3492
47-0.021478-0.23630.406818
480.0247750.27250.392843
49-0.021249-0.23370.40779
50-0.071446-0.78590.216728
51-0.033276-0.3660.357487
52-0.044965-0.49460.310883
53-0.056554-0.62210.267526
54-0.017348-0.19080.424489
55-0.043326-0.47660.317257
56-0.048059-0.52860.29901
57-0.011571-0.12730.449463
58-0.03497-0.38470.35058
59-0.024658-0.27120.393333
600.0375030.41250.340339


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8087078.89580
20.2854533.140.001062
30.4312524.74383e-06
4-0.207434-2.28180.012125
50.1546151.70080.045777
60.0955751.05130.147602
7-0.230084-2.53090.00633
80.0672980.74030.230284
90.0524470.57690.282532
10-0.166479-1.83130.034761
110.3301463.63160.000207
120.2158832.37470.009567
13-0.321351-3.53490.000289
14-0.313277-3.44610.000391
150.0550990.60610.272794
160.1467721.61450.054513
17-0.016685-0.18350.427341
18-0.008184-0.090.464209
190.0728320.80120.212306
20-0.046738-0.51410.304055
21-0.016582-0.18240.427787
22-0.010019-0.11020.456214
230.0472290.51950.302173
24-0.004124-0.04540.481945
25-0.004326-0.04760.481061
26-0.147692-1.62460.053424
27-0.098089-1.0790.141373
280.1147481.26220.104647
29-0.01543-0.16970.432754
30-0.058182-0.640.26169
310.0925161.01770.155431
320.0048440.05330.478797
330.0113070.12440.450613
340.0379460.41740.338559
35-0.028433-0.31280.377501
36-0.084782-0.93260.17644
370.0105150.11570.454054
38-0.090347-0.99380.161146
390.0662540.72880.233769
40-0.021633-0.2380.406158
410.0443770.48810.313166
420.047860.52650.299767
430.1030751.13380.129554
44-0.080396-0.88440.18913
45-0.087759-0.96530.168148
460.0704280.77470.220013
47-0.050232-0.55260.290795
48-0.02556-0.28120.389534
49-0.010965-0.12060.452097
50-0.006647-0.07310.470918
510.1328351.46120.073279
52-0.04642-0.51060.305274
53-0.029255-0.32180.374077
540.0688910.75780.225022
550.0112240.12350.450973
560.0402330.44260.329436
57-0.057379-0.63120.264559
58-0.004016-0.04420.482419
59-0.005635-0.0620.47534
60-0.059993-0.65990.255279
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t1229253098gxb27zcwsqr4m7n/1v6s21229253056.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t1229253098gxb27zcwsqr4m7n/1v6s21229253056.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t1229253098gxb27zcwsqr4m7n/2mtu31229253056.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t1229253098gxb27zcwsqr4m7n/2mtu31229253056.ps (open in new window)


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