CS 1173 Computation for Scientists and Engineers
Project
Analysis of the sleep diaries in comparison with individual
Objectives:
- Use vector indexing to solve a real problem.
- Practice using statistical tools and plots.
- Go through the complete data analysis process.
- Interpret data and draw conclusions.
|
 |
Hand-in Requirements:
- The
projectScript.m script containing your work for all parts.
- An MS Word file containing the bullet points.
All projects and laboratories should be submitted submitted electronically through
Blackboard under the Assignments menu. The projectScript.m file should
be in a project directory along with all of the data used by the script.
Be sure that the script executes without error. Zip up your entire project2 directory
to submit. (Right click on the project folder and follow the Send To link.)
Overview
This project examines the patterns of bed times and wake times for your individual sleep diary in
relationship to the other subjects in the cohort (the CS 1173 students for this semester as well as
one instructor). This project takes you through the entire process of data analysis, starting from the
collection of the data and proceeding to the computational processing and then analysis.
The understanding of sleep and its role in performance has been a "data analysis theme" for the
course. By focusing on data that is personal to you, we also hope that you will also come to a better
understanding of your own patterns and choices and how these choices impact your learning.
Description of the data
Your sleep diary was combined with all of the others in the cohort to form the cohort sample. You have
been assigned a random subject number that will be emailed to you. If you do not receive an email
with your subject number, email your instructor.
If you did not turn in a sleep diary at all, email your instructor with your
estimates of your average bed time and average wake-up time. You will be assigned a subject number
corresponding to a student from another section with similar average times.
The data for this semester can be found on Blackboard in the file diaryFall2011.mat.
This file is similar in format to the diary.mat file of Lesson 10 and Lab 5. However, it contains
the actual data from students of this semester.
Data analysis requirements:
In this project you should analyze your sleep characteristics relative to those of the class. The
bed-times and wake-times should be converted to hours relative to 0:00 am on the wake-up day. Amount of
time slept should be in hours. Your script should calculate and output the following:
- The basic statistical indicators for the entire cohort (maximum, minimum, mean, median, and standard deviation) of
wake-up time, bed-time, hours of sleep, minutes to sleep, and minutes of napping.
- Normplots of the wake-up times, bed-times, and hours-of-sleep for the cohort.
- Graphical comparison of the distributions of your bed times, wake-up times, and hours of sleep with those of the cohort. Include both
box plots and histograms for each comparison. Each graph must have your distribution and the corresponding cohort's distribution plotted on the same axes in
a new figure. Histogram comparisons should be scaled to show fractions rather than counts.
- Computation of whether your true average bed times, wake-up times and hours of sleep are likely
to be different than those of the cohort as a whole based on the sample. (You must exclude yourself from the cohort when doing the test.)
- A comparison of your alarm use and caffeine use relative to the cohort (in terms of actual fractions not as population estimates).
- At least two additional non-trivial computations or comparisons.
Bullet-point requirements:
Create a MS Word file with three sets of bullet points:
- What is the context?
The first set should contain five bullet points (who, where, what, when and why)
- What are the general characteristics of the data for the entire cohort?
The second set of bullet points should contain 5 bullet points with about observations the statistical
characteristics of the data (indicators and distributions).
- How does your diary compare with the diaries of the class as a whole?
The third set of bullet points should contain 5 bullet points with observations about how your
diary characteristics (treated as a sample of your true sleep characteristics) compare with the
characteristics of the cohort as a whole.
Note: The Project Report is due separately.
Grading rubric (point values)
| Criterion |
Performance indicator
|
| Missing |
Needs improvement |
Needs a little improvement |
Meets expectations |
| The statistical indicators are computed correctly |
0 |
1 |
1.5 |
2 |
| The graphical characterizations of the distributions are given |
0 |
2 |
3 |
4 |
| Comparison of true averages is performed |
0 |
1 |
1.5 |
2 |
| Caffeine and alarm use analyzed |
0 |
1 |
1.5 |
2 |
| Additional analysis is performed |
0 |
1 |
1.5 |
2 |
The projectScript contains all code |
0 |
1 |
1.5 |
2 |
| The five W's bullet points are correct |
0 |
1 |
1.5 |
2 |
| The second set of bullet points is reasonable |
0 |
1 |
1.5 |
2 |
| The third set of bullet points is reasonable |
0 |
1 |
1.5 |
2 |
This laboratory was written by Kay A. Robbins of the
University of Texas at San Antonio and last modified on 26-Mar-2012.
Please contact krobbins@cs.utsa.edu
with comments or suggestions. The image is a screen shot of 30 seconds of
an EEG recording of a patient during Rapid Eye Movement (REM) Sleep. The photograph was taken by S.
S. Jähnichen on 12/9/2005. The image is available on Wikipedia as
http://en.wikipedia.org/wiki/File:REM.png.