Statics ANOVA help 5 questions in excel

profilemtvert3bv
whole_file.xlsx

Data

ID Salary Compa Midpoint Age Performance Rating Service Gender Raise Degree Gender1 Gr Students: Copy the Student Data file data values into this sheet to assist in doing your weekly assignments.
1 55.7 0.978 57 34 85 8 0 5.7 0 M E The ongoing question that the weekly assignments will focus on is: Are males and females paid the same for equal work (under the Equal Pay Act)?
2 27.1 0.875 31 52 80 7 0 3.9 0 M B Note: to simplfy the analysis, we will assume that jobs within each grade comprise equal work.
3 34.7 1.120 31 30 75 5 1 3.6 1 F B
4 61.3 1.076 57 42 100 16 0 5.5 1 M E The column labels in the table mean:
5 51 1.062 48 36 90 16 0 5.7 1 M D ID – Employee sample number Salary – Salary in thousands
6 78.9 1.177 67 36 70 12 0 4.5 1 M F Age – Age in years Performance Rating - Appraisal rating (employee evaluation score)
7 41.4 1.036 40 32 100 8 1 5.7 1 F C Service – Years of service (rounded) Gender – 0 = male, 1 = female
8 23.9 1.040 23 32 90 9 1 5.8 1 F A Midpoint – salary grade midpoint Raise – percent of last raise
9 77.6 1.158 67 49 100 10 0 4 1 M F Grade – job/pay grade Degree (0= BS\BA 1 = MS)
10 23.7 1.031 23 30 80 7 1 4.7 1 F A Gender1 (Male or Female) Compa - salary divided by midpoint
11 21.4 0.932 23 41 100 19 1 4.8 1 F A
12 61.6 1.080 57 52 95 22 0 4.5 0 M E
13 41.4 1.035 40 30 100 2 1 4.7 0 F C
14 23.6 1.026 23 32 90 12 1 6 1 F A
15 24.1 1.049 23 32 80 8 1 4.9 1 F A
16 45.4 1.136 40 44 90 4 0 5.7 0 M C
17 70.8 1.242 57 27 55 3 1 3 1 F E
18 34.6 1.115 31 31 80 11 1 5.6 0 F B
19 25 1.088 23 32 85 1 0 4.6 1 M A
20 35.7 1.151 31 44 70 16 1 4.8 0 F B
21 78 1.164 67 43 95 13 0 6.3 1 M F
22 51.5 1.073 48 48 65 6 1 3.8 1 F D
23 22.6 0.983 23 36 65 6 1 3.3 0 F A
24 55.9 1.164 48 30 75 9 1 3.8 0 F D
25 24.6 1.069 23 41 70 4 0 4 0 M A
26 21.7 0.943 23 22 95 2 1 6.2 0 F A
27 38.7 0.968 40 35 80 7 0 3.9 1 M C
28 77.9 1.162 67 44 95 9 1 4.4 0 F F
29 74.8 1.116 67 52 95 5 0 5.4 0 M F
30 48 1.000 48 45 90 18 0 4.3 0 M D
31 23.6 1.027 23 29 60 4 1 3.9 1 F A
32 27.6 0.889 31 25 95 4 0 5.6 0 M B
33 63.3 1.110 57 35 90 9 0 5.5 1 M E
34 27.8 0.898 31 26 80 2 0 4.9 1 M B
35 22.1 0.960 23 23 90 4 1 5.3 0 F A 35.4 1.142
36 24.8 1.079 23 27 75 3 1 4.3 0 F A 41.8 1.046
37 23.9 1.041 23 22 95 2 1 6.2 0 F A 22.5 0.977
38 53.6 0.940 57 45 95 11 0 4.5 0 M E 23 1.002 60.8 1.066
39 35.2 1.137 31 27 90 6 1 5.5 0 F B 24.1 1.049 26.1 0.843
40 24.2 1.054 23 24 90 2 0 6.3 0 M A 42 1.051 61.3 1.076
41 44 1.100 40 25 80 5 0 4.3 0 M C 23.9 1.041 46.8 0.974
42 22.9 0.997 23 32 100 8 1 5.7 1 F A 23.7 1.030 74 1.104
43 76.3 1.139 67 42 95 20 1 5.5 0 F F 71 1.246 82.5 1.231
44 65.3 1.146 57 45 90 16 0 5.2 1 M E 34.4 1.110 65.1 1.142
45 55.7 1.161 48 36 95 8 1 5.2 1 F D 34.2 1.104 35.7 0.892
46 68.2 1.196 57 39 75 20 0 3.9 1 M E 62.1 1.294 24.9 1.084
47 57.9 1.016 57 37 95 5 0 5.5 1 M E 22.7 0.988 76.8 1.147
48 67.8 1.190 57 34 90 11 1 5.3 1 F E 49.4 1.029 24.5 1.066
49 65.8 1.155 57 41 95 21 0 6.6 0 M E 23.2 1.008 46.9 1.173
50 60.6 1.063 57 38 80 12 0 4.6 0 M E 77.3 1.153 77.7 1.160
23.1 1.005 46.7 0.973
23.4 1.019 29 0.935
23.3 1.014 63.8 1.119
23.5 1.023 28.1 0.907
35.6 1.148 59.3 1.040
1.253 0.843 22.6 0.983 24.5 1.067
73.9 1.103 50.1 1.253
53.3 1.110 60.6 1.063
69.1 1.213 64.7 1.135
63.3 1.111
58.4 1.025
62.6 1.099

Week 1

Week 1. Measurement and Description - chapters 1 and 2
The goal this week is to gain an understanding of our data set - what kind of data we are looking at, some descriptive measurse, and a
look at how the data is distributed (shape).
1 Measurement issues. Data, even numerically coded variables, can be one of 4 levels -
nominal, ordinal, interval, or ratio. It is important to identify which level a variable is, as
this impact the kind of analysis we can do with the data. For example, descriptive statistics
such as means can only be done on interval or ratio level data.
Please list under each label, the variables in our data set that belong in each group.
Nominal Ordinal Interval Ratio
Gender Performance Age
Degree Salary
Grade Raise
Compa
midpoint
b. For each variable that you did not call ratio, why did you make that decision?
Gender is a typical classifcation of nominal data
Degree I also felt was nominal since its more of a have it not
Pay grade is also not ratio since its just a matter of a few options
I felt performance is ordinal since its based on a scale
2 The first step in analyzing data sets is to find some summary descriptive statistics for key variables.
For salary, compa, age, performance rating, and service; find the mean, standard deviation, and range for 3 groups: overall sample, Females, and Males.
You can use either the Data Analysis Descriptive Statistics tool or the Fx =average and =stdev functions.
(the range must be found using the difference between the =max and =min functions with Fx) functions.
Note: Place data to the right, if you use Descriptive statistics, place that to the right as well.
Some of the values are completed for you - please finish the table.
Salary Compa Age Perf. Rat. Service
Overall Mean 45.26 1.0669 35.7 85.9 9.0
Standard Deviation 19.6716 0.0869 8.2513 11.4147 5.7177 Note - data is a sample from the larger company population
Range 57.5 0.367 30 45 21
Female Mean 38.29 1.0733 32.5 84.2 7.9
Standard Deviation 18.8 0.0850 6.9 13.6 4.9
Range 54.7 0.317 26.0 45.0 18.0
Male Mean 52.24 1.0606 38.9 87.6 10.0
Standard Deviation 18.4 0.1019 8.4 8.7 6.4
Range 58.0 0.410 28.0 30.0 21.0
3 What is the probability for a: Probability
a.       Randomly selected person being a male in grade E? 22%
b.      Randomly selected male being in grade E? 44%
Note part b is the same as given a male, what is probabilty of being in grade E?
c. Why are the results different? The results are diffenrent in that when you narrow down the group to just males you are lowering the sample size and therefore increasing the percentage
4 A key issue in comparing data sets is to see if they are distributed/shaped the same. We can do this by looking at some measures of where
some selected values are within each data set - that is how many values are above and below a comparable value.
For each group (overall, females, and males) find: Overall Female Male
A The value that cuts off the top 1/3 salary value in each group 57.9 42.0 63.3 "=large" function
i The z score for this value within each group? 0.6423467553 0.1970657097 0.6022378271 Excel's standize function
ii The normal curve probability of exceeding this score: 1-normsdist function
iii What is the empirical probability of being at or exceeding this salary value?
B The value that cuts off the top 1/3 compa value in each group. 1.1 1.1 1.1
i The z score for this value within each group? 0.5644075551 0.3608140192 0.5734581502
ii The normal curve probability of exceeding this score:
iii What is the empirical probability of being at or exceeding this compa value?
C How do you interpret the relationship between the data sets? What do they mean about our equal pay for equal work question?
5.      What conclusions can you make about the issue of male and female pay equality? Are all of the results consistent?
What is the difference between the sal and compa measures of pay? salary is the actual dollar amount made where the comp is the avearge mid point
Conclusions from looking at salary results: on average in this example males make an average 20k higher in salary
Conclusions from looking at compa results: the compa aveage for both groups male and female is basically the same
Do both salary measures show the same results? yes
Can we make any conclusions about equal pay for equal work yet? while it woult appear that males are making more money, in total dollar amoutn this may be true, the overall numbers show the same mid points and basically equal pay

Week 2

Week 2 Testing means - T-tests
In questions 2, 3, and 4 be sure to include the null and alternate hypotheses you will be testing.
In the first 4 questions use alpha = 0.05 in making your decisions on rejecting or not rejecting the null hypothesis.
1 Below are 2 one-sample t-tests comparing male and female average salaries to the overall sample mean.
(Note: a one-sample t-test in Excel can be performed by selecting the 2-sample unequal variance t-test and making the second variable = Ho value - a constant.)
Note: These values are not the same as the data the assignment uses. The purpose is to analyze the results of t-tests rather than directly answer our equal pay question.
Based on these results, how do you interpret the results and what do these results suggest about the population means for male and female average salaries?
Males Females
Ho: Mean salary = 45.00 Ho: Mean salary = 45.00
Ha: Mean salary =/= 45.00 Ha: Mean salary =/= 45.00
Note: While the results both below are actually from Excel's t-Test: Two-Sample Assuming Unequal Variances,
having no variance in the Ho variable makes the calculations default to the one-sample t-test outcome - we are tricking Excel into doing a one sample test for us.
Male Ho Female Ho
Mean 52 45 Mean 38 45
Variance 316 0 Variance 334.6666666667 0
Observations 25 25 Observations 25 25
Hypothesized Mean Difference 0 Hypothesized Mean Difference 0
df 24 df 24
t Stat 1.9689038266 t Stat -1.9132063573
P(T<=t) one-tail 0.0303078503 P(T<=t) one-tail 0.0338621184
t Critical one-tail 1.7108820799 t Critical one-tail 1.7108820799
P(T<=t) two-tail 0.0606157006 P(T<=t) two-tail 0.0677242369
t Critical two-tail 2.0638985616 t Critical two-tail 2.0638985616
Conclusion: Do not reject Ho; mean equals 45 Conclusion: Do not reject Ho; mean equals 45
Note: the Female results are done for you, please complete the male results.
Is this a 1 or 2 tail test? 2 tail Is this a 1 or 2 tail test? 2 tail
- why? Ho contains = - why? Ho contains =
P-value is: 0.060615701 P-value is: 0.0677242369
Is P-value < 0.05 (one tail test) or 0.025 (two tail test)? no Is P-value < 0.05 (one tail test) or 0.025 (two tail test)? No
Why do we not reject the null hypothesis? p-value is greater thant he rejector Why do we not reject the null hypothesis? P-value greater than (>) rejection alpha
Interpretation of test outcomes: There is enough evidence to show that the male and female average salaries are equal to the overall mean
2 Based on our sample data set, perform a 2-sample t-test to see if the population male and female average salaries could be equal to each other.
(Since we have not yet covered testing for variance equality, assume the data sets have statistically equal variances.)
Ho: Male salary mean = Female salary mean
Ha: Male salary mean =/= Female salary mean
Test to use: t-Test: Two-Sample Assuming Equal Variances
t-Test: Two-Sample Assuming Equal Variances
Males Females
Mean 52.568 38.34
Variance 337.2672666667 354.8083333333
Observations 25 25
Pooled Variance 346.0378
Hypothesized Mean Difference 0
df 48
t Stat 2.7041893116
P(T<=t) one-tail 0.0047223761
t Critical one-tail 1.6772241961
P(T<=t) two-tail 0.0094447522
t Critical two-tail 2.0106347576
P-value is: 0.009444752
Is P-value < 0.05 (one tail test) or 0.025 (two tail test)? no
Reject or do not reject Ho: reject
If the null hypothesis was rejected, calculate the effect size value: 0.76486024
If calculated, what is the meaning of effect size measure: the standard mean difference in male and female salary
Interpretation:
b. Is the one or two sample t-test the proper/correct apporach to comparing salary equality? Why?
one sample t-test is the right approach because we found the results to be significant
3 Based on our sample data set, can the male and female compas in the population be equal to each other? (Another 2-sample t-test.)
Again, please assume equal variances for these groups.
Ho: Male compas mean = Female compas mean
Ha: Male compas mean =/= Female compas mean
Statistical test to use: t-Test: Two-Sample Assuming Equal Variances
t-Test: Two-Sample Assuming Equal Variances
Males Compas Females Compas
Mean 1.0674 1.07552
Variance 0.01038525 0.0072300933
Observations 25 25
Pooled Variance 0.0088076717
Hypothesized Mean Difference 0
df 48
t Stat -0.3059007047
P(T<=t) one-tail 0.3805015391
t Critical one-tail 1.6772241961
P(T<=t) two-tail 0.7610030783
t Critical two-tail 2.0106347576
What is the p-value: 0.761003078
Is P-value < 0.05 (one tail test) or 0.025 (two tail test)? no
Reject or do not reject Ho: do not reject ho
If the null hypothesis was rejected, calculate the effect size value:
If calculated, what is the meaning of effect size measure:
Interpretation:
4 Since performance is often a factor in pay levels, is the average Performance Rating the same for both genders?
NOTE: do NOT assume variances are equal in this situation.
Ho: Male average performance rating=Female average performance rating
Ha: Male average performance rating =/=Female average performance rating
Test to use: t-Test: Two-Sample Assuming Unequal Variances
t-Test: Two-Sample Assuming Unequal Variances
Variable 1 Variable 2
Mean 87.6 84.2
Variance 75.25 184.75
Observations 25 25
Hypothesized Mean Difference 0
df 41
t Stat 1.054295244
P(T<=t) one-tail 0.1489606745
t Critical one-tail 1.6828780021
P(T<=t) two-tail 0.2979213489
t Critical two-tail 2.0195409704
What is the p-value: 0.29792
Is P-value < 0.05 (one tail test) or 0.025 (two tail test)? no
Do we REJ or Not reject the null? not reject
If the null hypothesis was rejected, calculate the effect size value:
If calculated, what is the meaning of effect size measure:
Interpretation:
5 If the salary and compa mean tests in questions 2 and 3 provide different results about male and female salary equality,
which would be more appropriate to use in answering the question about salary equity? Why?
2 sample t-test to compare the male and female salaries would be more appropriate since it gives the real salary equity or difference, other than using the compas which are not the actual salaries
What are your conclusions about equal pay at this point?
They are not paid equally

Week 3

Week 3 Paired T-test and ANOVA
For this week's work, again be sure to state the null and alternate hypotheses and use alpha = 0.05 for our decision
value in the reject or do not reject decision on the null hypothesis.
1 Many companies consider the grade midpoint to be the "market rate" - the salary needed to hire a new employee. Salary Midpoint Diff
Does the company, on average, pay its existing employees at or above the market rate?
Use the data columns at the right to set up the paired data set for the analysis.
Null Hypothesis: The company pays its employees above market rate
Alt. Hypothesis: the company does not pay its employees above the market rate
Statistical test to use: paired t-test
t-Test: Paired Two Sample for Means
Variable 1 Variable 2
Mean 44.8869565217 41
Variance 401.195826087 268.2222222222
Observations 46 46
Pearson Correlation 0.9850316977
Hypothesized Mean Difference 0
df 45
t Stat 5.4779338637
P(T<=t) one-tail 0.0000009232
t Critical one-tail 1.6794273927
P(T<=t) two-tail 0.0000018464
t Critical two-tail 2.0141033889
What is the p-value: 1.85E-06
Is P-value < 0.05 (one tail test) or 0.025 (two tail test)? yes
What else needs to be checked on a 1-tail test in order to reject the null? t-statistics
Do we REJ or Not reject the null? not reject
If the null hypothesis was rejected, what is the effect size value:
If calculated, what is the meaning of effect size measure:
Interpretation of test results: from the test results p-value=1.85E-0.6>0.025 thus we fail to reject the null hypothesis and conclude that the company pays its employees above the market rate
Let's look at some other factors that might influence pay - education(degree) and performance ratings.
2 Last week, we found that average performance ratings do not differ between males and females in the population.
Now we need to see if they differ among the grades. Is the average performace rating the same for all grades?
(Assume variances are equal across the grades for this ANOVA.) Here are the data values sorted by grade level.
The rating values sorted by grade have been placed in columns I - N for you. A B C D E F
Null Hypothesis: Ho: means equal for all grades 90 80 100 90 85 70
Alt. Hypothesis: Ha: at least one mean is unequal 80 75 100 65 100 100
Place B17 in Outcome range box. 100 80 90 75 95 95
90 70 80 90 55 95
80 95 80 95 90 95
85 80 95 95
65 90 90
70 75
95 95
60 90
90 95
75 80
95
90
100
Interpretation of test results:
What is the p-value: 0.57 If the ANVOA was done correctly, this is the p-value shown.
Is P-value < 0.05? no
Do we REJ or Not reject the null? reject
If the null hypothesis was rejected, what is the effect size value (eta squared):
Meaning of effect size measure: it shows the difference between two variables because there exist many advantages
What does that decision mean in terms of our equal pay question: the decision shows that perfromance rating influences pay and there is eual pay
3 While it appears that average salaries per each grade differ, we need to test this assumption.
Is the average salary the same for each of the grade levels?
Use the input table to the right to list salaries under each grade level.
(Assume equal variance, and use the analysis toolpak function ANOVA.)
Null Hypothesis: mean is the same for all grade levels If desired, place salaries per grade in these columns
Alt. Hypothesis: mean is not the same for all grade levels A B C D E F
Place B51 in Outcome range box.
Note: Sometimes we see a p-value in the format of 3.4E-5; this means move the decimal point left 5 places. In this example, the p-value is 0.000034
What is the p-value: 0
Is P-value < 0.05? yes
Do we REJ or Not reject the null? we do not reject the null hypothesis
If the null hypothesis was rejected, calculate the effect size value (eta squared):
If calculated, what is the meaning of effect size measure:
Interpretation: we fail to reject the null hypotheis and conclude that mean salary is equal for all grades
4 The table and analysis below demonstrate a 2-way ANOVA with replication. Please interpret the results.
Note: These values are not the same as the data the assignment uses. The purpose of this question is to analyze the result of a 2-way ANOVA test rather than directly answer our equal pay question.
BA MA Ho: Average compas by gender are equal
Male 1.017 1.157 Ha: Average compas by gender are not equal
0.870 0.979 Ho: Average compas are equal for each degree
1.052 1.134 Ha: Average compas are not equal for each degree
1.175 1.149 Ho: Interaction is not significant
1.043 1.043 Ha: Interaction is significant
1.074 1.134
1.020 1.000 Perform analysis:
0.903 1.122
0.982 0.903 Anova: Two-Factor With Replication
1.086 1.052
1.075 1.140 SUMMARY BA MA Total
1.052 1.087 Male
Female 1.096 1.050 Count 12 12 24
1.025 1.161 Sum 12.349 12.9 25.249
1.000 1.096 Average 1.0290833333 1.075 1.0520416667
0.956 1.000 Variance 0.006686447 0.0065198182 0.0068660417
1.000 1.041
1.043 1.043 Female
1.043 1.119 Count 12 12 24
1.210 1.043 Sum 12.791 12.787 25.578
1.187 1.000 Average 1.0659166667 1.0655833333 1.06575
1.043 0.956 Variance 0.006102447 0.0042128106 0.004933413
1.043 1.129
1.145 1.149 Total
Count 24 24
Sum 25.14 25.687
Average 1.0475 1.0702916667
Variance 0.0064703478 0.0051561286
ANOVA
Source of Variation SS df MS F P-value F crit
Sample 0.0022550208 1 0.0022550208 0.3834821171 0.5389389507 4.0617064601 (This is the row variable or gender.)
Columns 0.0062335208 1 0.0062335208 1.0600539609 0.3088295633 4.0617064601 (This is the column variable or Degree.)
Interaction 0.0064171875 1 0.0064171875 1.0912877664 0.3018915062 4.0617064601
Within 0.25873675 44 0.0058803807
Total 0.2736424792 47
Interpretation:
For Ho: Average compas by gender are equal Ha: Average compas by gender are not equal
What is the p-value: 0.538939
Is P-value < 0.05? no
Do you reject or not reject the null hypothesis: reject
If the null hypothesis was rejected, what is the effect size value (eta squared):
Meaning of effect size measure:
For Ho: Average compas are equal for all degrees Ha: Average compas are not equal for all grades
What is the p-value: 0.30883
Is P-value < 0.05? no
Do you reject or not reject the null hypothesis: reject
If the null hypothesis was rejected, what is the effect size value (eta squared):
Meaning of effect size measure:
For: Ho: Interaction is not significant Ha: Interaction is significant
What is the p-value: 0.301892
Is P-value < 0.05? no
Do you reject or not reject the null hypothesis: reject
If the null hypothesis was rejected, what is the effect size value (eta squared):
Meaning of effect size measure:
What do these three decisions mean in terms of our equal pay question: the three decisions shows that there is no sufficient evidence to suggest that there is equal pay among the companys employee, thus we conclude that there is no equal pay by the company to its employees
Place data values in these columns
5.   Using the results up thru this week, what are your conclusions about gender equal pay for equal work at this point? Dif
using this results, it is quite evident that there is no sufficeint evidence to suggest that there is equal pay for equal work perfromed by both gender but all employees are paid above the market rate

Week 4

Week 4 Confidence Intervals and Chi Square (Chs 11 - 12)
For questions 3 and 4 below, be sure to list the null and alternate hypothesis statements. Use .05 for your significance level in making your decisions.
For full credit, you need to also show the statistical outcomes - either the Excel test result or the calculations you performed.
1 Using our sample data, construct a 95% confidence interval for the population's mean salary for each gender.
Interpret the results.
Mean St error t value Low to High
Males
Females
<Reminder: standard error is the sample standard deviation divided by the square root of the sample size.>
Interpretation:
2 Using our sample data, construct a 95% confidence interval for the mean salary difference between the genders in the population.
How does this compare to the findings in week 2, question 2?
Difference St Err. T value Low to High
Yes/No
Can the means be equal? Why?
How does this compare to the week 2, question 2 result (2 sampe t-test)? Results are the same - means are not equal.
a. Why is using a two sample tool (t-test, confidence interval) a better choice than using 2 one-sample techniques when comparing two samples?
3 We found last week that the degree values within the population do not impact compa rates.
This does not mean that degrees are distributed evenly across the grades and genders.
Do males and females have athe same distribution of degrees by grade?
(Note: while technically the sample size might not be large enough to perform this test, ignore this limitation for this exercise.)
Ignore any cell size limitations.
What are the hypothesis statements:
Ho:
Ha:
Note: You can either use the Excel Chi-related functions or do the calculations manually.
Data InTables The Observed Table is completed for you.
OBSERVED A B C D E F Total If desired, you can do manual calculations per cell here.
M Grad 1 1 1 1 5 3 12 A B C D E F
Fem Grad 5 3 1 1 1 2 13 M Grad
Male Und 2 2 2 1 5 1 13 Fem Grad
Female Und 7 1 1 2 1 0 12 Male Und
15 7 5 5 12 6 50 Female Und
Sum =
EXPECTED
M Grad For this exercise - ignore the requirement for a correction
Fem Grad for expected values less than 5.
Male Und
Female Und
Interpretation:
What is the value of the chi square statistic:
What is the p-value associated with this value:
Is the p-value <0.05?
Do you reject or not reject the null hypothesis:
If you rejected the null, what is the Cramer's V correlation:
What does this correlation mean?
What does this decision mean for our equal pay question:
4 Based on our sample data, can we conclude that males and females are distributed across grades in a similar pattern
within the population? Again, ignore any cell size limitations.
What are the hypothesis statements:
Ho:
Ha:
Do manual calculations per cell here (if desired)
A B C D E F A B C D E F
OBS COUNT - m M
OBS COUNT - f F
Sum =
EXPECTED
What is the value of the chi square statistic:
What is the p-value associated with this value:
Is the p-value <0.05?
Do you reject or not reject the null hypothesis:
If you rejected the null, what is the Phi correlation:
If calculated, what is the meaning of effect size measure:
What does this decision mean for our equal pay question:
5.      How do you interpret these results in light of our question about equal pay for equal work?

Week 5

Week 5 Correlation and Regression
1.     Create a correlation table for the variables in our data set. (Use analysis ToolPak or StatPlus:mac LE function Correlation.)
a. Reviewing the data levels from week 1, what variables can be used in a Pearson's Correlation table (which is what Excel produces)?
b. Place table here (C8):
c. Using r = approximately .28 as the signicant r value (at p = 0.05) for a correlation between 50 values, what variables are
significantly related to Salary?
To compa?
d. Looking at the above correlations - both significant or not - are there any surprises -by that I
mean any relationships you expected to be meaningful and are not and vice-versa?
e. Does this help us answer our equal pay for equal work question?
2 Below is a regression analysis for salary being predicted/explained by the other variables in our sample (Midpoint,
age, performance rating, service, gender, and degree variables. (Note: since salary and compa are different ways of
expressing an employee’s salary, we do not want to have both used in the same regression.)
Plase interpret the findings.
Note: These values are not the same as the data the assignment uses. The purpose is to analyze the result of a regression test rather than directly answer our equal pay question.
Ho: The regression equation is not significant.
Ha: The regression equation is significant.
Ho: The regression coefficient for each variable is not significant Note: technically we have one for each input variable.
Ha: The regression coefficient for each variable is significant Listing it this way to save space.
Sal
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.9915590747
R Square 0.9831893985
Adjusted R Square 0.9808437332
Standard Error 2.6575925726
Observations 50
ANOVA
df SS MS F Significance F
Regression 6 17762.2996738743 2960.383278979 419.1516111294 1.8121523852609E-36
Residual 43 303.7003261257 7.062798282
Total 49 18066
Coefficients Standard Error t Stat P-value Lower 95% Upper 95% Lower 95.0% Upper 95.0%
Intercept -1.7496212123 3.6183676583 -0.4835388157 0.6311664899 -9.0467550427 5.547512618 -9.0467550427 5.547512618
Midpoint 1.2167010505 0.0319023509 38.1382881163 8.66416336978111E-35 1.1523638283 1.2810382727 1.1523638283 1.2810382727 Note: These values are not the same as in the data the assignment uses. The purpose is to analyze the result of a 2-way ANOVA test rather than directly answer our equal pay question.
Age -0.0046280102 0.065197212 -0.0709847876 0.9437389875 -0.1361107191 0.1268546987 -0.1361107191 0.1268546987
Performace Rating -0.0565964405 0.0344950678 -1.6407110971 0.1081531819 -0.1261623747 0.0129694936 -0.1261623747 0.0129694936
Service -0.0425003573 0.0843369821 -0.5039350033 0.6168793519 -0.2125820912 0.1275813765 -0.2125820912 0.1275813765
Gender 2.420337212 0.8608443176 2.8115852804 0.0073966188 0.684279192 4.156395232 0.684279192 4.156395232
Degree 0.2755334143 0.7998023048 0.3445019009 0.732148119 -1.3374216547 1.8884884833 -1.3374216547 1.8884884833
Note: since Gender and Degree are expressed as 0 and 1, they are considered dummy variables and can be used in a multiple regression equation.
Interpretation:
For the Regression as a whole:
What is the value of the F statistic:
What is the p-value associated with this value:
Is the p-value <0.05?
Do you reject or not reject the null hypothesis:
What does this decision mean for our equal pay question:
For each of the coefficients: Intercept Midpoint Age Perf. Rat. Service Gender Degree
What is the coefficient's p-value for each of the variables: NA
Is the p-value < 0.05? NA
Do you reject or not reject each null hypothesis: NA
What are the coefficients for the significant variables?
Using the intercept coefficient and only the significant variables, what is the equation? Salary =
Is gender a significant factor in salary:
If so, who gets paid more with all other things being equal?
How do we know?
3 Perform a regression analysis using compa as the dependent variable and the same independent
variables as used in question 2. Show the result, and interpret your findings by answering the same questions.
Note: be sure to include the appropriate hypothesis statements.
Regression hypotheses
Ho:
Ha:
Coefficient hyhpotheses (one to stand for all the separate variables)
Ho:
Ha:
Place c94 in output box.
Interpretation:
For the Regression as a whole:
What is the value of the F statistic:
What is the p-value associated with this value:
Is the p-value < 0.05?
Do you reject or not reject the null hypothesis:
What does this decision mean for our equal pay question:
For each of the coefficients: Intercept Midpoint Age Perf. Rat. Service Gender Degree
What is the coefficient's p-value for each of the variables: NA
Is the p-value < 0.05? NA
Do you reject or not reject each null hypothesis: NA
What are the coefficients for the significant variables?
Using the intercept coefficient and only the significant variables, what is the equation? Compa =
Is gender a significant factor in compa:
Regardless of statistical significance, who gets paid more with all other things being equal?
How do we know?
4 Based on all of your results to date,
Do we have an answer to the question of are males and females paid equally for equal work?
Does the company pay employees equally for for equal work?
How do we know?
Which is the best variable to use in analyzing pay practices - salary or compa? Why?
What is most interesting or surprising about the results we got doing the analysis during the last 5 weeks?
5 Why did the single factor tests and analysis (such as t and single factor ANOVA tests on salary equality) not provide a complete answer to our salary equality question?
What outcomes in your life or work might benefit from a multiple regression examination rather than a simpler one variable test?