Docsity

Sample Problems For Test - Categorical Data – 2003 | STAT 770, Exams of Statistics

Toggle sidebar
bg1
April 9, 2003
Sample Problems for Stat 770 Test
The following four problems are intended to be similar, in coverage and
difficulty, to those which I might ask on the in-class test next Monday. (But
there will be 2 or 3 problems on the test.)
(1). Consider a 3 ×3 table with row-levels A, B, C and column-levels 1, 2,
3, with cell-counts following a multinomial distribution with unknown cell-
probabilities πi,j and table-total n= 1000, observed as follows:
j=123T otals
i=
A90 90 20 200
B100 40 160 300
C210 170 120 500
T ot. 400 300 300 1000
(a) Construct hypothesis tests (at the .05 level, using χ2
1,.05 = 3.84, χ2
2,.05 =
5.99, χ2
3,.05 = 7.81) of the three successively more restrictive nested hypothe-
ses (each time against the general alternative)
Hb:π1j=π1+ π+j∀j
Ha:Hb∩ { πi1=π+1 πi+} ∀ i
H0:πij =πi+π+j∀i, j
(b) If all cell counts are divided by 3, how do the results change ?
(c) (Extra) If H0were actually valid, then what is the approximate
probability that at least one of these three tests would reject ?
(2). Suppose that a series of 5 independent 2 ×2 tables are observed,
each with the same row-categories (E=Exposed and N=not Exposed) and
column-categories (D=Disease and H=Healthy), and that the k’th table
corresponds to a value Xk=kof a measured risk-factor for the disease. If
the observed numbers Yijk can be assumed Poisson-distributed with param-
eter exp(a+bI[i=E]+cXkI[j=D]), then formulate the constant-relative-risk
hypothesis
H0:E(YiDk)/E (YiHk ) is constant ∀i, k
1
pf2

Partial preview of the text

Download Sample Problems For Test - Categorical Data – 2003 | STAT 770 and more Exams Statistics in PDF only on Docsity!

April 9, 2003

Sample Problems for Stat 770 Test

The following four problems are intended to be similar, in coverage and difficulty, to those which I might ask on the in-class test next Monday. (But there will be 2 or 3 problems on the test.)

(1). Consider a 3 × 3 table with row-levels A, B, C and column-levels 1, 2, 3, with cell-counts following a multinomial distribution with unknown cell- probabilities πi,j and table-total n = 1000, observed as follows:

j = 1 2 3 T otals i = A 90 90 20 200 B 100 40 160 300 C 210 170 120 500 T ot. 400 300 300 1000

(a) Construct hypothesis tests (at the .05 level, using χ^21 ,. 05 = 3. 84 , χ^22 ,. 05 =

  1. 99 , χ^23 ,. 05 = 7.81) of the three successively more restrictive nested hypothe- ses (each time against the general alternative)

Hb : π 1 j = π1+ π+j ∀ j

Ha : Hb ∩ { πi 1 = π+1 πi+ } ∀ i H 0 : πij = πi+ π+j ∀ i, j (b) If all cell counts are divided by 3, how do the results change? (c) (Extra) If H 0 were actually valid, then what is the approximate probability that at least one of these three tests would reject?

(2). Suppose that a series of 5 independent 2 × 2 tables are observed, each with the same row-categories (E =Exposed and N =not Exposed ) and column-categories (D =Disease and H =Healthy), and that the k’th table corresponds to a value Xk = k of a measured risk-factor for the disease. If the observed numbers Yijk can be assumed Poisson-distributed with param- eter exp(a + bI[i=E] + cXk I[j=D]), then formulate the constant-relative-risk hypothesis

H 0 : E(YiDk)/E(YiHk) is constant ∀ i, k

as a hypothesis-test for a GLM parameter, and explain as explicitly as you can how you would test it at level .05.

(3). A logistic regression fitted in Splus to a set of 60 data-triples (ni, Yi, Xi), with 5 ≤ ni ≤ 10 and niYi ∼ Binom(ni, plogis(a + bXi)), yields the following output:

Coefficients: (Intercept) X -1.3412 0. Degrees of Freedom: 59 Total (i.e. Null); 58 Residual Null Deviance: 77. Residual Deviance: 63.

and standardized coefficients

Estimate Std. Error z value (Intercept) -1.3411556 0.1627916 -8. X 0.3897926 0.1063123 3.

NB. The true coefficient values in this simulated dataset were: -1, 0.2.

(a) Using the sufficient statistic values

∑ 60 i=1 niYi^ = 132^ and^

∑ 60 i=1 ni^ = 458, find the maximized log-likelihood for the model with b = 0, and use the given deviance values to find the maximized log-likelihood for the fitted lgistic regression.

(b) Use the output information to find the 95% confidence intervals for ea, eb. Does the given output determine a confidence interval for ea+b^?

(c) The deviance and Pearson residuals have brief summary statistics respectively given by

Min. 1st Qu. Median Mean 3rd Qu. Max. -2.25100 -0.72460 -0.10640 -0.05093 0.62530 2. Min. 1st Qu. Median Mean 3rd Qu. Max. -1.87700 -0.68330 -0.10580 0.01181 0.64330 2.

What conclusions does this suggest about the fitted logistic model? (What might you look at to get a clearer picture ?)

(4). Question about NR and Fisher Scoring and IRLS (in logistic regression setting.)