Assignment -
For each of the prompts below, report the appropriate degrees of freedom, t statistic, p-value and plot using the statistical software platform of your choice (R/STATA)
1) A sample of 12 men and 14 women have been evaluated on their ability to perform a statistical test.
The marks are as follows:
Men
|
Women
|
75
|
80
|
72
|
76
|
68
|
74
|
66
|
70
|
65
|
68
|
65
|
68
|
60
|
66
|
58
|
65
|
50
|
62
|
48
|
58
|
42
|
56
|
40
|
43
|
|
40
|
|
39
|
Is there sufficient evidence that the 2.71% higher mean score is for women is statistically significant?
Insert a side-by-side boxplot visualizing the distribution of scores for men and women:
T-statistic: _______
Degrees of freedom: ________
P value: __________________
Interpret the results and their meaning in your own words.
2) To evaluate the relative merits of two control strategies for reducing the prevalence of mosquito vectors of the West Nile Virus, the proportion of West Nile positive mosquitos per 1,000 was measured at sites using each strategy in each of 10 cities.
City
|
Strategy A
|
Strategy B
|
Austin
|
5.8
|
5.7
|
San Diego
|
12.4
|
11.9
|
Dallas
|
1.4
|
1.6
|
Seattle
|
3.9
|
3.8
|
Miami
|
24.4
|
24.0
|
New Orleans
|
16.4
|
15.8
|
Philadelphia
|
9.2
|
9.0
|
New York City
|
10.4
|
10.2
|
Kansas City
|
6.5
|
6.4
|
Portland
|
0.3
|
0.3
|
Insert histograms visualizing the distribution of values for each strategy
T-statistic: _______
Degrees of freedom: ________
P value: __________________
Interpret the results and their meaning in your own words.