Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Random_normal

Function: random_normal (<m>,<s>)

random_normal(0,1,5/2);

Function: random_normal (<m>,<s>,<n>) Returns a Normal(m,s) random variate, with s>0. Calling random_normal with a third argument <n>, a random sample of size <n> will be simulated.

This is an implementation of the Box-Mueller algorithm, as described in Knuth, D.E. (1981) <Seminumerical Algorithms. The Art of Computer Programming.> Addison-Wesley.

To make use of this function, write first load(distrib).

(%o1)                                true
(%i2) 

Related Examples

random_normal

? random_normal;

Calculate

random_normal

random_normal(0,1,3);

Calculate

random_normal

x = random_normal(0,1...

x+1;

Calculate

random_normal

x = random_normal(0,1...

x;

Calculate

random_normal

? random_normal;

Calculate

random_normal

random_normal(0,1,3);

Calculate

random_normal

random_normal(0,1,5/2);

Calculate

random_normal

x = random_normal(0,1...

x;

Calculate

random_normal

x = random_normal(0,1...

x+0;

Calculate

random_normal

x = random_normal(0,1...

Calculate