0% found this document useful (0 votes)
72 views1 page

Staff and Sleepiness Data Analysis

This document provides instructions for generating various graphs and visualizations using two different datasets: staffsurvey.sav and sleep.sav. For the staffsurvey dataset, it provides tasks to generate histograms, bar graphs, scatterplots, and boxplots exploring variables related to staff satisfaction scores, employment status, age, and years of service. For the sleep dataset, similar tasks are described to visualize variables related to sleepiness scores, age and gender differences. The document is intended to provide practice with different graph types to analyze and compare variables in the datasets.

Uploaded by

Atang Wadi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views1 page

Staff and Sleepiness Data Analysis

This document provides instructions for generating various graphs and visualizations using two different datasets: staffsurvey.sav and sleep.sav. For the staffsurvey dataset, it provides tasks to generate histograms, bar graphs, scatterplots, and boxplots exploring variables related to staff satisfaction scores, employment status, age, and years of service. For the sleep dataset, similar tasks are described to visualize variables related to sleepiness scores, age and gender differences. The document is intended to provide practice with different graph types to analyze and compare variables in the datasets.

Uploaded by

Atang Wadi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

ADDITIONAL EXERCISES

Business
Data file: [Link]. See Appendix for details of the data file.
1. Generate a histogram to explore the distribution of scores on the Staff Satisfaction Scale
(totsatis).
2. Generate a bar graph to assess the staff satisfaction levels for permanent versus casual staff
employed for less than or equal to 2 years, 3 to 5 years and 6 or more years. The variables you
will need are totsatis, employstatus and servicegp3.
3. Generate a scatterplot to explore the relationship between years of service and staff
satisfaction. Try first using the service variable (which is very skewed) and then try again with
the variable towards the bottom of the list of variables (logservice). This new variable is a
mathematical transformation (log 10) of the original variable (service), designed to adjust for
the severe skewness. This procedure is covered in Chapter 8.
4. Generate a boxplot to explore the distribution of scores on the Staff Satisfaction Scale
(totsatis) for the different age groups (age).
5. Generate a line graph to compare staff satisfaction for the different age groups (use the
agerecode variable) for permanent and casual staff.
Health
Data file: [Link]. See Appendix for details of the data file.
1. Generate a histogram to explore the distribution of scores on the EpworthSleepiness Scale
(ess).
2. Generate a bar graph to compare scores on the Sleepiness and Associated Sensations Scale
(totSAS) across three age groups (agegp3) for males and females (gender).
3. Generate a scatterplot to explore the relationship between scores on the Epworth Sleepiness
Scale (ess) and the Sleepiness and Associated Sensations Scale (totSAS). Ask for different
markers for males and females (gender).
4. Generate a boxplot to explore the distribution of scores on the Sleepiness and Associated
Sensations Scale (totSAS) for people who report that they do/don’t have a problem with their
sleep (probsleeprec).
5. Generate a line graph to compare scores on the Sleepiness and Associated Sensations Scale
(totSAS) across the different age groups (use the agegp3 variable) for males and females
(gender).

Common questions

Powered by AI

Different types of graphs serve distinct purposes in data exploration. Histograms are useful for understanding the distribution of a single variable, such as staff satisfaction or sleepiness scores. Bar graphs can compare categorical data, such as comparing staff satisfaction across employment status or sleepiness across age groups and gender. Scatterplots are designed to explore relationships between variables, such as evaluating the correlation between years of service and staff satisfaction or between two sleepiness-related scales .

Differentiating markers by gender on scatterplots, such as when exploring relationships between sleepiness scales, enhances insight by allowing visual separation of male and female data points. It facilitates the identification of gender-specific trends and variations, thus enabling researchers to distinguish if and how gender may influence the relationship between the variables being studied, such as varying correlations strength between gender-specific scores on the sleepiness scales .

The line graph allows for the direct comparison of scores (such as staff satisfaction or sleepiness sensations) across different age groups. It visualizes how age affects these metrics over time or between groups, indicating potential life stage impacts on satisfaction or health-related perceptions. This helps identify trends such as increasing or decreasing scores with age and can reveal how age interacts with other variables like employment type or gender .

The histogram of staff satisfaction scores provides an overall picture of the distribution, highlighting trends such as central tendency and variability across the whole dataset. In contrast, the bar graph offers a focused comparison of staff satisfaction by employment status and service duration, revealing patterns and differences not visible in the generalized distribution. Together, they offer a comprehensive analysis by combining detailed distribution information with specific categorical insights .

Transforming a variable like 'service' through a log transformation reduces skewness, thereby normalizing the data distribution. This adjustment allows for a more precise depiction of relationships in scatterplots, minimizing extreme values' influence. By generating a more symmetric and less skewed dataset, transformations promote accurate comparisons and clearer insights into the relationship patterns between variables, like service duration and staff satisfaction .

Using different markers for males and females in scatterplots is crucial to visually separate and analyze gender-specific correlations and patterns. It allows researchers to directly observe and compare the distributions and relationships between variables within each gender group. Such differentiation can uncover gender-based disparities in responses, aiding in personalized health recommendations and gender-sensitive health interventions .

The skewness in the 'service' variable can be adjusted by applying a mathematical transformation, specifically a log 10 transformation, to create a new variable called 'logservice'. This transformation can help in reducing the skewness and allow for a more meaningful exploration of the relationship between years of service and staff satisfaction through scatterplots .

The significance lies in highlighting how different demographic segments experience sleep-related issues. By comparing totSAS scores across age groups and genders using a bar graph, researchers can identify specific patterns, such as gender differences at certain life stages or age-related changes in perceptions of sleepiness. This elucidates demographic-based needs for targeted interventions or further investigation into underlying causes of these differences .

The bar graph analysis reveals how staff satisfaction varies across permanent and casual employees grouped by their service duration (less than or equal to 2 years, 3 to 5 years, and 6 or more years). Differences in bar heights would indicate whether certain employment statuses and durations result in higher levels of satisfaction, illustrating the impact of job stability and longevity on satisfaction levels. Evaluating these differences can guide organizational strategies to enhance satisfaction based on employee tenure and employment type .

The boxplot highlights the distribution and variability of the Sleepiness and Associated Sensations Scale (totSAS) scores, indicating the presence of outliers and the central tendency for people with and without sleep problems. The line graph complements this by showing how totSAS scores differ across age groups and between genders, revealing trends in sleep-related sensations over demographics. Using these tools together allows researchers to detect both overall patterns and specific group differences within the dataset .

You might also like