Home » date » 2008 » Dec » 02 »

nsts Q8

*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, 02 Dec 2008 12:58:11 -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/02/t1228247936vyfsf1tya7ols0g.htm/, Retrieved Tue, 02 Dec 2008 19:58:58 +0000
 
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/02/t1228247936vyfsf1tya7ols0g.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},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
377.2 332.2 364.8 352.4 341.6 298.2 355.3 330.9 314.5 418.9 433.2 367 422.9 352.1 419.8 432.7 414.2 387.7 297.2 357.4 384.2 425.2 385.3 355.4 409.8 421.2 421.8 464.2 494 404.2 411.4 403.4 403.3 520.9 439.8 434.8 476.5 454.3 522 498.4 439.9 450.7 447.1 451.3 466.8 498 533.6 451.9 477.1 410.4 469.5 485.4 406.7 439.7 412.2 440.2 411.1 477.7 463.2 320.5
 
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
10.5606284.34262.8e-05
20.4469913.46240.000497
30.4424993.42760.000553
40.3563822.76050.003822
50.4854453.76020.000194
60.3876193.00250.00195
70.3496692.70850.004397
80.1990791.54210.064159
90.1639431.26990.104512
100.2442421.89190.031667
110.2734272.1180.019165
120.350072.71160.00436
130.2094251.62220.055003
140.091890.71180.23968
150.0624090.48340.31528
160.0531190.41150.341103
170.1374161.06440.145701
180.1633961.26570.105263
190.0262690.20350.419724
20-0.143921-1.11480.13469
21-0.137298-1.06350.145908
22-0.097382-0.75430.226804
23-0.122866-0.95170.17253
24-0.063201-0.48960.313118
25-0.185412-1.43620.07807
26-0.261403-2.02480.023671
27-0.215084-1.6660.05046
28-0.268755-2.08180.020819
29-0.141704-1.09760.138374
30-0.163078-1.26320.105702
31-0.252614-1.95670.027518
32-0.297626-2.30540.012309
33-0.296059-2.29330.012676
34-0.23356-1.80910.037719
35-0.245372-1.90060.031078
36-0.137657-1.06630.145283


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5606284.34262.8e-05
20.1935081.49890.069571
30.1998571.54810.06343
40.0241020.18670.426265
50.3108782.4080.009564
6-0.035676-0.27630.391617
70.0567910.43990.330793
8-0.254175-1.96880.026798
90.01920.14870.441135
100.0332710.25770.398754
110.1799141.39360.084288
120.1450841.12380.132783
13-0.060027-0.4650.321819
14-0.172253-1.33430.09358
15-0.13665-1.05850.147038
16-0.093717-0.72590.235353
170.0383090.29670.383846
180.166661.29090.100838
19-0.07131-0.55240.291376
20-0.216374-1.6760.049468
21-0.09426-0.73010.234075
22-0.070039-0.54250.294734
23-0.1624-1.25790.106643
240.0951590.73710.231968
25-0.021999-0.17040.432632
260.0737990.57160.284849
270.0487190.37740.353614
28-0.184632-1.43020.07893
29-0.035948-0.27850.390811
30-0.080489-0.62350.267672
31-0.009905-0.07670.469548
320.0277430.21490.415288
330.1741611.3490.091196
34-0.024677-0.19120.424526
35-0.066831-0.51770.303294
360.0252540.19560.422785
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228247936vyfsf1tya7ols0g/1b3fn1228247890.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228247936vyfsf1tya7ols0g/1b3fn1228247890.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228247936vyfsf1tya7ols0g/2y8sk1228247890.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228247936vyfsf1tya7ols0g/2y8sk1228247890.ps (open in new window)


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