Resampling Stats

Order
order online
printed form

Software
Excel
Matlab
XLMiner
Downloads

Books, etc. Intro text online
Articles
Bibliographies

Courses Internet course

Teaching Teaching With RS
Teaching Information
What Students Say
What Teachers Say
What Reviewers Say
What Authors Say

Support User Guides
Troubleshooting

About Contact Mailing List

 
About Resampling



| Basic Commands | Probability Puzzles | Hypothesis Test, Count Data | Hypothesis Test, Measured Data | Confidence Interval, Count Data | Confidence Interval, Measured Data | Association / Correlation | Regression | Other Examples |

Shuffling Hats

Ex. 5-6 from Simon resampling text: What are the chances of hats being shuffled and then re-paired with original owner?

6 hats, 6 owners.

NUMBERS 1,6 a

The hats

NUMBERS 1,6 b

The owners

REPEAT 1000
SHUFFLE b c

shuffle the hats

SUBTRACT a c d
COUNT d =0 e

A 0 indicates the hat went with its original owner

SCORE e z
END
HISTOGRAM z

The x-axis indicates the number of hats that went back to their owners.


Home | Order | Software | Books | Courses | Teaching | Support | About | Search | Contact | Mailing List

Site Design by NEW TARGET
Site Hosted by Hagen Hosting
© 2003 Resampling Stats, Inc.
Contact Resampling Stats