# 2.4.3: Practice! Job Satisfaction

- Page ID
- 22100

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vectorC}[1]{\textbf{#1}} \)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)You've learned a complicated formula, and what it means. Now, let's try using it to answer a research question! This first scenario will provide the mean of the difference (\(\overline{X}_{D}\)) and the standard deviation of the difference (\(s_{D}\)), so you can focus on how the parts work together, not on all of the calculations. The next section will let you use the full formula.

## Scenario

In order to be more competitive and hire the best talent, a CEO would like her employees to love working for the company. The CEO hires a consultant to first assesses a sample of the employee’s level of job satisfaction (N = 40) with a job satisfaction survey that he developed to identify specific changes that might help. The company institutes some of the changes that the consultant suggests, and six months later the consultant returns to measure job satisfaction with the same survey on the same 40 employees again. You are hired by the consultant to crunch the numbers using an \(\alpha = 0.05\) level of significance.

### Context

Answer the following questions to understand the variables and groups that we are working with.

- Who is the sample?
- Who do might be the population?
- What is the IV (groups being compared)?
- What is the DV (quantitative variable being measured)?

**Solution**

- The sample is the group of 40 employees who completed the job satisfaction survey twice.
- The population might be all employees in that company? Other answers may also be correct.
- The IV is before and after the survey, the time periods. This can also be said as the pretest and post-test.
- The DV is the job satisfaction survey.

## Step 1: State the Hypotheses

First, we state our hypotheses. Let's hope that the changes that the consultant has the knowledge and expertise to suggest useful changes that we can predict an improvement in job satisfaction.

- Research Hypothesis: The average score on the job satisfaction survey in Time 2 will be higher than average score on the job satisfaction survey in Time 1.

Note that the name of the two groups, what we were measuring, and that we are comparing means was all included. The format seems a little backwards to me because it's stated in chronological order, but it highlights that there will be improvement. If you started with Time 1, then it reads like the DV is decreasing. But either is correct.

What would the research hypothesis look like in symbols?

**Answer**-
- \( \bar{X}_{\text {T2}} > \bar{X}_{\text {T1}} \)

If you but Time 1 first in your sentence, then it would be: \( \bar{X}_{\text {T1}} < \bar{X}_{\text {T2}} \)

Let's move on to the null hypothesis.

What is the null hypothesis in words and then in symbols?

**Answer**-
- Null Hypothesis: The average score on the job satisfaction survey in Time 2 will be similar to the average score on the job satisfaction survey in Time 1. In other words, average job satisfaction scores will not differ between the two time periods.
- Symbols: \( \bar{X}_{\text {T2}} = \bar{X}_{\text {T1}} \)

In this case, we are hoping that the changes we made will improve employee satisfaction, and, because we based the changes on employee recommendations, we have good reason to believe that they will. Thus, we will use a one-directional hypothesis.

## Step 2: Find the Critical Values

Our critical values will once again be based on our level of significance, which we know is \(\alpha = 0.05\), the directionality of our test, which is one-tailed, and our degrees of freedom. For our dependent-samples \(t\)-test, the degrees of freedom are still given as \(df = N – 1\) in which N is the number of pairs. For this problem, we have 40 people, so our degrees of freedom are 39. Using the same t-table from when we learned about one-sample t-tests (or going to the Common Critical Values Table page), we find that the critical value is 1.684 if we use the closest df from the table (df=40), or 1.697 if you round the df down (df=30); ask your professor which rule you should follow (closest or rounding down).

## Step 3: Calculate the Test Statistic

Now that the criteria are set, it is time to calculate the test statistic. This first example will be simplified a little by providing the mean of the difference and the standard deviation of the difference.

The data obtained by the consultant found that the difference scores from time 1 to time 2 had a mean of \(\overline{\mathrm{X}_{\mathrm{D}}}\) = 2.96 and a standard deviation of \(s_D = 2.85\). Using this information, plus the size of the sample (N=40). What is the calculated t-score?

**Solution**

You can start with any parentheses (Please Excuse My Dear Aunt Sally); I like to start at the top and work my way down and to the left. For this formula, starting at the top means to start with the mean of the difference in the numerator!

\[ \cfrac{ \left(\cfrac{\Sigma {D}}{N}\right)} { {\sqrt{\left(\cfrac{\sum\left((X_{D}-\overline{X}_{D})^{2}\right)}{(N-1)}\right)} } /\sqrt{N} } \nonumber \]

The mean of the difference was already calculated (\(\overline{X}_{D}=\dfrac{\Sigma {D}}{N} = 2.96\))

Next is the numerator, which includes the standard deviation of the difference (\(s_{D}=\sqrt{\dfrac{\sum\left((X_{D}-\overline{X}_{D})^{2}\right)}{N-1}} = 2.85\)) divided by the square root of the number of pairs:

\[\sqrt{N} = \sqrt{40} = 6.32 \nonumber \]

Now, we can put all of those values into the formula:

\[ \cfrac{2.96}{\left(\cfrac{2.85}{6.32}\right)} = \dfrac{2.96}{0.46} = 6.43 \nonumber \]

What's interesting is that when Dr. MO used Excel to calculate this, the denominator was a little lower (0.45) and the final division was a little higher (t = 6.57). The calculations above were by using a hand calculator. Both answers are correct! The difference is based on rounding (Excel keeps hundreds of numbers after the decimal point, rather than just two, which affects the two numbers after the decimal point at the end of the calculation).

## Step 4: Make the Decision

The the critical t-score from the table (based on either decision rule) from Step 2 is smaller than the calculated test statistic of \(t = 6.43\).

**\((Critical < |Calculated|) =\) Reject null \(=\) means are different \(= p<.05\)**

**\((Critical > |Calculated|) =\) Retain null \(=\) means are similar \(= p>.05\)**

Based on the critical value from the table and the calculated t-score, should we reject the null hypothesis? Does this mean that the means are similar or different?

**Answer**-
**\(Critical (1.6xxx) < |6.43| = \) Reject null \(=\) means are different \(= p<.05 \)**We reject the null hypothesis, and state that the means are statistically different from each other.

### Write-Up

What should the conclusion look like?

Write up a conclusion for this job satisfaction scenario?

**Solution**

Based on the sample data from 40 workers, we can say that the employees were statistically significantly more satisfied with their job satisfaction after the interventions than before (\(t(39) = 6.43\), \(p < 0.05\). This supports the research hypothesis.

But remember back to the Reporting Results section and the four required components?

What component for Reporting Results is missing from Example \(\PageIndex{3}\)?

**Answer**-
The group means are missing. The mean of the difference between the two groups was provided, but the average job satisfaction at Time 1 (Before) and Time 2 (After) wasn't provided.

Hopefully the above example made it clear that running a dependent samples \(t\)-test to look for differences before and after some treatment works similarly to the other t-tests that we've covered. At this point, this process should feel familiar, and we will continue to make small adjustments to this familiar process as we encounter new types of data to test new types of research questions.

Let's try another example with real data on mindset scores!