SIMPLE AND COMPLEX RANDOM ASSIGNMENT IN EXPERIMENTAL DESIGNS

Valentim Rodrigues Alferes, University of Coimbra (Portugal), 2009

 

 

 

All the programs are self-contained SPSS syntax files running automatically from the SPSS Syntax Editor:

See Output

 

USER SPECIFICATIONS

BETWEEN-SUBJECTS DESIGNS

Simple Random Assignment

SimpleRand1.sps – Equal probabilities

• Number of treatments

 • Number of units per study

SimpleRand2.sps – Forced equal sizes

SimpleRand3.sps – Forced unequal sizes

• Number of treatments

• Number of units per treatment

SimpleRand4.sps – Unequal probabilities

• Number of treatments

• Theoretical probabilities of assignment

• Number of units per study

Block Random Assignment

BlockRand.sps – Simple and generalized block designs

• Number of treatments

• Number of blocks

• Number of units per block

[The number of units per block must be equal (simple blocks) or multiple (generalized blocks) of the number of treatments]

Stratified Random Assignment

StrataRand1.sps – No restrictions

• Number of treatments

• Number of strata

• Number of units per stratum

[The number of units per stratum must be equal or greater than the number of treatments]

StrataRand2.sps – Forced equal sizes

StrataRand3.sps – Forced unequal sizes

• Number of treatments

• Number of strata

• Number of units per treatment within stratum

[The number of units per stratum must be equal or greater than the number of treatments]

StrataRand4.sps – Unequal probabilities

• Number of treatments

• Number of strata

• Number of units per stratum

• Theoretical probabilities of assignment

• Number of units per study

[The number of units per stratum must be equal or greater than the number of treatments]

 

 

 

 

WITHIN-SUBJECTS DESIGNS (Repeated Measures Designs)

See General  Recommendations

Complete Counterbalancing

CC2.sps – 2 treatments (2 sequences)

• Number of units per sequence
(1 to n)

CC3.sps – 3 treatments (6 sequences)

CC4.sps – 4 treatments (24 sequences)

CC5.sps – 5 treatments (120 sequences)

CC6.sps – 6 treatments (720 sequences)

Partial Counterbalancing (Latin Squares)

LS2.sps – 2 treatments (2 sequences)

Identical to CC2 (n per sequence = 1)

No user specifications. The programs produce automatically a random Latin Square.

LS3.sps – 3 treatments (3 sequences)

LS4.sps – 4 treatments (4 sequences)

LS5.sps – 5 treatments (5 sequences)

The user must read in the Output Window the last random permutation produced in STEP 1 and introduce this permutation in the corresponding syntax line of STEP 2.

LS6.sps – 6 treatments (6 sequences)

LS7.sps – 7 treatments (7 sequences)

LS8.sps – 8 treatments (8 sequences)

LS9.sps – 9 treatments (9 sequences)

LS10.sps – 10 treatments (10 sequences)

LS11.sps – 11 treatments (11 sequences)

LS12.sps – 12 treatments (12 sequences)

Carryover Designs

CO2.sps – 2 treatments /2 sequences (Single carryover design)

Identical to CC2 (n per sequence = 1) and LS2

No user specifications. The programs produce automatically a random Carryover Design.

CO3.sps – 3 treatments /6 sequences (Double carryover design)

Identical to CC3 (n per sequence = 1)

CO4.sps – 4 treatments /4 sequences (Single carryover design)

CO5.sps – 5 treatments /10 sequences (Double carryover design)

The user must read in the Output Window the last random permutation produced in STEP 1 and introduce this permutation in the corresponding syntax line of STEP 2.

CO6.sps – 6 treatments /6 sequences (Single carryover design)

CO7.sps – 7 treatments /14 sequences (Double carryover design)

CO8.sps – 8 treatments /8 sequences (Single carryover design)

CO9.sps – 9 treatments /18 sequences (Double carryover design)

CO10.sps – 10 treatments /10 sequences (Single carryover design)

CO11.sps – 11 treatments /22 sequences (Double carryover design)

CO12.sps – 12 treatments /12 sequences (Single carryover design)

Truncated Counterbalancing and Random Ordering of Treatments

Truncated Counterbalancing

The user must add the following syntax line

N of cases ?.

to CC, LQ, or CO designs.

IndRO.sps – Random Ordering of Treatments

• Number of treatments

• Number of units per study

 

 

 

 

SPSS Syntax Files