ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   binomial distribution (https://www.excelbanter.com/excel-worksheet-functions/5812-binomial-distribution.html)

Adynne

binomial distribution
 
How do I generate observations using binomial distribution? Pls help.

hgrove


Adynne wrote...
How do I generate observations using binomial distribution? Pls help.


N trials would require N separate cells. Each trial has an independent
probability of success of p, with 0 < p < 1. So if you want simulated
counts of successes, you'd need to enter the formula =RAND() in an
N-cell range named Trials , then generate your sample values using the
formula

=COUNTIF(Trials,"<="&p)

There's no way to do this in a single cell formula using only built-in
functions.


--
hgrove
------------------------------------------------------------------------
hgrove's Profile: http://www.excelforum.com/member.php...o&userid=11432
View this thread: http://www.excelforum.com/showthread...hreadid=275794



All times are GMT +1. The time now is 04:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com