Week 10: Assignment-II
1. What is the appropriate statistical test to compare the means of Gender groups on
the continuous variable Albumin Level?
Sample Data Sheet Summary
Mortality_30day Marital Smoking Sum of Sum of
Row Labels s status status Urea Albumin
female No Divorced current 7.1 27
female No Married current 43.8 40
female No Married ex-smoker 8.8 25
female No Married non-smoker 48.9 79
female No Not recorded ex-smoker 44.8 135
female No Not recorded non-smoker 68.9 139
female No Single current 3.8 24
female Yes Married non-smoker 3.7 30
male No Married ex-smoker 38.3 89
male No Married non-smoker 19.5 46
male No Not recorded ex-smoker 44.9 103
male No Not recorded non-smoker 64 131
male No Single current 4.9 23
male Yes Divorced ex-smoker 47.5 32
male Yes Not recorded non-smoker 39.6 40
Grand Total 488.5 963
In this data, we only got the category that is needed to compare the mean statistics of the gender
groups. H0 stands for the null hypothesis while H1 stands for the alternative hypothesis.
The null hypothesis in its meaning is that there is no difference between the specified
samples. On the other hand, there is a difference in the specified samples in the alternative
hypothesis.
Below is a summary of the categories, hypotheses, and sample tests made.
Categorical Albumin
Female 516 H0 Mean A equal to Mean B
Male 447 H1 Mean A not equal to Mean B
, Count of Patient
Row Labels ID
female 18
male 18
Grand Total 36
Our two groups are the gender, male and female with the same headcounts.
Now, assuming that α = 0.05
H0: µa= µb
H0: µa≠ µb
Now since we have to compare the means of two groups, we have to use the t-test.
The T-test is used to determine if the process made affects the specified group.
What is a two-tailed test?
It is a method in testing both sides whether greater than or less than the certain range of
value
Decision Rule:
When using the two-tailed test, we reject the null hypothesis if the absolute value of the
computed value is greater than the absolute value of the critical value. However, when it’s less
than, we do not reject the null hypothesis.
2. Formulate a research question and the null hypothesis for the test you identified in
the previous question. Also, state the possible alternative hypotheses.
Research questions:
Calculate the mean for females and males who have a higher albumin level range from
50-100.
Calculate the mean for male and female non-smokers.
If the null hypothesis is true, how likely would it be? What are the chances? What is the
probability that we would see the difference that we have observed with a great difference for
that matter?
1. What is the appropriate statistical test to compare the means of Gender groups on
the continuous variable Albumin Level?
Sample Data Sheet Summary
Mortality_30day Marital Smoking Sum of Sum of
Row Labels s status status Urea Albumin
female No Divorced current 7.1 27
female No Married current 43.8 40
female No Married ex-smoker 8.8 25
female No Married non-smoker 48.9 79
female No Not recorded ex-smoker 44.8 135
female No Not recorded non-smoker 68.9 139
female No Single current 3.8 24
female Yes Married non-smoker 3.7 30
male No Married ex-smoker 38.3 89
male No Married non-smoker 19.5 46
male No Not recorded ex-smoker 44.9 103
male No Not recorded non-smoker 64 131
male No Single current 4.9 23
male Yes Divorced ex-smoker 47.5 32
male Yes Not recorded non-smoker 39.6 40
Grand Total 488.5 963
In this data, we only got the category that is needed to compare the mean statistics of the gender
groups. H0 stands for the null hypothesis while H1 stands for the alternative hypothesis.
The null hypothesis in its meaning is that there is no difference between the specified
samples. On the other hand, there is a difference in the specified samples in the alternative
hypothesis.
Below is a summary of the categories, hypotheses, and sample tests made.
Categorical Albumin
Female 516 H0 Mean A equal to Mean B
Male 447 H1 Mean A not equal to Mean B
, Count of Patient
Row Labels ID
female 18
male 18
Grand Total 36
Our two groups are the gender, male and female with the same headcounts.
Now, assuming that α = 0.05
H0: µa= µb
H0: µa≠ µb
Now since we have to compare the means of two groups, we have to use the t-test.
The T-test is used to determine if the process made affects the specified group.
What is a two-tailed test?
It is a method in testing both sides whether greater than or less than the certain range of
value
Decision Rule:
When using the two-tailed test, we reject the null hypothesis if the absolute value of the
computed value is greater than the absolute value of the critical value. However, when it’s less
than, we do not reject the null hypothesis.
2. Formulate a research question and the null hypothesis for the test you identified in
the previous question. Also, state the possible alternative hypotheses.
Research questions:
Calculate the mean for females and males who have a higher albumin level range from
50-100.
Calculate the mean for male and female non-smokers.
If the null hypothesis is true, how likely would it be? What are the chances? What is the
probability that we would see the difference that we have observed with a great difference for
that matter?