Changes

Jump to navigation Jump to search
no edit summary
Line 12: Line 12:  
*<math>Probability</math> is the probability value.  
 
*<math>Probability</math> is the probability value.  
 
*The <math>Probability</math> vaule is ranges from 0 to 1.
 
*The <math>Probability</math> vaule is ranges from 0 to 1.
*The Bernoulli distribution is defined by:f(x)=p^x(1-p)^{1-x} for x=0,1, where p is the probability that a particular event will occur.
+
*The Bernoulli distribution is defined by:<math>f(x)=p^x(1-p)^{1-x} </math> for x={0,1}, where p is the probability that a particular event will occur.
 
*The probability mass function is :Failed to parse(PNG conversion failed; check for correct installation of latex and dvipng (or dvips + gs + convert)): f(k,p) = \begin{cases}p &if& k=1\\ 1-p &if &k=0. \end{cases}
 
*The probability mass function is :Failed to parse(PNG conversion failed; check for correct installation of latex and dvipng (or dvips + gs + convert)): f(k,p) = \begin{cases}p &if& k=1\\ 1-p &if &k=0. \end{cases}
 
*This function will give the result as error when
 
*This function will give the result as error when
 
  1. Any one of the argument is nonnumeric.
 
  1. Any one of the argument is nonnumeric.
 
  2. The value of p<0 or p>1.
 
  2. The value of p<0 or p>1.
writer
6,694

edits

Navigation menu