Home » date » 2009 » Dec » 17 »

Partial correlation: differentiatie

*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: Thu, 17 Dec 2009 03:35:53 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/17/t1261046329z5zyt4d32nx40m0.htm/, Retrieved Thu, 17 Dec 2009 11:38:51 +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/2009/Dec/17/t1261046329z5zyt4d32nx40m0.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
9.3 8.7 8.2 8.3 8.5 8.6 8.5 8.2 8.1 7.9 8.6 8.7 8.7 8.5 8.4 8.5 8.7 8.7 8.6 8.5 8.3 8 8.2 8.1 8.1 8 7.9 7.9 8 8 7.9 8 7.7 7.2 7.5 7.3 7 7 7 7.2 7.3 7.1 6.8 6.4 6.1 6.5 7.7 7.9 7.5 6.9 6.6 6.9 7.7 8 8 7.7 7.3 7.4 8.1 8.3 8.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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3367722.60860.005729
2-0.303004-2.34710.01112
3-0.526512-4.07836.8e-05
4-0.347681-2.69310.004582
50.1477491.14450.12849
60.5343944.13945.5e-05
70.3493152.70580.004429
8-0.067593-0.52360.301251
9-0.341231-2.64320.005232
10-0.317985-2.46310.00833
11-0.007173-0.05560.477937
120.3677462.84860.003004
130.080590.62430.267415
14-0.081037-0.62770.266287
15-0.08475-0.65650.257016
16-0.086491-0.670.252727
170.0003260.00250.498998
180.0969230.75080.227866
190.0273350.21170.416515
20-0.054541-0.42250.337094
21-0.063247-0.48990.312993
22-0.05828-0.45140.326651
230.0433350.33570.369145
240.1661741.28720.101487
25-0.104647-0.81060.210401
26-0.146866-1.13760.129901
27-0.066347-0.51390.304597
28-0.011507-0.08910.464635
290.0814540.63090.265238
300.1305591.01130.157966
310.0383390.2970.383757
32-0.120626-0.93440.17693
33-0.167171-1.29490.100157
340.0055160.04270.483032
350.1722121.33390.093631
360.2347321.81820.037011
37-0.021855-0.16930.433071
38-0.179847-1.39310.084367
39-0.188706-1.46170.07452
40-0.03458-0.26790.394864
410.1646561.27540.103538
420.2686532.0810.020856
430.0733830.56840.285934
44-0.191575-1.48390.07153
45-0.262443-2.03290.023249
46-0.064921-0.50290.308445
470.1359791.05330.148215
480.208281.61330.05596
490.0486230.37660.353887
50-0.112159-0.86880.194214
51-0.14575-1.1290.131701
52-0.063004-0.4880.313655
530.0300860.2330.408261
540.0846440.65560.257279
550.0442430.34270.366509
56-0.062493-0.48410.315048
57-0.081824-0.63380.264309
58-0.013466-0.10430.458637
590.0072970.05650.477557
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3367722.60860.005729
2-0.46969-3.63820.000286
3-0.31601-2.44780.008658
4-0.247163-1.91450.030163
50.0835540.64720.259984
60.2562571.9850.025863
70.0453590.35130.363279
80.0701560.54340.294425
90.0403940.31290.377724
10-0.005905-0.04570.481836
110.0094430.07310.470966
120.1501231.16290.124747
13-0.464009-3.59420.000329
140.1078610.83550.20338
150.0763820.59170.278154
16-0.000149-0.00120.499541
17-0.051079-0.39570.346882
18-0.017182-0.13310.447282
190.0980620.75960.225238
20-0.001474-0.01140.495464
21-0.049406-0.38270.351648
22-0.138893-1.07590.143148
230.0618840.47940.316714
240.0591420.45810.324262
25-0.170898-1.32380.095301
26-0.082745-0.64090.262
27-0.094453-0.73160.233622
280.0537940.41670.339198
290.0003550.00270.498908
30-0.02368-0.18340.42754
310.0622680.48230.315666
32-0.027364-0.2120.416428
330.0013130.01020.495961
340.2401281.860.033893
350.001080.00840.496676
360.0155470.12040.452275
370.0485550.37610.354082
38-0.10158-0.78680.217237
39-0.08888-0.68850.246907
40-0.014861-0.11510.454371
41-0.047297-0.36640.357692
420.1124710.87120.193559
43-0.083403-0.6460.260358
440.0416190.32240.374143
450.0759630.58840.279233
46-0.016946-0.13130.448004
47-0.029356-0.22740.410445
48-0.105913-0.82040.207618
49-0.003268-0.02530.489946
50-0.085029-0.65860.256326
510.0411680.31890.375461
52-0.105216-0.8150.209148
53-0.034198-0.26490.396
54-0.064116-0.49660.310629
550.0485290.37590.354156
560.0169510.13130.447986
57-0.051595-0.39970.345416
58-0.080131-0.62070.268576
590.0726190.56250.287935
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261046329z5zyt4d32nx40m0/1p2ct1261046151.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261046329z5zyt4d32nx40m0/1p2ct1261046151.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/17/t1261046329z5zyt4d32nx40m0/2f2cg1261046151.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261046329z5zyt4d32nx40m0/2f2cg1261046151.ps (open in new window)


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