Home » date » 2008 » Dec » 23 »

Huur

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 23 Dec 2008 12:28:39 -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/23/t1230060616pcvwoe7i2lnj4tc.htm/, Retrieved Tue, 23 Dec 2008 20:30:18 +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/23/t1230060616pcvwoe7i2lnj4tc.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 «
100,95 101,26 101,42 101,68 101,75 101,89 102,07 102,22 102,45 102,62 102,67 102,86 104,78 104,87 105,06 105,14 105,32 105,54 105,68 105,77 106,07 106,03 106,13 106,28 106,61 106,74 107,01 107,1 107,28 107,4 107,59 107,69 107,78 108,02 108 108,07 108,36 108,74 108,99 109,21 109,31 109,41 109,54 109,81 109,85 110,01 110,23
 
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.053463-0.36260.35928
2-0.067757-0.45960.324002
3-0.076502-0.51890.303172
40.0179650.12180.451777
5-0.020955-0.14210.443801
6-0.00582-0.03950.484342
7-0.083513-0.56640.286932
8-0.003685-0.0250.490084
9-0.075585-0.51260.305328
10-0.051295-0.34790.364752
110.0464370.3150.377111
120.0871410.5910.278701
130.0073150.04960.480324
140.0403860.27390.392689
15-0.05364-0.36380.358835
16-0.01012-0.06860.472788
17-0.017183-0.11650.453867
18-0.012732-0.08630.465782
19-0.020694-0.14040.444497
20-0.061385-0.41630.339551
210.033380.22640.410949
22-0.108752-0.73760.232254
23-0.043249-0.29330.385296
240.0430410.29190.385831
250.1113720.75540.226941
260.0261580.17740.429981
270.0135860.09210.463492
28-0.050348-0.34150.36715
29-0.041787-0.28340.389065
30-0.025077-0.17010.432846
310.03920.26590.395765
32-0.08336-0.56540.287284
33-0.034824-0.23620.407167
340.0132010.08950.464525
350.0082520.0560.477806
360.0088830.06020.476109
370.0063550.04310.482904
380.0034670.02350.490672
39-0.002954-0.020.49205
400.0057490.0390.484532
41-0.004633-0.03140.487536
420.0027510.01870.492598
43-0.004348-0.02950.488302
44-0.001561-0.01060.495798
450.0005850.0040.498427
46NANANA
47NANANA
48NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.053463-0.36260.35928
2-0.070818-0.48030.316642
3-0.084834-0.57540.283922
40.0035150.02380.490542
5-0.031613-0.21440.415588
6-0.014204-0.09630.461837
7-0.088292-0.59880.276113
8-0.020835-0.14130.44412
9-0.093663-0.63530.264205
10-0.08177-0.55460.290932
110.0221860.15050.440524
120.0638660.43320.333461
130.0103190.070.472253
140.0491870.33360.370097
15-0.043853-0.29740.383741
16-0.025044-0.16990.432933
17-0.029944-0.20310.419981
18-0.027447-0.18620.42657
19-0.022716-0.15410.439116
20-0.06856-0.4650.322064
210.0427360.28980.386618
22-0.12356-0.8380.203175
23-0.073793-0.50050.309558
240.0053720.03640.485546
250.0667510.45270.326437
260.0236290.16030.43669
270.0238990.16210.435973
28-0.036385-0.24680.403091
29-0.072809-0.49380.311893
30-0.050678-0.34370.366314
310.0210410.14270.443573
32-0.098517-0.66820.253681
33-0.045636-0.30950.379163
340.0417420.28310.389182
35-0.013557-0.0920.463568
36-0.003081-0.02090.491708
37-0.035014-0.23750.40667
38-0.036304-0.24620.403302
39-0.055519-0.37660.354119
40-0.002067-0.0140.494438
41-0.004001-0.02710.489234
42-0.030638-0.20780.418153
43-0.000909-0.00620.497555
440.0053560.03630.485589
45-0.020331-0.13790.445464
46NANANA
47NANANA
48NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1230060616pcvwoe7i2lnj4tc/1ylzz1230060517.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1230060616pcvwoe7i2lnj4tc/1ylzz1230060517.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1230060616pcvwoe7i2lnj4tc/238kd1230060517.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/23/t1230060616pcvwoe7i2lnj4tc/238kd1230060517.ps (open in new window)


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