DOCUMENTATION CalcMe
  • language Translations of this page
    • Translations of this page
    • Català (ca)
    • Dansk (da)
    • Deutsch (de)
    • English (en)
    • Español (es)
    • Français (fr)

  1. Wiris Ecosystem Documentation
  2. CalcMe documentation
  3. Commands
  4. Statistics
  5. Binomial variable

en:calc:commands:statistics:binomial_variable

Binomial variable

Constructs a variable following a binomial distribution.

Syntax

binomial_variable(Integer, Real)

Description

binomial_variable(Integer, Real)

Given an integer n greater or equal than 0 and a real p element of left square bracket 0 comma 1 right square bracket, returns a random variable following a binomial distribution with parameters n and p.

Related functions

Bernoulli variable

Table of Contents
  • Syntax
  • Description
  • Related functions
Log In

Copyright © WIRIS 2021. All rights reserved.