Re: Plotting Beta Distribution

Kutsyy (kutsyy@umich.edu)
Wed, 31 Dec 1997 10:45:50 -0500


why don't you try pbeta and d beta functions?
For example to generate plot type:

plot((1:100)/100,dbeta((1:100)/100,5,10),type="l")
plot((1:100)/100,pbeta((1:100)/100,5,10),type="l")

First will be a distribution plot of beta(5,10), and second will be
cumulative distribution of the same beta.

Kirthi Kalyanam wrote:
>
> Is there a function in Splus for generating a plot of a beta distribution?
>
> --------------------------------------------------------------------------------------
> Kirthi Kalyanam, Ph.D. - Asst. Professor & Associate Director
> Retail Management Institute & Retail Workbench Research Center
> Leavey School of Business & Administration - Santa Clara University
> 500 El Camino Real, Santa Clara, CA 95053
> TEL: 408.554.2705 FAX:
> 408.554.5056
>
> --------------------------------------------------------------------------------------

-- 
Vadim Kutsyy
kutsyy@umich.edu
http://www.stat.lsa.umich.edu/~kutsyy