Re: [R] Help with Beta Distribution

About this list Date view Thread view Subject view Author view Attachment view

From: A.J. Rossini (rossini@blindglobe.net)
Date: Thu 24 Jan 2002 - 05:07:13 EST


Message-id: <87vgdt3pri.fsf@jeeves.blindglobe.net>


>>>>> "TR" == Tharacad Ramanarayanan <Tharacad.Ramanarayanan@aventis.com> writes:

    TR> First let me confess that I am a R-novice. I am trying to fit
    TR> a beta distribution for a dataset using fitdistr(MASS). I am
    TR> having difficulties with it because the function tends to fit
    TR> a distribution with a range of 0 to 1 (I guess). However, my
    TR> dataset is not!

    TR> Since a beta (range in 0,1) doesn't describe what you want,
    TR> why force it?

    TR> Hmm . . . a standard beta distribution(B(x)) is 0 < x < 1. So
    TR> is a standard uniform distribution. A standard beta
    TR> distribution can be transformed for any (positive) range.

Right - so did you transform your data back (or rewrite the
distribution forward)?

It does work when everything is on the same scale.

best,
-tony

-- 
A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
U. of Washington Biostatistics		rossini@u.washington.edu	
FHCRC/SCHARP/HIV Vaccine Trials Net	rossini@scharp.org
-------------- http://software.biostat.washington.edu/ ----------------
FHCRC: M: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
UW:   Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
--- I'm 40% time until March 1st.  Try email the other 3 days.... -----
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Wed 16 Oct 2002 - 11:56:54 EST