Home » date » 2008 » Dec » 22 »

ACF Azië

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 22 Dec 2008 02:49:30 -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/22/t1229939475zc2ykzrvbr5i73h.htm/, Retrieved Mon, 22 Dec 2008 10:51:15 +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/22/t1229939475zc2ykzrvbr5i73h.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 «
1025,5 691,2 971,6 926 997,1 964,9 860 948 951,4 827,3 994 944,5 976,2 668,8 939,9 1096,1 977,7 1096,9 1060,8 1121,4 1190,9 1177,9 1108,1 1045,6 1263,9 911 1175,9 1091,3 1027,7 1081,7 879,7 955,5 1037,9 959,9 931,8 1062,2 1077,2 668,4 954,3 797,2 829,2 957,3 844,2 893,6 1132 898,8 1064 1279,7 1382,5 824,1 1304,1 1253,5 1136,3 1414,7 1293,2 1325,7 1463,8 1244,2 1573,6 1327,3 1418,5 1042,2 1384,8 1474,8 1556,5 1466,2 1221,7 1279,7 1348,4 1189,8 1296,6 1417,6 1513,9 1006,1 1202,8 1258,8 1211,5 1283,3 1332,3 1374,3 1406,1 1419,1 1554,4 1499,8 1609,6 1033,9 1550,5 1491,4 1368,9 1537,1 1492,3 1504,1 1301,2 1344,2 1319,1 1420,3 1582,9 1002,6 1559,1 1462,7 1414,8 1537,5 1455,9 1619,9 1667,2 1488,9 1442,5 1779,6 1801,9 1233,4 1581,1 1515 1439,2 1585,8 1488,8 1601,3 1646,8 1630,2 1720,7 2013,5 2051,2 1404,7 2015,9 1544,1 1816,6 1773,4 1577,4 1709,8 1810,2 1520,5 1798,6 1666,8 1730,4 1147,8 1777 1700 1907,4 1745,8 1771,6 1790,2 1958,7 1560,4 1752,1 2011,6 2082,8 1616,4 1846,1 1824,9 1711,3 1805 1737,6 1939,6 1711,4 1964,8 1864,4 1980,7 2226,7 1433,3 1960,7
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.7478239.42970
20.7798199.83310
30.7658629.65720
40.7363719.28530
50.716389.03320
60.6845218.63150
70.6744968.50510
80.6582078.29970
90.6412948.08640
100.5937477.48690
110.5463386.88910
120.6855048.64390
130.5039966.35510
140.5291186.67190
150.5294156.67570
160.5175666.52630
170.5044086.36030
180.4892896.16970
190.4770156.01490
200.4678775.89970
210.4601825.80270
220.4230025.33390
230.3872984.88361e-06
240.5241946.60980
250.3713454.68253e-06
260.4178475.26880
270.4108865.18110
280.4083675.14930
290.3998545.0421e-06
300.3698144.66323e-06
310.3854174.85991e-06
320.3648464.60054e-06
330.3561374.49077e-06
340.3223584.06483.8e-05
350.278993.51790.000284
360.4138025.21780
370.2486363.13520.001023
380.2632633.31960.000559
390.2356032.97080.001716
400.2125472.68010.004067
410.1706462.15180.016463
420.1390671.75360.040716
430.1400811.76640.039627
440.1083131.36580.086969
450.1040241.31170.095757
460.0664120.83740.201807
470.0355710.44850.327192
480.1451481.83020.034543
490.0227130.28640.38747
500.0370220.46680.320632
510.0289530.36510.357769
520.0246850.31130.378005
530.0134590.16970.432727
540.0103490.13050.448172
550.0142360.17950.428881
56-0.004559-0.05750.477117
570.0039140.04940.480351
58-0.033393-0.42110.337135
59-0.058602-0.73890.230516
600.0517910.65310.257331


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.7478239.42970
20.5004526.31050
30.3035753.82799.3e-05
40.1259441.58810.057126
50.0443110.55870.288562
6-0.02595-0.32720.371968
70.0129010.16270.43549
80.0329250.41520.339288
90.0295670.37280.354887
10-0.091788-1.15740.124422
11-0.173422-2.18680.01511
120.4692065.91650
13-0.281362-3.54780.000255
14-0.146669-1.84940.033127
150.0793741.00090.159205
160.1185231.49450.068511
170.0157050.1980.421638
180.0279810.35280.362341
19-0.02971-0.37460.354218
20-0.050862-0.64130.261112
21-0.004701-0.05930.476401
220.0396210.49960.309023
23-0.05174-0.65240.257537
240.2056632.59330.005196
25-0.075929-0.95740.169903
260.019990.25210.400657
27-0.020755-0.26170.396944
280.0201320.25390.399969
290.0034360.04330.482749
30-0.104245-1.31450.09529
310.0877731.10680.135033
32-0.040334-0.50860.305872
33-0.093989-1.18520.118862
340.0022610.02850.488646
35-0.05065-0.63870.261977
360.1701482.14550.016716
37-0.136833-1.72540.0432
38-0.207198-2.61270.004923
39-0.099588-1.25580.105523
40-0.046021-0.58030.281268
41-0.101278-1.27710.10172
42-0.002216-0.02790.48887
430.0293760.37040.35578
44-0.04129-0.52070.301667
450.0520920.65690.256111
460.0929291.17180.121516
470.0601390.75830.224688
48-0.005534-0.06980.472227
490.0620980.7830.217389
50-0.043549-0.54910.291841
51-0.054033-0.68130.248327
52-0.04714-0.59440.27654
530.0657490.82910.204156
540.0594640.74980.227239
55-0.06029-0.76020.224123
56-0.004624-0.05830.476789
570.0059260.07470.470262
58-0.025271-0.31870.375202
590.0242080.30520.380288
600.0347510.43820.330922
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229939475zc2ykzrvbr5i73h/17xre1229939365.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229939475zc2ykzrvbr5i73h/17xre1229939365.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229939475zc2ykzrvbr5i73h/23jj21229939365.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229939475zc2ykzrvbr5i73h/23jj21229939365.ps (open in new window)


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