Home » date » 2010 » Aug » 16 »

Partial omzet product Xc

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 16 Aug 2010 12:20:27 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Aug/16/t1281961203lgil1qly6bxkuxq.htm/, Retrieved Mon, 16 Aug 2010 14:20:05 +0200
 
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/2010/Aug/16/t1281961203lgil1qly6bxkuxq.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
56 55 54 52 72 71 56 46 47 47 48 50 44 38 33 33 52 54 39 22 31 31 38 42 41 31 36 34 51 47 31 19 30 33 36 40 32 25 28 29 55 55 40 38 44 41 49 59 61 47 43 39 66 68 63 68 67 59 68 78 82 70 62 68 94 102 100 104 103 93 110 114 120 102 95 103 122 139 135 135 137 130 148 148 145 128 131 133 146 163 151 157 152 149 172 167 160 150 160 165 171 179 171 176 170 169 194 196 188 174 186 191 197 206 197 204 201 190 213 213
 
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.96642410.58660
20.93169910.20620
30.9118699.9890
40.8973479.82990
50.8876639.72390
60.8738159.57220
70.8465479.27350
80.8151418.92940
90.7876568.62830
100.7709058.44480
110.7656578.38740
120.7542338.26220
130.7158317.84150
140.6767527.41340
150.6512467.1340
160.6321696.92510
170.6162696.75090
180.5977846.54840
190.5669376.21050
200.5316145.82350
210.5009355.48750
220.4807925.26680
230.4693035.1411e-06
240.4525364.95731e-06
250.4152934.54936e-06
260.3763034.12223.5e-05
270.3494653.82820.000103
280.3253523.56410.000263
290.3051733.3430.000553
300.2848753.12060.00113
310.2507462.74680.003473
320.2151172.35650.010034
330.1852832.02970.022301
340.1656111.81420.036075
350.1519731.66480.049283
360.131131.43650.076738
370.0955891.04710.148573
380.0595840.65270.257595
390.0319050.34950.363664
400.0038460.04210.483232
41-0.016687-0.18280.427634
42-0.035954-0.39390.347194
43-0.066453-0.7280.234029
44-0.098188-1.07560.142134
45-0.123805-1.35620.088789
46-0.138466-1.51680.065971
47-0.149983-1.6430.051502
48-0.167144-1.8310.034793


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.96642410.58660
2-0.034488-0.37780.353125
30.2081962.28070.012166
40.0635580.69620.243811
50.117481.28690.100298
6-0.038007-0.41630.33895
7-0.169558-1.85740.032851
8-0.089874-0.98450.163421
9-0.040388-0.44240.329489
100.0959531.05110.147661
110.1584931.73620.042547
12-0.025036-0.27430.392179
13-0.334767-3.66720.000183
14-0.030874-0.33820.367901
150.064360.7050.241081
160.0200460.21960.413282
17-0.002837-0.03110.487629
180.0081920.08970.464321
19-0.062086-0.68010.24887
20-0.037076-0.40610.342679
21-0.031701-0.34730.364501
220.0105430.11550.454123
230.0311570.34130.366736
240.0159810.17510.430663
25-0.133496-1.46240.073127
26-0.048908-0.53580.296557
270.0187450.20530.418825
28-0.074139-0.81210.209158
290.0051240.05610.477666
300.0171950.18840.425457
31-0.078933-0.86470.194474
320.0275940.30230.381484
33-0.01848-0.20240.419957
340.0272170.29820.383051
35-0.022071-0.24180.404685
36-0.042698-0.46770.320411
37-0.054431-0.59630.276063
38-0.03214-0.35210.362699
39-0.03004-0.32910.371337
40-0.123065-1.34810.090081
410.0510770.55950.288427
420.0200830.220.413123
43-0.002323-0.02540.48987
440.0059880.06560.473903
45-0.01566-0.17150.432042
460.058170.63720.262596
47-0.040502-0.44370.329039
48-0.009876-0.10820.457015
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Aug/16/t1281961203lgil1qly6bxkuxq/1fyff1281961226.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/16/t1281961203lgil1qly6bxkuxq/1fyff1281961226.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/16/t1281961203lgil1qly6bxkuxq/2p7f01281961226.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/16/t1281961203lgil1qly6bxkuxq/2p7f01281961226.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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