>  Docs Center  >  Libraries  >  ASTROLIB  >  MULTINOM
Libraries

MULTINOM

MULTINOM

Name


  MULTINOM

Purpose


  SIMULATE MULTINOMIAL RANDOM VARIABLES
  AUTHOR : BRANDON C. KELLY, STEWARD OBS., APR 2006

Inputs



  N - THE NUMBER OF TRIALS
  P - A K-ELEMENT VECTOR CONTAINING THE PROBABILITIES FOR EACH
      CLASS.

Optional Inputs



  NRAND - THE NUMBER OF RANDOM VARIABLES TO DRAW
  SEED - THE SEED FOR THE RANDOM NUMBER GENERATOR

Output


  NRAND RANDOM DRAWS FROM A MULTINOMIAL DISTRIBUTION WITH PARAMETERS
  N AND P.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us