Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Show menu Show menu

Generate random sample

Description

Generates a series of uniform or normal distributed random numbers.

Required input

Generate random sample

  • Column: the column in which you want to place the random numbers.
    Option List empty columns only: if this option is selected, only those columns that are empty will be listed in the previous selection box.
  • Header: the header (top cell) for the selected column.

You can select a random sample with Normal distribution or Uniform distribution.

  • For Normal distribution enter the desired mean and standard deviation, and the required sample size.
  • For Uniform distribution enter the minimum and maximum values and the required sample size. If minimum and maximum values both are whole numbers, the program will generate whole random numbers only.

Click OK to proceed. The selected column in the spreadsheet is filled with the requested number of random values (all other cells in the column are cleared).

See also