Skip to main content

Binomial variable

Constructs a variable following a binomial distribution.

Syntax

binomial_variable(Integer, Real)

Description

Given an integer n0 and a real p[0,1], returns a random variable following a binomial distribution with parameters n and p.

statistics.binomial_variable.calc.png