[R] Strange results for Beta Distribution

Dimitris Rizopoulos dimitris.rizopoulos at med.kuleuven.ac.be
Tue Nov 9 10:40:09 CET 2004


Why strange? It is known that Beta(1, 1) = Uniform(0,1) whose density 
is 1/(1-0)=1

Best,
Dimitris

----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/16/396887
Fax: +32/16/337015
Web: http://www.med.kuleuven.ac.be/biostat/
     http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm


----- Original Message ----- 
From: <parrinel at med.unibs.it>
To: <r-help at stat.math.ethz.ch>
Sent: Tuesday, November 09, 2004 10:24 AM
Subject: [R] Strange results for Beta Distribution


> Dear All,
> I got these results from the example in the function "dbeta":
>
>>x <- seq(0, 1, length=21)
>>      dbeta(x, 1, 1)
> [1] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
> Any Idea?
> TIA
> Giovanni
>
> dr. Giovanni Parrinello
> Section of Medical Statistics
> Department of Biosciences
> University of Brescia
> 25127 Viale Europa, 11
> Brescia Italy
> Tel: +390303717528
> Fax: +390303701157
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list