Re: [R] How to fit a random data into Beta distribution?

From: David Winsemius <>
Date: Thu, 12 May 2011 07:32:09 -0400

On May 11, 2011, at 11:17 PM, MikeK wrote:

> I am also trying to fit data to a beta distribution.
> In Ang and Tang, Probability Concepts in Engineering, 2nd Ed., page
> 127-9,
> they describe a variant of a beta distribution with additional
> parameters
> than the standard beta distribution, enabling specification of a max
> and min
> value other than 0,1. This would be very useful for my purposes.
> Any thoughts on how to fit a distribution directly to this variant
> of the
> beta distribution, without starting from scratch?

Scale your data to [0,1], fit, predict, invert the scaling.

xscaled <- (x-min(x))/max(x)
xrescaled <- max(x)*xscaled + min(x)

(Better check that I made the correct order of those operations. The first attempt was wrong ... I think.)

David Winsemius, MD
West Hartford, CT

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 12 May 2011 - 11:35:08 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 12 May 2011 - 11:50:06 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive