Docsity

Statistical Analysis of Professor Salaries: Confidence Intervals and Hypothesis Testing - , Study notes of Statistics

Partial preview of the text

Download Statistical Analysis of Professor Salaries: Confidence Intervals and Hypothesis Testing - and more Study notes Statistics in PDF only on Docsity!

  1. The sample mean is from a random sample, the population distribution is normal and the

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.

  1. Population characteristic of interest μ =mean salary for all professors
  2. Null hypothesis H 0

: μ = 26,

  1. Alternate Hypothesis H a

: μ <26,

  1. Significance level: α =.
  2. Test statistic:

t =

´ x − hypothesized value

s

n

  1. Assumptions: The population is normal and the standard deviation is unknown,

therefore the use of the t test is reasonable.

  1. Computations: Where n = 52, = 23797.654, s = 42257.897, df = 52-1 = 51, SE =

s / √n = 5860.116, t =(23797.654-26000)/5860.116 =- 0.376.

  1. Conclusion: Since the P-Value, .045 is less than the significance value .05, we

reject the null hypothesis. There is convincing evidence that the mean value for

male salary is higher than the mean salary for females.

1. H

0:

Gender and rank are independent.

2. H

a

: Gender and rank are not independent.

  1. Significance level: α = .05.
  2. Test statistic:

X

2

∑

allcells

❑

( observed count − expected count )

2

expected cell count

  1. Expected cell counts: The following table shows the expected cell counts in

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

  1. Assumptions: This is a random sample. All expected counts are larger than 5.
  2. Computations:

X

2

2

2

2

2

  1. P-value: The two-way table for this example has 2 rows and 2 columns, so the P-

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.

  1. Conclusion: Since P-value (.374) > α (.05), we cannot reject H 0

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