1 / 70

Two sample tests

Two sample tests. Study designs. Single sample, compare two sub-samples (cross-sectional survey) Compare samples from 2 different populations (2 cross sectional surveys, case-control study) Single sample; subjects randomly allocated to different interventions (experiment, clinical trial).

Télécharger la présentation

Two sample tests

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Two sample tests

  2. Study designs • Single sample, compare two sub-samples (cross-sectional survey) • Compare samples from 2 different populations (2 cross sectional surveys, case-control study) • Single sample; subjects randomly allocated to different interventions (experiment, clinical trial)

  3. Simple randomization • Generate n uniform (0,1) random deviates. • If ui<0.5 assign to intervention A to unit i; • if ui> 0.5 assign B. • 3. Note nA is a random variable with E(nA)=0.5.

  4. Restricted randomization • Generate a U(0,1) deviate, ui, for each • unit in the sample. • 2. Sort the deviates from smallest to largest. • 3. Assign intervention A to the units with • the n/2 smallest ui’s. • 4. Note this results in half of the sample • assigned to each intervention;i.e. nA is fixed.

  5. Example: An experiment was conducted to see if a drug could prevent premature birth. 30 women at risk of premature birth were assigned to take the drug or a placebo (15 in each group). Outcome: birthweight.

  6. Birthweights

  7. A study was done to compare the percent body fat of 3rd graders At schools on 2 Native American Reservations: Gila River (Tohona O’odham) and White River (Apache).

  8. Grades on second exam

  9. Ranks W1 Ranks W1 Ranks W1

  10. Birthweights (lbs.)

More Related