Home » date » 2008 » Dec » 20 »

Paper statistiek_Autocorrelation function (d=1, D=1)_NDC(goed)

*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: Sat, 20 Dec 2008 07:10:57 -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/20/t1229782318vxn7omctlgckwd8.htm/, Retrieved Sat, 20 Dec 2008 15:12:00 +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/20/t1229782318vxn7omctlgckwd8.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 «
98.6 98 106.8 96.7 100.2 107.7 92 98.4 107.4 117.7 105.7 97.5 99.9 98.2 104.5 100.8 101.5 103.9 99.6 98.4 112.7 118.4 108.1 105.4 114.6 106.9 115.9 109.8 101.8 114.2 110.8 108.4 127.5 128.6 116.6 127.4 105 108.3 125 111.6 106.5 130.3 115 116.1 134 126.5 125.8 136.4 114.9 110.9 125.5 116.8 116.8 125.5 104.2 115.1 132.8 123.3 124.8 122 117.4 117.9 137.4 114.6 124.7 129.6 109.4 120.9 134.9 136.3 133.2 127.2 122.7 120.5 137.8 119.1 124.3 134.4 121.1 122.2 127.7 137.4 132.2 129.2 124.9 124.8 128.2 134.4 118.6 132.6 123.2 112.8 138.3
 
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
1-0.511736-4.57719e-06
2-0.034809-0.31130.378176
30.1747941.56340.060953
4-0.197904-1.77010.040259
50.0594690.53190.298131
60.1889791.69030.047434
7-0.278463-2.49060.007411
80.0342230.30610.380162
90.2718122.43120.008643
10-0.245085-2.19210.015639
110.0951680.85120.198597
120.0003630.00320.498708
13-0.197268-1.76440.040739
140.2026541.81260.036823
15-0.001378-0.01230.495098
16-0.212654-1.9020.030383
170.2786372.49220.007381
18-0.060063-0.53720.296304
19-0.153201-1.37030.087217
200.113221.01270.157135
210.0016560.01480.494108
22-0.164886-1.47480.072098
230.3754563.35820.000602
24-0.334768-2.99430.00183
250.0468720.41920.338083
260.0748220.66920.252638
270.0215020.19230.423988
28-0.085196-0.7620.224145
290.0708110.63340.264156
30-0.090215-0.80690.211056
310.0257160.230.409334
320.1846261.65130.051294
33-0.209077-1.870.032568
340.0215560.19280.423799
350.0663030.5930.277415
36-0.096728-0.86520.194768
370.1379561.23390.110424
380.0118140.10570.458056
39-0.160337-1.43410.077721
400.1271181.1370.12947
41-0.025899-0.23170.408701
42-0.080609-0.7210.236508
430.0597250.53420.297345
440.0644360.57630.283005
45-0.182217-1.62980.053538
460.2273522.03350.022659
47-0.087854-0.78580.217156
48-0.083764-0.74920.227966
490.1095340.97970.165092
50-0.042651-0.38150.351929
51-0.125301-1.12070.132878
520.2114551.89130.031101
53-0.122466-1.09540.138322
540.0066320.05930.476424
550.1406581.25810.106011
56-0.19408-1.73590.043215
570.048470.43350.332897
580.0539830.48280.315265
59-0.082876-0.74130.230351
600.0533450.47710.317283


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.511736-4.57719e-06
2-0.40194-3.59510.00028
3-0.090271-0.80740.210914
4-0.209505-1.87390.0323
5-0.188481-1.68580.047863
60.1227231.09770.137821
7-0.086977-0.77790.219448
8-0.240523-2.15130.017235
90.1413441.26420.104912
100.1037830.92830.178031
110.0550130.49210.312015
12-0.014635-0.13090.448093
13-0.157186-1.40590.081811
14-0.099135-0.88670.188952
15-0.079382-0.710.239879
16-0.214925-1.92230.029061
170.0485950.43460.332495
180.1475731.31990.095311
19-0.018345-0.16410.43504
20-0.191908-1.71650.044972
210.0369470.33050.370956
22-0.075278-0.67330.251346
230.2232881.99710.024605
24-0.015586-0.13940.444742
25-0.000409-0.00370.498544
26-0.2805-2.50890.007066
27-0.016161-0.14450.442717
28-0.056224-0.50290.308215
29-0.006467-0.05780.477008
300.0375950.33630.368777
310.0041580.03720.485212
32-0.014846-0.13280.447349
330.0197550.17670.430097
34-0.05178-0.46310.322262
350.041720.37320.355011
36-0.044427-0.39740.346078
370.0872560.78040.218718
380.070450.63010.265204
390.0547270.48950.312917
40-0.084236-0.75340.226701
41-0.083783-0.74940.227914
42-0.068247-0.61040.271658
43-0.008143-0.07280.471059
440.0495190.44290.329513
45-0.026131-0.23370.407897
46-0.031428-0.28110.389679
470.1218171.08960.139588
48-0.047909-0.42850.334715
490.0166830.14920.440879
50-0.004187-0.03750.48511
51-0.017563-0.15710.437785
520.0149360.13360.447029
53-0.054771-0.48990.312777
54-0.074735-0.66840.252886
55-0.025952-0.23210.408517
56-0.008692-0.07770.469115
570.0388740.34770.36449
58-0.077802-0.69590.244259
59-0.023654-0.21160.41649
60-0.071341-0.63810.262617
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229782318vxn7omctlgckwd8/174zh1229782255.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229782318vxn7omctlgckwd8/174zh1229782255.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229782318vxn7omctlgckwd8/24rih1229782255.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229782318vxn7omctlgckwd8/24rih1229782255.ps (open in new window)


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