[R] Help with Beta Distribution
A.J. Rossini
rossini at blindglobe.net
Wed Jan 23 19:07:13 CET 2002
>>>>> "TR" == Tharacad Ramanarayanan <Tharacad.Ramanarayanan at 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 at u.washington.edu
FHCRC/SCHARP/HIV Vaccine Trials Net rossini at 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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list