Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.44.0411090956040.12253-100000@gannet.stats>
Date: 2004-11-09T09:58:43Z
From: Brian Ripley
Subject: Strange results for Beta Distribution
In-Reply-To: <41909AE5.3191.46EF9B@localhost>

On Tue, 9 Nov 2004 parrinel at med.unibs.it wrote:

> 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?

What does help page say the density is?
A Beta(1,1) distribution is U(0, 1), and that has density 1.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595