Survey Sampling
HW 8 Chapter 12
I already turned in Chapter 11 homework last week.
Problem 12.2
a) We need to use the ratio estimate.
b) Here, x=354- total AIDS in the sample, y=807- total number of b
Survey Sampling
HW7
Problem 10.1
a) This is a two-cluster design. We need to use:
In this formula, C1 is composed of the cost of traveling to each sample cluster for the
purpose of listing the samplin
Survey Sampling
Problem 9.2
a) We have to use the following formula:
Here, N = 20*40 = 800, P = 0.2
n = = 654.69 or 655
b) We need to list all the 800 patients and view the records of 655 patients. As
Survey Sampling
HW4
Problem 6.1
a) In the sample of stratum h, we give value 1 to the person having one or
more missing teeth and give value 0 to the person not having missing
teeth. Set this variable
Survey Sampling
HW3
Problem 4.1
a)
Solution: Since we totally have 120 homes and want to select a 1 in 3 sample,
we choose 2,5,8,11,14,17,20,23,26,29,32,35.if 2 starts the sequence. Then
two homes wit
Survey Sampling HW2
Problem 3.3
Command used:
Results shown:
Conclusion: We use stata program to do this problem. According to the results
above, we can see that the proportion of all workers in the p
Data Analysis
HW8
Problem 1
(a) In this experiment, they were interested in whether the suspected agent increased the
time until tumor onset in experimental animals. (1) The time metric is in days or
Data Analysis
HW7
Problem 1
(a) In the poisson model, it is not necessary to include the offset because we assume n is fixed here.
Then the distribution of proportion is the same as the distribution o
Data Analysis
HW 6
Problem 1
(a) Verify that the 18th obs has the highest Cooks distance and deviance residual and dfbeta. Remove the 18 th
obs and check the model.
> index = c(which.max(cooksd),which
Data Analysis
HW4
Problem 1
(a) Plot the data, fitted curve along with the 95% point-wise confidence band.
> pred.lin9 = predict(pw.lin9.fit,se.fit=T,interval="prediction",type="response")
Warning mes
Data Analysis
HW2
50
20
30
40
MAXFT
60
70
80
Problem 1
(a) Give graphical and numerical summaries of MAXFT variable.
> summary(MAXFT)
Min. 1st Qu. Median Mean 3rd Qu. Max.
13.00 46.00 52.00 51.96 59.0
Survey Sampling
HW9 Chapter 13
Problem 13.1
We need to use the formula of .
Here, . Use stata to compute the mean and standard deviation.
,
So the required number of households to estimate the total n