Difference between revisions of "Randomization in Excel"

Jump to: navigation, search
(Created page with "==Steps to Randomization in Excel == Here are the steps of doing a successful randomization using Excel: *The first thing that needs to be done is to define a randomization...")
 
Line 7: Line 7:
*Sort the random numbers from the lowest to the highest.
*Sort the random numbers from the lowest to the highest.
*Created an ordered serial number.
*Created an ordered serial number.
*Assign groups using either the <code> '''mod''' </code> or the  <code> '''if''' </code>
*Assign groups using either the <code> '''mod''' </code> or the  <code> '''if''' </code> formulas.
*Save the record.
*Save the record.

Revision as of 16:25, 24 January 2017

Steps to Randomization in Excel

Here are the steps of doing a successful randomization using Excel:

  • The first thing that needs to be done is to define a randomization rule. For example = the lowest 50% will be treatment, the rest will be assigned to control, etc.
  • Assign random numbers to each observation. While doing this, use "paste values" to stop recalculating the randomization.
    =rand()
  • Sort the random numbers from the lowest to the highest.
  • Created an ordered serial number.
  • Assign groups using either the mod or the if formulas.
  • Save the record.