[R] conditional probability

Michael Bedward michael.bedward at gmail.com
Mon Nov 8 09:31:35 CET 2010


Hello Jumlong,

For Normal distribution see the help page for pnorm.

For dealing with unknown (empirical) distributions, look at ecdf.

Hope this helps
Michael

On 8 November 2010 16:29, Jumlong Vongprasert <jumlong.ubru at gmail.com> wrote:
> Dear all
>          I have problem with calculate probability, I have data x1,...,x10,
> I want to calculate probability x11 given x1,...,x10 with two conditions.
>          1. x is normal
>           2. unknow distribution
>         How I can do this.
> Many Thanks.
> Jumlong
>
> --
> Jumlong Vongprasert Assist, Prof.
> Institute of Research and Development
> Ubon Ratchathani Rajabhat University
> Ubon Ratchathani
> THAILAND
> 34000
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list