Learn R Programming

discreteRV (version 1.2.2)

V: Variance of a random variable

Description

Variance of a random variable

Usage

V(X)

Arguments

X
random variable

Examples

Run this code
X.Bern <- RV(c(1,0), c(.5,.5))
E(X.Bern)

Run the code above in your browser using DataLab