Home » date » 2008 » Dec » 02 »

nsts Q8 (3)

*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 10:02:13 -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/t1228237414mezxphnmwwovner.htm/, Retrieved Tue, 02 Dec 2008 17:03:36 +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/t1228237414mezxphnmwwovner.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 «
78.4 114.6 113.3 117.0 99.6 99.4 101.9 115.2 108.5 113.8 121.0 92.2 90.2 101.5 126.6 93.9 89.8 93.4 101.5 110.4 105.9 108.4 113.9 86.1 69.4 101.2 100.5 98.0 106.6 90.1 96.9 125.9 112.0 100.0 123.9 79.8 83.4 113.6 112.9 104.0 109.9 99.0 106.3 128.9 111.1 102.9 130.0 87.0 87.5 117.6 103.4 110.8 112.6 102.5 112.4 135.6 105.1 127.7 137.0 91.0 90.5 122.4 123.3 124.3 120.0 118.1 119.0 142.7 123.6 129.6 151.6 110.4 99.2 130.5 136.2 129.7 128.0 121.6 135.8 143.8 147.5 136.2 156.6 123.3 100.4
 
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.6069-5.14971e-06
20.1161860.98590.163748
30.073740.62570.266743
4-0.06646-0.56390.287278
5-0.051965-0.44090.33029
60.1279431.08560.140632
7-0.101574-0.86190.195806
8-0.050482-0.42840.334835
90.1664981.41280.081014
10-0.147351-1.25030.107616
110.2648232.24710.01385
12-0.303152-2.57230.006082
130.1141610.96870.167971
14-0.00479-0.04060.483847
15-0.022389-0.190.424931
16-0.050663-0.42990.33428
170.0972370.82510.206025
18-0.033848-0.28720.387387
19-0.076809-0.65170.258319
200.1203571.02130.155275
21-0.001273-0.01080.495707
22-0.144865-1.22920.111496
230.1189041.00890.158193
24-0.037373-0.31710.376034
25-0.079849-0.67750.250117
260.1628641.38190.085631
27-0.060358-0.51220.305057
28-0.078239-0.66390.254443
290.0936790.79490.214645
30-0.007318-0.06210.47533
31-0.051099-0.43360.33294
320.0763020.64740.259703
33-0.136971-1.16220.124489
340.1204131.02170.155162
350.034840.29560.384182
36-0.143124-1.21440.114273


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.6069-5.14971e-06
2-0.399165-3.3870.000574
3-0.131544-1.11620.134027
4-0.039187-0.33250.370235
5-0.148699-1.26180.105555
6-0.016315-0.13840.44514
7-0.014761-0.12530.450337
8-0.176808-1.50030.068959
9-0.008598-0.0730.471021
10-0.028129-0.23870.406015
110.401533.40710.000539
120.1208541.02550.154284
13-0.086221-0.73160.23339
14-0.144131-1.2230.11266
15-0.111697-0.94780.173205
16-0.155212-1.3170.096005
17-0.104189-0.88410.1898
180.0987270.83770.202479
19-0.018892-0.16030.436546
20-0.213426-1.8110.037158
21-0.009302-0.07890.468653
22-0.14744-1.25110.10748
230.0500350.42460.336212
240.0554190.47020.319802
25-0.047095-0.39960.345311
260.0935920.79420.214857
270.1255371.06520.145168
28-0.041773-0.35450.362018
29-0.108546-0.9210.180052
300.0509060.4320.333534
310.0606410.51460.304218
32-0.004369-0.03710.485264
33-0.069128-0.58660.279665
34-0.069472-0.58950.278688
350.1376511.1680.123329
36-0.07883-0.66890.252851
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228237414mezxphnmwwovner/1ymlb1228237331.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/02/t1228237414mezxphnmwwovner/1ymlb1228237331.ps (open in new window)


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


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