Home » date » 2007 » Dec » 20 » attachments

partial autocorr totaal

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 20 Dec 2007 08:53:45 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2007/Dec/20/t119816495774dlh2h5jhvcb99.htm/, Retrieved Thu, 20 Dec 2007 16:35:59 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
153,4 159,5 157,4 169,1 172,6 161,7 159,2 157,4 153,9 144,8 142,2 140,1 143,4 153,3 166,9 170,6 182,8 170,3 156,6 155,2 154,7 151,6 152,1 153,2 149,5 149,7 144,3 140 137,8 132,2 128,9 123,1 120,4 122,8 126 124,5 120,6 114,7 111,7 109,1 108 107,7 99,9 103,7 103,4 103,4 104,7 105,8 105,3 103 103,8 103,4 105,8 101,4 97 94,3 96,6 97,1 95,7 96,9 97,4 95,3 93,6 91,5 93,1 91,7 94,3 93,9 90,9 88,3 91,3 91,7 92,4 92 95,6 95,8 96,4 99 107 109,7 116,2 115,9 113,8 112,6 113,7 115,9 110,3 111,3 113,4 108,2 104,8 106 110,9 115 118,4 121,4 128,8 131,7 141,7 142,9 139,4 134,7 125 113,6 111,5 108,5 112,3 116,6 115,5 120,1 132,9 128,1 129,3 132,5 131 124,9 120,8 122 122,1 127,4 135,2 137,3 135 136 138,4 134,7 138,4 133,9 133,6 141,2 151,8 155,4 156,6 161,6 160,7 156 159,5 168,7 169,9 169,9 185,9
 
Text written by user:
 
Output produced by software:


Summary of compuational 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
0111.83220
10.317953.7620.000124
20.1026291.21430.113335
30.0979111.15850.124317
4-0.063666-0.75330.773736
5-0.234806-2.77830.996892
6-0.129779-1.53560.93655
7-0.074969-0.8870.811713
8-0.07924-0.93760.824962
9-0.009676-0.11450.545493
100.1015141.20110.115865
110.138321.63660.051978
120.1412961.67180.048395
130.2109522.4960.00686
140.1395771.65150.050439
15-0.076897-0.90990.817769
16-0.003376-0.03990.515905
17-0.038346-0.45370.67463
180.0503750.5960.276053
190.0940561.11290.133833
200.1187751.40540.081065
210.0861221.0190.154977
220.0566840.67070.251761
23-0.045398-0.53720.703994
24-0.051222-0.60610.727275
25-0.094315-1.11590.866821
26-0.061892-0.73230.767399
270.0127820.15120.440005
28-0.055054-0.65140.742076
29-0.081923-0.96930.832973
300.0519020.61410.27007
310.0812050.96080.169147
320.1500231.77510.039028
330.0820280.97060.166719
340.0025460.03010.488005
35-0.012307-0.14560.557782
360.0299070.35390.361984
37-0.045865-0.54270.705895
38-0.114743-1.35770.911621
39-0.071586-0.8470.800785
400.0048920.05790.476962
41-0.056525-0.66880.747641
420.0232740.27540.391714
43-0.027192-0.32170.625933
440.0637920.75480.22582
450.0291710.34520.365249
460.0452270.53510.296702
47-0.04361-0.5160.696664


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.317953.7620.000124
10.0017090.02020.491946
20.0720790.85290.197599
3-0.129135-1.52790.935608
4-0.207224-2.45190.992279
50.0026170.0310.48767
6-0.003166-0.03750.514913
7-0.017184-0.20330.580411
80.0056410.06670.473442
90.0666140.78820.215959
100.0836390.98960.16203
110.0649450.76840.221762
120.1312371.55280.061362
130.0269770.31920.375028
14-0.139605-1.65180.949595
150.0843190.99770.16008
16-0.007606-0.090.53579
170.2055122.43170.008147
180.0921871.09080.138625
190.0453590.53670.296167
200.0201190.23810.406094
21-0.011963-0.14150.556179
22-0.080108-0.94790.827581
23-0.02051-0.24270.595697
24-0.074508-0.88160.810247
250.0174830.20690.418211
260.0584190.69120.245286
27-0.070767-0.83730.798081
28-0.106128-1.25570.894345
29-0.001253-0.01480.505905
300.0043240.05120.479636
310.0834160.9870.162676
32-0.046543-0.55070.708642
33-0.093469-1.10590.864676
340.0209410.24780.402333
350.120831.42970.077518
360.0063190.07480.470253
37-0.141324-1.67220.951637
38-0.05889-0.69680.756457
390.0311780.36890.356377
400.0170940.20230.420005
410.1246881.47530.071185
42-0.156777-1.8550.967151
430.0837320.99070.161762
44-0.025007-0.29590.616122
450.0422920.50040.308786
46-0.03221-0.38110.648151
474.1e-055e-040.499805
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/20/t119816495774dlh2h5jhvcb99/1spj11198166023.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/20/t119816495774dlh2h5jhvcb99/1spj11198166023.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/20/t119816495774dlh2h5jhvcb99/24bzt1198166023.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/20/t119816495774dlh2h5jhvcb99/24bzt1198166023.ps (open in new window)


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

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