Docsity

Midterm Exam 2 Problems - Statistical Computing | STAT 428, Exams of Biostatistics

Toggle sidebar
bg1
STAT 428
Spring 2011
Midterm II
Apr 20
Midterm II
Due: 1:00 pm (at the beginning of the class) on Wednesday, Apr 27.
This is a take-home midterm exam. You may not collaborate with any other person (whether in
the class or not). You may use any reading materials (class notes, books, etc.) if you wish. Feel
free to ask me if you do not understand something in one of the questions.
You must show your work to get partial credit. It is to your advantage to write your solutions as
clearly as possible, since we cannot give credit for solutions we do not understand. Good luck.
Cheating on exams is a breach of trust with classmates and faculty, and will not be tolerated. After
completing the exam please acknowledge the Honor Code with your signature below:
I have neither given nor received any unauthorized aid on this exam.
Signature: ____________________________________
Name (Print): _________________________________
1
pf3

Partial preview of the text

Download Midterm Exam 2 Problems - Statistical Computing | STAT 428 and more Exams Biostatistics in PDF only on Docsity!

STAT 428

Spring 2011

Midterm II Apr 20

Midterm II

Due: 1:00 pm (at the beginning of the class) on Wednesday, Apr 27.

This is a take-home midterm exam. You may not collaborate with any other person (whether in the class or not). You may use any reading materials (class notes, books, etc.) if you wish. Feel free to ask me if you do not understand something in one of the questions.

You must show your work to get partial credit. It is to your advantage to write your solutions as clearly as possible, since we cannot give credit for solutions we do not understand. Good luck.

Cheating on exams is a breach of trust with classmates and faculty, and will not be tolerated. After completing the exam please acknowledge the Honor Code with your signature below:

I have neither given nor received any unauthorized aid on this exam.

Signature: ____________________________________

Name (Print): _________________________________

Total: /

Problem 1 : (6 points) Suppose we want to use the sequential importance sampling algorithm to estimate the p-value of the exact test on a 3 × 2 contingency table with row sums 3, 2, 2 and column sums 5, 2. Suppose we sample the table column by column and use the hypergeometric proposal distribution on each cell as we discussed in class. Compute the probability of generating the following table from the proposal distribution.

2 1 3 2 0 2 1 1 2 5 2