Home » date » 2010 » Dec » 21 »

acf 2 laaggeschoolden

*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: Tue, 21 Dec 2010 19:26:54 +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/Dec/21/t1292959492kejho809li06o4q.htm/, Retrieved Tue, 21 Dec 2010 20:24:55 +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/2010/Dec/21/t1292959492kejho809li06o4q.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 «
104708 101817 97898 95559 92822 90848 101141 105841 93647 90923 89130 90212 93196 91861 90593 89895 88819 87924 96906 101217 98709 98139 95529 98577 100772 100180 99200 96251 94514 93780 105192 107682 99687 99436 102049 102673 105813 105056 103916 103513 101893 102503 113149 116696 108500 107800 105941 108742 111680 111270 110698 108517 107127 107088 116321 125045 116779 122887 120162 123198 123610 122293 121289 119393 117494 116693 125062 127281 120195 119804 117113 119240 115823 116281 113816 114632 112987 111633 116721 114850 112797 105368 102524 101327 102612 98873 95993 93244 90403 88539 98106 96963 90781 89253 87794 89810 90864 89025 87621 87718 83433 84535 92223 91052 88456 88706 89137 94066 99258 100673 102269 100833 99314 101764 108242 108148 104761 103772 103737 111043 109906 109335 107247 105690 102755 102280 110590 109122 102803 101424 99138
 
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
1-0.072526-0.78780.216186
20.2119772.30270.011525
30.0551490.59910.275137
40.1635051.77610.039145
50.1311191.42430.078497
60.0496860.53970.295201
70.0710460.77180.220901
8-0.02597-0.28210.389176
90.1148521.24760.107322
10-0.01628-0.17680.429965
110.0620540.67410.250789
12-0.307033-3.33520.00057
130.0390530.42420.336088
140.1300121.41230.080247
15-0.073979-0.80360.211616
160.0030440.03310.486841
17-0.095207-1.03420.151576
180.0660310.71730.23731
190.0169680.18430.42704
20-0.016172-0.17570.430425
21-0.047532-0.51630.303294
22-0.113898-1.23730.109225
23-0.036475-0.39620.34633
24-0.17871-1.94130.027304
25-0.024947-0.2710.393434
26-0.230229-2.50090.006879
27-0.075673-0.8220.206363
28-0.085455-0.92830.17758
29-0.064136-0.69670.243681
30-0.166473-1.80840.036548
31-0.125861-1.36720.08708
32-0.069104-0.75070.227176
330.0329130.35750.360667
34-0.050293-0.54630.292937
350.0748760.81340.208824
360.024130.26210.396842
370.0621760.67540.250372
38-0.085467-0.92840.177544
390.0493070.53560.296619
40-0.06201-0.67360.250942
410.0341090.37050.355831
420.0538440.58490.279868
430.0207830.22580.410888
44-0.01912-0.20770.417913
45-0.096612-1.04950.148052
460.0546830.5940.276822
47-0.093751-1.01840.155287
48-0.036917-0.4010.344564


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.072526-0.78780.216186
20.2078112.25740.012911
30.0865740.94040.174458
40.1363891.48160.070561
50.1344121.46010.073462
60.0109670.11910.452685
70.0071560.07770.469088
8-0.075964-0.82520.205466
90.0508530.55240.290856
10-0.016176-0.17570.430409
110.0181220.19690.422138
12-0.331756-3.60380.00023
13-0.057325-0.62270.26734
140.2671562.90210.002212
15-1.2e-05-1e-040.49995
16-0.008723-0.09480.462333
17-0.026165-0.28420.38837
180.0368890.40070.344676
190.0673140.73120.233047
20-0.061785-0.67120.251717
21-0.038054-0.41340.340043
22-0.131756-1.43120.077503
23-0.101174-1.0990.136996
24-0.330254-3.58750.000244
25-0.058255-0.63280.264041
260.0602060.6540.25719
27-0.066344-0.72070.236264
28-0.021305-0.23140.408691
290.0477120.51830.302615
30-0.024918-0.27070.393554
310.0228660.24840.402134
32-0.03524-0.38280.351278
330.157481.71070.044885
34-0.018543-0.20140.420354
350.0936041.01680.155664
36-0.057118-0.62050.268075
370.0597310.64880.258849
38-0.14986-1.62790.053107
39-0.158865-1.72570.043508
40-0.067078-0.72870.233828
410.0428940.46590.321057
420.0414330.45010.326741
430.0434980.47250.318717
44-0.022126-0.24040.405238
450.0115250.12520.450291
46-0.018684-0.2030.419758
47-0.045216-0.49120.312107
48-0.126982-1.37940.085194
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292959492kejho809li06o4q/1ubu61292959612.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292959492kejho809li06o4q/1ubu61292959612.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292959492kejho809li06o4q/2ubu61292959612.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292959492kejho809li06o4q/2ubu61292959612.ps (open in new window)


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