RE: [R] Histogram for mixed random variables

From: Liaw, Andy <andy_liaw_at_merck.com>
Date: Thu 05 May 2005 - 21:50:04 EST


See http://finzi.psych.upenn.edu/R/Rhelp02a/archive/48428.html

Andy

> From: Paul Smith
>
> Dear All
>
> I would like to get the histogram for the following model with
> discrete and continuous random variables:
>
> * with probability 1/3, a random number is drawn from the continuous
> uniform distribution (min=0, max=1);
> * with probability 2/3, a random number is drawn from a different
> continuous uniform distribution (min=-1/2, max=1/2).
>
> Any help would be most welcome.
>
> Thanks in advance,
>
> Paul
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu May 05 22:10:52 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:35 EST