Home » date » 2010 » May » 29 »

Maandelijkse melkproductie per koe

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sat, 29 May 2010 11:09:47 +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/May/29/t1275131446yynzgxde35usd86.htm/, Retrieved Sat, 29 May 2010 13:10:47 +0200
 
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/May/29/t1275131446yynzgxde35usd86.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:
KDGP2W21
 
Dataseries X:
» Textbox « » Textfile « » CSV «
589 561 640 656 727 697 640 599 568 577 553 582 600 566 653 673 742 716 660 617 583 587 565 598 628 618 688 705 770 736 678 639 604 611 594 634 658 622 709 722 782 756 702 653 615 621 602 635 677 635 736 755 811 798 735 697 661 667 645 688 713 667 762 784 837 817 767 722 681 687 660 698 717 696 775 796 858 826 783 740 701 706 677 711 734 690 785 805 871 845 801 764 725 723 690 734 750 707 807 824 886 859 819 783 740 747 711 751 804 756 860 878 942 913 869 834 790 800 763 800 826 799 890 900 961 935 894 855 809 810 766 805 821 773 883 898 957 924 881 837 784 791 760 802 828 778 889 902 969 947 908 867 815 812 773 813 834 782 892 903 966 937 896 858 817 827 797 843
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.0225530.29150.385534
20.256253.31150.000569
3-0.114132-1.47490.07106
4-0.359139-4.64113e-06
5-0.057959-0.7490.227459
6-0.501727-6.48370
7-0.032898-0.42510.335642
8-0.346924-4.48327e-06
9-0.08174-1.05630.146175
100.2333013.01490.001486
110.0281090.36320.358442
120.91058611.76740
130.0305010.39420.346982
140.2382693.07910.001214
15-0.103146-1.33290.092183
16-0.329524-4.25841.7e-05
17-0.057527-0.74340.229139
18-0.463908-5.9950
19-0.031392-0.40570.342751
20-0.32044-4.1412.7e-05
21-0.07893-1.020.154603
220.208042.68850.003953
230.0283970.3670.357055
240.83251510.75850
250.0288150.37240.355046
260.2221662.8710.002311
27-0.08626-1.11470.133285
28-0.300429-3.88247.4e-05
29-0.056451-0.72950.233357
30-0.422362-5.45810
31-0.022996-0.29720.383353
32-0.29715-3.848.7e-05
33-0.07935-1.02540.153321
340.1882182.43230.008029
350.0216010.27920.390237
360.7622029.84980
370.0246040.3180.37546
380.208852.69890.003836
39-0.07113-0.91920.179656
40-0.26438-3.41650.000398
41-0.053541-0.69190.244978
42-0.384723-4.97171e-06
43-0.022098-0.28560.387779
44-0.278814-3.60310.000207
45-0.079719-1.03020.152205
460.1661512.14710.016612
470.0162730.21030.416849
480.6989789.03280
490.0189260.24460.403541
500.1946472.51540.006417
51-0.066641-0.86120.195184
52-0.23046-2.97820.001666
53-0.049417-0.63860.261975
54-0.347197-4.48687e-06
55-0.012835-0.16590.434232
56-0.259865-3.35820.000486
57-0.067934-0.87790.190628
580.1398941.80780.036216
590.0201520.26040.397429
600.6191288.00090


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0225530.29150.385534
20.2558723.30660.000578
3-0.132972-1.71840.043791
4-0.453911-5.86580
50.0272370.3520.362649
6-0.36238-4.6833e-06
7-0.170976-2.20950.01425
8-0.44249-5.71820
9-0.463537-5.99020
10-0.238682-3.08450.001194
11-0.581055-7.50890
120.6383198.24890
13-0.030479-0.39390.347088
14-0.345868-4.46967e-06
150.0235280.30410.380734
160.1856472.39910.008769
17-0.011448-0.14790.441283
180.0936071.20970.114057
19-0.068238-0.88180.189569
200.0665370.85990.195552
210.0134920.17440.430898
22-0.037472-0.48420.314423
230.0232150.30.382272
240.0663340.85720.196276
25-0.129152-1.6690.048495
26-0.042958-0.55510.289772
270.049660.64180.260957
28-0.007559-0.09770.461152
29-0.096409-1.24590.107276
300.0110210.14240.443458
310.0569090.73540.231555
32-0.013081-0.1690.432983
33-0.081184-1.04910.147818
340.0557830.72090.235996
350.0243640.31480.376634
36-0.019837-0.25640.398996
37-0.031753-0.41030.341042
380.0377650.4880.313083
390.0251310.32480.372881
400.0521040.67330.250835
41-0.000175-0.00230.499098
420.0407340.52640.299653
43-0.009164-0.11840.452938
44-0.003084-0.03990.484128
450.0522830.67560.250099
460.0325870.42110.337106
47-0.047081-0.60840.271867
480.0245830.31770.375563
49-0.000799-0.01030.495889
50-0.026944-0.34820.364067
51-0.093656-1.21030.113937
52-0.005795-0.07490.470198
530.0124810.16130.436028
54-0.058986-0.76230.223487
55-0.034853-0.45040.326504
560.0283510.36640.357274
570.0501180.64770.259044
58-0.046631-0.60260.273793
590.050990.65890.255423
60-0.053953-0.69720.243314
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/29/t1275131446yynzgxde35usd86/1qp611275131383.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/29/t1275131446yynzgxde35usd86/1qp611275131383.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/29/t1275131446yynzgxde35usd86/20g541275131383.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/29/t1275131446yynzgxde35usd86/20g541275131383.ps (open in new window)


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