Random variables available in Student[Statistics] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Statistics : Random Variable Distributions : Student/Statistics/RandomVariable

Random variables available in Student[Statistics]

 

Description

Examples

Compatibility

Description

• 

The Student[Statistics] subpackage represents distributions by random variables that follow that distribution.

• 

Commands in this section are of the general form NameRandomVariable(arguments) where Name is the name of a distribution and arguments are the parameters for that distribution. For example, NormalRandomVariable(1,2) is a random variable distributed as Normal1,2 and PoissonRandomVariable(a) is a random variable distributed as Poissona.

• 

Random variable commands available in Student[Statistics] subpackage are:

BernoulliRandomVariable

BetaRandomVariable

BinomialRandomVariable

CauchyRandomVariable

ChiSquareRandomVariable

DiscreteUniformRandomVariable

EmpiricalRandomVariable

ExponentialRandomVariable

FRatioRandomVariable

GammaRandomVariable

GeometricRandomVariable

HypergeometricRandomVariable

LogNormalRandomVariable

NegativeBinomialRandomVariable

NormalRandomVariable

PoissonRandomVariable

StudentTRandomVariable

UniformRandomVariable

 

 

• 

The command Sample can be used to generate a data sample which will follow the specified distribution and with the specified sample size.

Examples

withStudent[Statistics]:

Define a discrete distribution that follows Binomial6,14

ABinomialRandomVariable6,14:

ProbabilityFunctionA,x,output=plot

StandardDeviationA

342

(1)

MeanA

32

(2)

Define a continuous distribution that follow Exponential3

BExponentialRandomVariable3:

ProbabilityDensityFunctionB,x

&lcub;0x<013&ExponentialE;13xotherwise

(3)

CDFB&comma;x&comma;output&equals;plot

VarianceB

9

(4)

Define a distribution that follow 2Binomial6&comma;14&plus;Exponential3

C2A&plus;B&colon;

KurtosisC

45881

(5)

SkewnessC

13276

(6)

We can also randomly generate a sample from this distribution with sample size equal to 1000.

SampleC&comma;1000

1 .. 1000 VectorrowData Type: float8Storage: rectangularOrder: Fortran_order

(7)

Compatibility

• 

The Random variables available in Student[Statistics] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

Statistics[RandomVariable]

Student

Student[Statistics]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam