Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
The calculations for constructing 95% confidence intervals for the mean salaries of female and male professors using the t-distribution. It also includes hypothesis testing for the difference between mean salaries and testing the independence of gender and rank. The document also includes the calculation of the regression line for salary by years employed.
Typology: Study notes
1 / 6
population standard deviation is unknown, therefore to construct a 95% Confidence interval for
μ f
and μ m
I will use the following formula:
± (t critical value) (s / √n)
a) For μ f ,
where n = 14, f
= 21357.14, s f
= 6151.873, df f
= 13, t critical value = 2.
A 95% Confidence interval for μ f
is (17805.760, 24908.520). The range of the confidence
interval is defined by the sample statistic + margin of error. And the uncertainty is denoted by
the confidence level. Therefore, this 95% confidence interval says that the female professor
mean salary falls within the interval $17,805.760 and $24,908.520. That is we are 95%
confident that the true mean lies between this range.
b) For μ m
where n = 38, m
= 24696.79, s m
=5646.409, df m
= 37, t critical value = 2.
A 95% Confidence interval for μ m
is (22841.038, 26552.542). The range of the confidence
interval is defined by the sample statistic + margin of error. And the uncertainty is denoted by
the confidence level. Therefore, this 95% confidence interval says that the male professor mean
salary falls within the interval $22,841.038 and $26,552.542. That is that we are 95% confident
that the true mean lies between this range.
: μ = 26,
: μ <26,
t =
´ x − hypothesized value
s
n
therefore the use of the t test is reasonable.
s / √n = 5860.116, t =(23797.654-26000)/5860.116 =- 0.376.
score having 51 degrees of freedom is less than -0.376. From the distribution
chart we can see that the P- Value is 0.356.
reject the null hypothesis and therefore there is not convincing evidence that
population mean is less than $26,000.
where μ1 = true mean male salary and μ2 = true mean female salary.
: μ1 - μ2 = 0
: μ1 - μ2 > 0
t =
x 1 −
x 2 − hypothesized value
s
1
2
n
1
s
2
2
n
12
population distribution is a normal distribution and the standard deviations for
both samples are unknown, so the use of the two-sample t test is reasonable.
2
=31881934.9 , s 2
2
=37845542 , n 1
= 38 n 2
=14 , df = 21, so
t* = 24696.79-21357.14-
t* is approximately 1.
Value = P (t > t). Because df = 21, the P-Value is.*.
reject the null hypothesis. There is convincing evidence that the mean value for
male salary is higher than the mean salary for females.
0:
Gender and rank are independent.
a
: Gender and rank are not independent.
2
∑
allcells
❑
( observed count − expected count )
2
expected cell count
parentheses.
Rank
Full Non-Full Total
Gender
Female 4 (5.385) 10 (8.615) 14
Male 16 (14.615) 22 (23.385) 38
Total 20 32 52
2
2
2
2
2
value is based on a chi-square distribution with the appropriate df: df = (2-1)(2-1)
= 1. We can use excel to find the P-value, which is .374.
and there is not
convincing evidence that gender and rank are dependent.
0 5 10 15 20 25 30
0
5000
10000
15000
20000
25000
30000
35000
40000
f(x) = 752.8 x + 18166.
Salary by Years Employed
Salary
Linear (Salary )
Year
Salary
Let y denote the dependent variable, Salary and x denote the independent variable, years.
a) The summary statistics of the data are:
n = 52
∑
i = 1
n
x
i
∑
i = 1
n
y
i
∑
i = 1
n
❑ x
i
2
∑
i = 1
n
x
i
y
i
∑
i = 1
n
y
i
2
∑
i = 1
n
x
i
∑
i = 1
n
y
i
Then we have:
xy
∑
i = 1
n
x
i
y
i
(
∑
i = 1
n
x
i
)(
∑
i = 1
n
y
i
)
n
xx
∑
i = 1
n
x
i
2
(
∑
i = 1
n
x
i
)
2
n
´ y = 1237478/52 = 23797.
β =¿
Sxy
Sxx
α ^ = ´ y −
β
The equation of the estimated regression line is then:
y =
α +
β =18165.972+752.798 x
b) y is expected to increase by
β
units for each1 unit increase in x, here Salary is to increase
$752.8 for each increase in years worked.
c) If the year was to be 18, we would have:
y =
α +
β =18165.972+752.798( 18 )