SlideShare a Scribd company logo
1 of 56
GAUCHAN
1
Gauchan
Angeela Gauchan
Dr. Nicholas Jacob
Intro to Probability and Statistics 1223
April 4th, 2021
2010: Time spent by different sexes in Europe
Project Part I
I was randomly looking for some data set for the project and I
landed upon this one. I see a lot of influencers from European
countries on my social media feed (mostly Instagram), and they
seem to have a perfectly balanced lifestyle, so this dataset about
how people spend their time realistically based on country
(European countries) and sex appealed to me. The knowledge
covers how people spend their time on items like paying jobs,
housework, and family.
The following websites have articles related to the subject, with
both the source website and csv files. We can navigate through
them by clicking on the links below.
https://perso.telecom-paristech.fr/eagan/class/igr204/datasets
http://appsso.eurostat.ec.europa.eu/nui/show.do?dataset=tus_00
week&lang=en
There are a number of variables that can be used to interpret
this database. The quantitative data that used are time spent in
(hh:mm) ratio, participation time in hour and participation rate.
These data would be used to compare and contrast how males
and females spend their time in various areas of their lives
based on where they live. Other data that can be used are
categorical data which includes, time spent in sleeping eating,
other unspecified personal care, employment related and travel
as part of/ during main and second job, main and second job
related travel, activities related to employment, study, school
and university except homework, homework, free time study,
household and family care, food management except
dishwashing, cleaning, laundry, construction, shopping,
childcare, visiting, computing, hobbies and so on. As we are
comparing different countries we will be also looking into
nominal variable.
TABLE 1.1
I can see some differences in time usages between males and
females just by looking at a few sections of the results. In
contrast to men, many women tend to spend more time doing
house chores. They seem to spend around the same amount of
time in childcare, however. I'd like to know the correlations and
disparities between them in other aspects of their lives by
looking into the specifics in the dataset.
Project Part II
Below is the updated version of the dataset that I chose which
has 7 most common variable listed.
TABLE 2.1
SEX
GEO/ACL00
Total
Personal care
Sleep
Eating
Employment, related activities
Main and second job and related travel
Household and family care
Leisure, social and associative life
TV and video
Travel except travel related to jobs
Males
Belgium
24:00:00
10:45
8:15
1:49
3:07
3:05
2:28
5:58
2:35
1:30
Males
Bulgaria
24:00:00
11:54
9:08
2:07
3:32
3:27
2:37
4:46
2:41
1:07
Males
Germany (including former GDR from 1991)
24:00:00
10:40
8:08
1:43
3:27
3:21
2:22
5:42
1:58
1:29
Males
Estonia
24:00:00
10:35
8:24
1:19
4:27
4:20
2:33
5:02
2:29
1:12
Males
Spain
24:00:00
11:11
8:36
1:47
4:21
4:17
1:37
5:16
2:00
1:16
Males
France
24:00:00
11:44
8:45
2:18
3:48
3:46
2:24
4:44
2:08
1:03
Males
Italy
24:00:00
11:16
8:17
1:57
4:15
4:11
1:35
5:05
1:52
1:35
Males
Latvia
24:00:00
10:46
8:35
1:33
5:00
4:55
1:50
4:45
2:18
1:28
Males
Lithuania
24:00:00
10:53
8:28
1:32
4:45
4:43
2:09
4:47
2:36
1:13
Males
Poland
24:00:00
10:44
8:21
1:33
4:01
3:58
2:22
5:20
2:34
1:13
Males
Slovenia
24:00:00
10:31
8:18
1:33
3:53
3:49
2:38
5:31
2:12
1:10
Males
Finland
24:00:00
10:23
8:22
1:23
3:48
3:46
2:16
5:56
2:25
1:12
Males
United Kingdom
24:00:00
10:22
8:18
1:24
4:10
4:06
2:18
5:22
2:37
1:30
Males
Norway
24:00:00
10:06
7:56
1:25
4:04
4:03
2:21
5:52
2:06
1:21
Females
Belgium
24:00:00
11:11
8:34
1:50
1:53
1:52
4:10
5:06
2:13
1:22
Females
Bulgaria
24:00:00
11:38
9:07
1:55
2:34
2:33
5:01
3:47
2:14
0:52
Females
Germany (including former GDR from 1991)
24:00:00
10:58
8:15
1:46
1:56
1:53
4:14
5:15
1:40
1:19
Females
Estonia
24:00:00
10:30
8:26
1:12
3:05
3:02
4:53
4:18
2:06
1:02
Females
Spain
24:00:00
11:05
8:32
1:44
2:06
2:05
4:55
4:26
1:46
1:05
Females
France
24:00:00
11:53
8:55
2:11
2:17
2:16
4:34
4:05
1:55
0:54
Females
Italy
24:00:00
11:12
8:19
1:52
1:52
1:50
5:20
4:06
1:29
1:14
Females
Latvia
24:00:00
10:53
8:44
1:26
3:29
3:26
3:56
4:08
1:55
1:20
Females
Lithuania
24:00:00
10:56
8:35
1:26
3:31
3:29
4:29
3:45
1:59
1:05
Females
Poland
24:00:00
11:03
8:35
1:34
2:15
2:14
4:45
4:32
2:03
1:06
Females
Slovenia
24:00:00
10:32
8:25
1:26
2:42
2:39
4:56
4:27
1:44
1:02
Females
Finland
24:00:00
10:38
8:32
1:19
2:33
2:32
3:56
5:17
2:02
1:07
Females
United Kingdom
24:00:00
10:43
8:27
1:26
2:24
2:21
4:15
4:55
2:09
1:25
Females
Norway
24:00:00
10:27
8:10
1:20
2:38
2:37
3:47
5:40
1:39
1:11
For the second part of the project, I examined the frequency and
relative frequency of the most time spent categories by these
males and females in the listed European countries. I took the
average of the most time spent and reported the frequency of the
time spent on a particular task that was less than the average.
TABLE 2.2
Time most spent (Avg)
Frequency (Below average time)
Relative Frequency
Personal Care (Avg 10:54 hrs/min)
16
11.8%
Sleep (Avg 8:28 hrs/min)
16
11.8%
Eating (Avg 1:38 hrs/min)
17
12.5%
Employment related activities (Avg 3:16 hrs /min)
13
8.9%
Main and second job (Avg 3:14 hrs /min)
13
8.9%
Household and family care (Avg 3:12 hrs /min)
14
10.3%
Leisure, social and associative life (Avg 4:55 hrs/min)
15
11.11%
TV and video (Avg 2:07 hrs/min)
15
11.11%
Travel (Avg 1:14 hrs/min)
16
11.85%
Total
145
100%
Europeans tend to spend the majority of their time on personal
care and sleep, according to the dataset. What is even more
fascinating is that the majority of them work a second job and
spend an average of 6:30 hours/min on both jobs, which sounds
like a good reason for you and me to relocate to Europe. Since
the majority of social media influencers are freelancers, their
feeds can tend to be flawless. After all, their work is to be on
social media.
Next, I compared the same categories to their gender which is
shown below.
TABLE 2.3
GENDER
Time most spent (Avg)
Male
Female
Personal Care (Avg 10:54 hrs/min)
8
9
Sleep (Avg 8:28 hrs/min)
10
6
Eating (Avg 1:38 hrs/min)
8
8
Employment related activities (Avg 3:16 hrs /min)
1
15
Main and second job (Avg 3:14 hrs /min)
1
12
Household and family care (Avg 3:12 hrs /min)
14
0
Leisure, social and associative life (Avg 4:55 hrs/min)
4
9
TV and video (Avg 2:07 hrs/min)
4
11
Travel (Avg 1:14 hrs/min)
7
9
Since we're looking at data below the average, it's clear that
women in the mentioned European countries spend less time
working outside and more time in leisure and social activities.
In comparison to males, they often drive less and sleep more
than the average. Females in household and family care have no
below-average percentage, implying that they spend the
majority of their time caring for their families. It was also
interesting to learn that both men and women devote equal
amounts of time to personal care.
PROJECT PART III
For project part III, I created two graphs to display one of the
quantitative variables of my dataset that is; time most spent in
terms of hour: minute (hh:mm) ratio. I changed the ratio into
decimal and the box plot of the most time spent activity is
demonstrated below.
Fig 3.1
Fig 3.3
By looking at these graphs you can gather a variety of data.
According to my calculations I’ve listed the five-number
summary, mean, and standard deviation below.
Five number Summary:
Minimum: 0.42
Quartile Q1: 0.44
Median: 0.45
Quartile Q3: 0.47
Maximum: 0.50
Average (Mean): 0.45
There are no outliers in this data set you can tell by looking at
fig 3.3. The distribution of the data is skewed to the right
because the mean time is larger than the median time. It also
has no gaps which means it is a continuous dataset.
PROJECT PART IV
I suspected that the average time spent on the personal care is
the greatest than the other categorical variables.
Ho: = The mean of the time spent on personal care by females =
the mean of time spent on personal care by males.
Ha: The mean of the time spent on personal care ≠ the mean of
time spent on personal care by females.
If my hypothesis is correct, all I have to do is compare the
average amount of time spent on personal care by males and
females. Despite the fact that the figures do not differ
significantly, table 2.3 shows that females spend more time on
personal care than males. As a result, my hypothesis is verified.
We can also see in the graph that women in Europe prefer to
stay at home longer than men. One of the reasons they spend
more time on themselves may be because of this.
Simple formula: (f=female, m=male)
Ho: μf = μm
Ha: μf ≠ μm
For the categorical value, I decided to look at which among the
nine chosen variables has the lowest time spent my both male
and female.
Ho: The proportion of time spent in employment related
activities is p= 0.25
Ha: The proportion of time spent in employment related
activities is p <0.25.
I chose this because the most time spent variable was used in all
of the previous projects, but I think we should also use the least
time spent variable to formulate hypotheses and draw
conclusions.
PROJECT PART V
Going back and testing the quantitative hypothesis, I created a
bootstrap sample. I found that average amount of time spent on
personal time by males was 0.45 while the average amount of
time spent on the personal care by female was 0.46 which is
very close. Similarly, I found that the standard error for the
sample of the male was 0.01 whereas the female was 0.004. I
then computed the 95% confidence interval for both means of
male and female. For the male, the interval was between 0.44
and 0.46 whereas for female the interval lies between 0.45 and
0.47. With this we reject the null hypothesis because the
estimated mean is not equal to the other mean value. Below are
the two histograms for the bootstrap distribution of the male
and female (Table 5.1).
I also tested the categorical hypothesis using bootstrapping. I
found the standard error 0.0064. The 95% interval that I was
able to find for the proportion of the time spent on employment
related activities is between 0.1249 and 0.1453. Below is the
histogram for the bootstrap distribution (Table 5.2). Since, the
null hypothesis of p=0.25 is not within the confidence interval
we reject the null hypothesis.
TABLE 5.1
TABLE 5.2
TABLE 5.3
Sheet1SEXGEO/ACL00TotalPersonal care
SleepEatingEmployment, related activitiesMain and second job
and related travelHousehold and family careLeisure, social and
associative lifeTV and videoTravel except travel related to
jobsMalesBelgium24:00:000.450.340.080.130.130.100.250.110.
06MalesBulgaria24:00:000.500.380.090.150 .140.110.200.110.0
5MalesGermany (including former GDR from
1991)24:00:000.440.340.070.140.140.100.240.080.06MalesEsto
nia24:00:000.440.350.050.190.180.110.210.100.05MalesSpain2
4:00:000.470.360.070.180.180.070.220.080.05MalesFrance24:0
0:000.490.360.100.160.160.100.200.090.04MalesItaly24:00:000
.470.350.080.180.170.070.210.080.07MalesLatvia24:00:000.450
.360.060.210.200.080.200.100.06MalesLithuania24:00:000.450.
350.060.200.200.090.200.110.05MalesPoland24:00:000.450.350
.060.170.170.100.220.110.05MalesSlovenia24:00:000.440.350.0
60.160.160.110.230.090.05MalesFinland24:00:000.430.350.060.
160.160.090.250.100.05MalesUnited
Kingdom24:00:000.430.350.060.170.170.100.220.110.06MalesN
orway24:00:000.420.330.060.170.170.100.240.090.06FemalesB
elgium24:00:000.470.360.080.080.080.170.210.090.06FemalesB
ulgaria24:00:000.480.380.080.110.110.210.160.090.04FemalesG
ermany (including former GDR from
1991)24:00:000.460.340.070.080.080.180.220.070.05FemalesEs
tonia24:00:000.440.350.050.130.130.200.180.090.04FemalesSpa
in24:00:000.460.360.070.090.090.200.180.070.05FemalesFrance
24:00:000.500.370.090.100.090.190.170.080.04FemalesItaly24:
00:000.470.350.080.080.080.220.170.060.05FemalesLatvia24:0
0:000.450.360.060.150.140.160.170.080.06FemalesLithuania24:
00:000.460.360.060.150.150.190.160.080.05 FemalesPoland24:0
0:000.460.360.070.090.090.200.190.090.05FemalesSlovenia24:0
0:000.440.350.060.110.110.210.190.070.04FemalesFinland24:0
0:000.440.360.050.110.110.160.220.080.05FemalesUnited
Kingdom24:00:000.450.350.060.100.100.180.200.090.06Female
sNorway24:00:000.440.340.060.110.110.160.240.070.051.000.4
58:281:382:383:143:224:552:071:130.14Decimal
Median0.14Min0.04SD0.1318714874Max0.50Q10.0782986111
Mean 0.18Q30.22256944441-
Sheet2SEXPersonal care
Males0.450.430.440.490.450.490.440.430.420.450.500.490.430.
450.470.440.450.450.430.450.470.450.450.420.450.490.440.450
.430.430.450.490.470.440.450.430.450.430.470.490.490.450.47
0.440.500.490.500.420.430.420.47Males0.500.470.470.440.430.
430.450.430.470.440.450.440.500.430.440.500.450.490.440.430
.500.500.450.440.430.470.490.440.450.450.440.430.430.450.45
0.440.440.450.470.470.440.440.470.450.450.450.420.440.430.4
90.47Males0.440.470.450.440.440.470.450.430.440.450.450.43
0.440.450.430.450.450.450.500.500.470.450.420.450.500.490.4
50.430.470.470.470.440.440.450.430.420.450.440.450.430.430.
450.470.470.430.470.440.450.440.500.44Males0.440.450.450.4
90.450.470.450.430.500.490.470.430.440.440.430.470.500.430.
450.430.440.440.440.440.470.430.450.430.440.430.450.500.470
.470.440.420.420.430.500.470.500.440.450.500.430.430.470.44
0.500.430.50Males0.470.470.420.440.440.430.490.440.450.420.
440.440.420.470.450.500.450.470.490.490.470.440.430.470.430
.420.440.430.470.440.450.430.430.440.450.450.430.440.430.43
0.440.440.450.450.450.440.490.450.440.450.45Males0.490.440.
430.430.470.420.470.430.450.420.440.450.470.450.470.470.440
.430.490.450.500.440.470.430.430.430.440.440.430.450.500.42
0.470.450.490.500.420.470.500.450.440.430.430.490.490.430.4
70.440.440.450.47Males0.470.470.500.500.450.430.470.430.43
0.430.470.470.470.440.440.450.430.430.450.440.450.450.420.4
40.440.450.440.450.500.450.470.440.500.450.450.440.420.470.
430.440.420.440.470.450.450.440.470.440.500.430.44Males0.4
50.500.450.450.470.450.450.430.470.490.470.450.430.470.500.
450.440.500.500.430.430.490.440.450.500.470.420.450.450.450
.420.470.500.420.430.500.450.450.440.450.450.440.440.500.45
0.500.430.470.440.420.44Males0.450.420.430.430.440.440.450.
450.500.490.440.470.440.500.450.430.500.430.420.470.430.500
.450.470.440.450.440.450.470.440.450.440.450.490.430.450.44
0.430.430.450.490.440.440.450.470.490.470.490.440.430.45Mal
es0.450.450.500.430.440.500.470.450.430.490.490.450.500.420.
470.440.470.470.470.500.440.430.450.450.450.420.440.440.470
.450.450.430.430.470.430.450.430.430.450.490.470.450.440.43
0.430.440.450.430.430.450.49Males0.440.500.450.450.500.430.
450.430.420.450.440.440.420.500.430.430.450.450.440.490.420
.470.490.470.450.440.440.440.430.440.450.430.490.420.450.49
0.440.450.470.450.450.470.450.450.440.450.500.440.440.450.4
4Males0.430.450.470.450.440.450.450.430.500.470.450.420.45
0.490.450.490.450.470.430.430.450.500.490.450.450.450.490.4
30.430.440.430.440.450.500.490.450.440.450.490.440.440.450.
430.450.440.450.450.470.430.470.50Males0.430.470.470.440.4
40.430.440.470.470.450.450.430.440.450.450.430.450.430.430.
440.450.450.470.450.500.450.430.420.430.440.450.450.490.450
.450.440.450.450.440.420.470.440.470.450.420.450.440.440.47
0.450.45Males0.420.430.450.450.440.470.450.470.450.470.440.
470.450.430.440.440.500.430.470.450.440.490.430.470.450.450
.470.430.450.430.440.440.450.500.470.430.420.450.450.500.45
0.470.450.440.450.450.440.440.420.440.49Average0.450.460.45
0.450.450.450.450.440.460.460.460.450.450.460.450.460.460.4
50.460.460.450.460.450.450.460.450.450.440.450.440.450.450.
460.460.450.450.440.450.460.460.460.450.450.460.450.450.460
.450.450.450.46BOOTSTRAPSE0.450.01CI
95%0.440.46Female0.470.44652777780.46666666670.45694444
440.43750.46597222220.43541666670.43541666670.460416666
70.45694444440.44652777780.43750.45347222220.4951388889
0.45694444440.43541666670.48472222220.43541666670.43888
888890.49513888890.43541666670.44652777780.45694444440.
46180555560.49513888890.46597222220.45347222220.443055
55560.45555555560.46041666670.43888888890.46180555560.4
4652777780.46180555560.45694444440.46041666670.4569444
4440.45347222220.46666666670.43541666670.44652777780.43
541666670.44305555560.46180555560.45347222220.43750.446
52777780.43541666670.45555555560.48472222220.495138888
9Female0.480.46597222220.46180555560.43750.43541666670.
49513888890.43888888890.43750.45555555560.44305555560.4
6180555560.48472222220.45555555560.45694444440.4555555
5560.43888888890.44652777780.44305555560.45694444440.49
513888890.43750.43888888890.45694444440.45694444440.465
97222220.49513888890.46180555560.43888888890.438888888
90.43750.48472222220.45555555560.48472222220.4951388889
0.45347222220.44652777780.43541666670.43541666670.46041
666670.49513888890.45555555560.44652777780.45555555560.
45555555560.45694444440.44305555560.45694444440.455555
55560.46180555560.44652777780.4534722222Female0.460.443
05555560.48472222220.46597222220.48472222220.456944444
40.46180555560.45694444440.46597222220.45694444440.4666
6666670.43541666670.43888888890.45347222220.4534722222
0.44652777780.45347222220.45555555560.43541666670.45694
444440.46041666670.44652777780.44305555560.49513888890.
43750.46597222220.45347222220.46666666670.46041666670.4
8472222220.46180555560.46041666670.46180555560.4534722
2220.45347222220.49513888890.46180555560.44652777780.48
472222220.49513888890.48472222220.43541666670.45347222
220.46666666670.49513888890.45555555560.43888888890.495
13888890.46597222220.44652777780.4604166667Female0.440.
43750.43888888890.43541666670.45347222220.46180555560.4
3888888890.45347222220.46041666670.45694444440.4604166
6670.45694444440.46597222220.43541666670.49513888890.49
513888890.44652777780.43750.46041666670.48472222220.453
47222220.43750.45347222220.48472222220.45347222220.4847
2222220.45347222220.46597222220.46597222220.4555555556
0.43888888890.46597222220.45555555560.46041666670.43541
666670.45694444440.46180555560.45694444440.43541666670.
43750.45694444440.46041666670.45694444440.44305555560.4
9513888890.45555555560.49513888890.46597222220.4465277
7780.44652777780.4951388889Female0.460.44652777780.4388
8888890.43750.46597222220.43750.44652777780.45694444440
.44305555560.43541666670.44305555560.45694444440.456944
44440.45347222220.46666666670.43750.49513888890.4465277
7780.49513888890.49513888890.46041666670.45694444440.43
541666670.45694444440.45694444440.46666666670.46666666
670.46180555560.44652777780.49513888890.49513888890.465
97222220.46041666670.45694444440.45694444440.495138888
90.49513888890.43888888890.43750.46041666670.4465277778
0.43888888890.45694444440.45347222220.49513888890.46597
222220.49513888890.45694444440.43541666670.44305555560.
4847222222Female0.500.43750.49513888890.49513888890.443
05555560.44305555560.45694444440.45555555560.460416666
70.46041666670.43750.49513888890.48472222220.4951388889
0.45694444440.46180555560.46041666670.46180555560.49513
888890.44305555560.45555555560.45555555560.46666666670.
48472222220.46597222220.43750.44305555560.49513888890.4
3888888890.45347222220.45347222220.46041666670.4618055
5560.46041666670.44305555560.46180555560.49513888890.44
305555560.45555555560.44305555560.44305555560.43888888
890.48472222220.46666666670.46666666670.44305555560.466
66666670.44652777780.46666666670.43541666670.465972222
2Female0.470.46597222220.48472222220.43750.46041666670.
49513888890.43541666670.43750.45347222220.48472222220.4
8472222220.45347222220.43541666670.46180555560.4388888
8890.43750.45347222220.46041666670.46180555560.46597222
220.44652777780.43750.43750.46597222220.45555555560.437
50.43541666670.46180555560.43888888890.44305555560.4388
8888890.46666666670.48472222220.45555555560.4569444444
0.46666666670.44305555560.45555555560.43541666670.45555
555560.46666666670.45694444440.46180555560.46041666670.
45555555560.43750.49513888890.45555555560.45555555560.4
9513888890.4534722222Female0.450.46597222220.438888888
90.49513888890.46041666670.44652777780.43750.4847222222
0.49513888890.45694444440.48472222220.46666666670.43750
.49513888890.49513888890.48472222220.45347222220.438888
88890.43541666670.44305555560.44305555560.49513888890.4
5555555560.43541666670.45347222220.49513888890.4388888
8890.45347222220.45555555560.46180555560.46597222220.46
041666670.46597222220.43888888890.43541666670.48472222
220.46597222220.45555555560.44305555560.45555555560.466
66666670.44652777780.46666666670.46041666670.443055555
60.49513888890.46597222220.43750.45694444440.4847222222
0.4354166667Female0.460.44652777780.45555555560.4465277
7780.44652777780.45347222220.45694444440.48472222220.43
888888890.46180555560.44652777780.44305555560.44305555
560.46666666670.46666666670.48472222220.43541666670.460
41666670.43541666670.46597222220.44652777780.465972222
20.43541666670.46041666670.46180555560.44652777780.4604
1666670.45347222220.44305555560.43750.46180555560.46597
222220.45347222220.48472222220.43750.43888888890.453472
22220.46180555560.45347222220.46180555560.43888888890.4
6041666670.43750.43888888890.43541666670.46041666670.45
694444440.44305555560.45694444440.45555555560.46041666
67Female0.460.46041666670.45347222220.45347222220.46041
666670.45694444440.43888888890.48472222220.46180555560.
46180555560.44305555560.46666666670.45694444440.461805
55560.43541666670.49513888890.43888888890.46180555560.4
5555555560.46041666670.46180555560.45694444440.4569444
4440.43888888890.46666666670.46180555560.43541666670.45
347222220.43888888890.43541666670.48472222220.45347222
220.45347222220.43750.46666666670.46041666670.461805555
60.48472222220.46666666670.45347222220.43888888890.4569
4444440.46666666670.49513888890.44305555560.43750.46041
666670.44305555560.46180555560.44305555560.4569444444F
emale0.440.46666666670.45347222220.45555555560.46666666
670.44305555560.46180555560.44305555560.43750.443055555
60.46180555560.46041666670.46041666670.48472222220.4465
2777780.46597222220.46041666670.44652777780.4666666667
0.44652777780.43541666670.44305555560.43888888890.46180
555560.48472222220.43750.49513888890.46180555560.461805
55560.45347222220.44652777780.46180555560.44652777780.4
4652777780.46041666670.48472222220.45555555560.43750.45
555555560.45555555560.43541666670.49513888890.46597222
220.46180555560.46597222220.45694444440.43888888890.453
47222220.43750.49513888890.4354166667Female0.440.435416
66670.45347222220.45347222220.44652777780.43750.4430555
5560.49513888890.43541666670.46666666670.44652777780.43
750.46180555560.46666666670.45555555560.46180555560.460
41666670.44652777780.45347222220.46597222220.465972222
20.49513888890.48472222220.45347222220.43750.43750.4430
5555560.44652777780.45555555560.45555555560.4388888889
0.46041666670.46666666670.46666666670.43750.43541666670
.43541666670.45694444440.46666666670.45555555560.461805
55560.46597222220.44305555560.46041666670.45347222220.4
4652777780.48472222220.44305555560.48472222220.4430555
5560.4534722222Female0.450.45555555560.46180555560.4354
1666670.43888888890.44305555560.44652777780.4618055556
0.45694444440.45347222220.48472222220.43750.46180555560
.43750.43888888890.45555555560.43888888890.48472222220.
43888888890.45347222220.44652777780.46041666670.446527
77780.44305555560.46041666670.43888888890.45347222220.4
3888888890.46041666670.46597222220.44652777780.4847222
2220.43888888890.46597222220.45347222220.43541666670.48
472222220.46041666670.45347222220.44305555560.45555555
560.46597222220.45555555560.45347222220.46597222220.460
41666670.43888888890.46666666670.43541666670.484722222
20.4604166667Female0.440.43750.48472222220.44652777780.
45347222220.45347222220.46597222220.45694444440.43750.4
6041666670.43750.48472222220.45694444440.46597222220.43
750.49513888890.46041666670.48472222220.45694444440.455
55555560.44652777780.46666666670.45694444440.460416666
70.46666666670.45347222220.46041666670.45555555560.4951
3888890.43750.44305555560.44305555560.44652777780.43888
888890.49513888890.44305555560.45555555560.46666666670.
45555555560.46180555560.43750.45555555560.43541666670.4
6041666670.45347222220.44652777780.45694444440.4388888
8890.44652777780.49513888890.4604166667Average0.460.450
79365080.46230158730.45372023810.45381944440.456398809
50.44747023810.46031746030.45446428570.45704365080.4575
3968250.45833333330.45496031750.46641865080.4570932540.
46398809520.45629960320.45456349210.45615079370.466220
23810.44965277780.45734126980.45178571430.46140873020.4
6155753970.45887896830.45386904760.45689484130.4539682
540.45550595240.4570932540.46190476190.4590773810.45877
976190.45302579370.46180555560.46155753970.45381944440.
45500992060.45778769840.45248015870.45421626980.455952
3810.45987103170.46274801590.45297619050.46408730160.45
262896830.45481150790.46423611110.462202381BOOTSTRAP
SE0.4572966270.0043333669CI
95%0.44862989320.4659633607
Sheet3SEXEmployment, related
activitiesMales0.130.181250.16944444440.17361111110.08750.
07847222220.18541666670.15833333330.16180555560.177083
33330.14652777780.16736111110.093750.10972222220.177083
33330.093750.07847222220.15833333330.181250.09513888890
.14722222220.15833333330.20833333330.093750.16180555560
.19791666670.12986111110.16180555560.15833333330.128472
22220.18541666670.20833333330.16180555560.10972222220.1
1250.16180555560.12847222220.16736111110.09513888890.09
3750.19791666670.08750.11250.18541666670.18541666670.11
250.09513888890.16736111110.181250.181250.18125Males0.1
50.17361111110.08750.12986111110.20833333330.1673611111
0.106250.14652777780.11250.16180555560.16944444440.1472
2222220.18541666670.106250.07847222220.09513888890.1069
4444440.07847222220.17361111110.17361111110.106250.1854
1666670.07777777780.08750.19791666670.07847222220.20833
333330.12986111110.07777777780.16180555560.16180555560.
10694444440.20833333330.12986111110.19791666670.169444
44440.14513888890.181250.181250.07777777780.08055555560
.10.14513888890.07777777780.18541666670.09513888890.077
77777780.11250.15833333330.07777777780.0784722222Males
0.140.16180555560.10972222220.181250.15833333330.185416
66670.17361111110.14722222220.07847222220.20833333330.1
06250.18541666670.16944444440.11250.19791666670.11250.0
8750.11250.08055555560.12986111110.16180555560.08750.09
3750.16944444440.09513888890.10694444440.07847222220.14
513888890.12986111110.12986111110.09513888890.19791666
670.14652777780.14652777780.106250.08055555560.10694444
440.12847222220.10694444440.12847222220.143750.19791666
670.143750.08055555560.106250.17708333330.08750.0784722
2220.16180555560.17708333330.1125Males0.190.11250.10972
222220.15833333330.10.15833333330.19791666670.106944444
40.17361111110.08750.07847222220.16180555560.1618055556
0.12986111110.17708333330.106250.19791666670.08750.1854
1666670.14513888890.08055555560.09513888890.11250.16736
111110.10972222220.08750.10694444440.07847222220.177083
33330.18541666670.14513888890.10972222220.093750.093750
.093750.10.07777777780.181250.07777777780.12847222220.12
847222220.07777777780.19791666670.08055555560.14722222
220.07847222220.181250.16944444440.12847222220.14652777
780.0784722222Males0.180.10972222220.18541666670.106250
.10.15833333330.17708333330.14652777780.15833333330.145
13888890.10.08055555560.17361111110.10.20833333330.0777
7777780.17708333330.106250.093750.20833333330.169444444
40.17708333330.10972222220.10.14652777780.12986111110.1
2986111110.14722222220.11250.09513888890.07777777780.12
986111110.18541666670.14652777780.15833333330.14513888
890.12847222220.16944444440.14513888890.19791666670.129
86111110.14722222220.14652777780.10694444440.077777777
80.18541666670.14722222220.15833333330.19791666670.1812
50.1097222222Males0.160.143750.08055555560.10972222220.
12847222220.16180555560.14513888890.07847222220.161805
55560.093750.15833333330.10.16944444440.15833333330.106
94444440.11250.12847222220.10694444440.09513888890.1694
4444440.18541666670.09513888890.08750.20833333330.16736
111110.07777777780.16736111110.181250.10694444440.20833
333330.10.12986111110.10.14652777780.07777777780.106250.
16944444440.11250.17361111110.181250.16180555560.146527
77780.07777777780.106250.10972222220.14652777780.129861
11110.17708333330.15833333330.14513888890.1125Males0.18
0.093750.14722222220.07847222220.17361111110.1451388889
0.10972222220.10.07777777780.17708333330.11250.14652777
780.14652777780.10.20833333330.10694444440.10.147222222
20.11250.14722222220.143750.08055555560.14722222220.109
72222220.20833333330.07777777780.10972222220.106250.169
44444440.16736111110.07847222220.07847222220.093750.169
44444440.143750.12986111110.18541666670.14722222220.143
750.14652777780.07777777780.10.08750.10972222220.169444
44440.08055555560.14652777780.15833333330.09513888890.1
5833333330.0784722222Males0.210.15833333330.106250.1298
6111110.093750.10694444440.14513888890.20833333330.1437
50.19791666670.07777777780.143750.14722222220.167361111
10.10.14722222220.093750.16736111110.11250.16180555560.1
1250.11250.093750.11250.106250.10972222220.16736111110.1
4722222220.07777777780.14652777780.11250.10.15833333330
.08055555560.14652777780.14652777780.181250.16180555560
.181250.19791666670.14722222220.15833333330.17361111110
.10694444440.10694444440.16944444440.08750.16736111110.
14513888890.14722222220.1583333333Males0.200.167361111
10.093750.16944444440.12847222220.18541666670.11250.161
80555560.15833333330.143750.10972222220.12847222220.181
250.14722222220.15833333330.15833333330.10.143750.16736
111110.16736111110.18541666670.16180555560.07847222220.
14513888890.09513888890.15833333330.19791666670.143750.
12986111110.08750.14513888890.14652777780.181250.197916
66670.08055555560.19791666670.10.17361111110.2083333333
0.17708333330.12986111110.18541666670.07777777780.16736
111110.07847222220.11250.11250.106250.10.07777777780.095
1388889Males0.170.10.093750.10694444440.19791666670.095
13888890.15833333330.106250.10694444440.16944444440.177
08333330.17708333330.16736111110.15833333330.093750.181
250.08055555560.15833333330.12847222220.093750.16944444
440.08055555560.10.10694444440.16180555560.14722222220.
143750.10694444440.20833333330.07847222220.18541666670.
12986111110.10972222220.15833333330.16944444440.11250.0
8055555560.09513888890.15833333330.08750.15833333330.08
750.10.07847222220.181250.19791666670.08750.16736111110.
16944444440.10694444440.1583333333Males0.160.10.1298611
1110.08750.10.181250.15833333330.181250.093750.181250.08
055555560.143750.106250.07777777780.16944444440.0805555
5560.106250.10.15833333330.14652777780.17708333330.0951
3888890.15833333330.143750.14722222220.17361111110.0937
50.14652777780.18541666670.08055555560.181250.146527777
80.08750.181250.143750.08055555560.10.093750.14652777780
.16736111110.106250.093750.09513888890.07847222220.1069
4444440.12847222220.08055555560.093750.16736111110.1736
1111110.1583333333Males0.160.20833333330.14722222220.18
541666670.17708333330.08055555560.07777777780.09513888
890.10.08055555560.10972222220.181250.12986111110.12847
222220.181250.093750.16736111110.12847222220.093750.158
33333330.19791666670.16180555560.07847222220.109722222
20.08750.09513888890.08750.10694444440.16180555560.1097
2222220.10.11250.08055555560.181250.093750.18541666670.1
2847222220.16736111110.11250.10972222220.16944444440.17
708333330.19791666670.15833333330.106250.19791666670.08
750.15833333330.11250.12847222220.1451388889Males0.170.
10.14652777780.11250.14722222220.20833333330.1979166667
0.12847222220.12986111110.17708333330.07847222220.15833
333330.14652777780.12847222220.16180555560.19791666670.
16944444440.14513888890.19791666670.09513888890.109722
22220.20833333330.12986111110.07777777780.18541666670.0
8750.093750.18541666670.20833333330.09513888890.1465277
7780.08750.16944444440.08055555560.106250.09513888890.1
5833333330.15833333330.18541666670.14513888890.1097222
2220.10694444440.07847222220.10694444440.20833333330.12
986111110.14722222220.15833333330.14722222220.093750.10
625Males0.170.10972222220.106250.16944444440.1451388889
0.09513888890.19791666670.17361111110.17361111110.15833
333330.08750.20833333330.12847222220.20833333330.10.158
33333330.14652777780.10.12847222220.10972222220.1979166
6670.10694444440.20833333330.181250.11250.10.1097222222
0.16736111110.07777777780.16736111110.14513888890.18541
666670.10972222220.12986111110.10.16944444440.167361111
10.16736111110.20833333330.17708333330.09513888890.1694
4444440.181250.181250.19791666670.08055555560.143750.14
652777780.16180555560.18541666670.1770833333Females0.08
0.10694444440.14652777780.17708333330.106250.1770833333
0.15833333330.09513888890.14513888890.18541666670.10.10.
08750.10972222220.17708333330.08055555560.16736111110.1
06250.17708333330.17361111110.20833333330.10.11250.1465
2777780.106250.10972222220.17361111110.14652777780.1437
50.20833333330.10.16180555560.18541666670.15833333330.1
4513888890.10694444440.12847222220.17708333330.1583333
3330.181250.17708333330.12847222220.09513888890.1069444
4440.19791666670.17708333330.17361111110.15833333330.07
777777780.106250.10625Females0.110.10694444440.18541666
670.14722222220.07847222220.14722222220.17708333330.109
72222220.07847222220.19791666670.12986111110.106250.106
94444440.14513888890.19791666670.14722222220.10.0784722
2220.07777777780.14722222220.12986111110.16180555560.14
513888890.181250.10.19791666670.14722222220.08055555560
.143750.10694444440.19791666670.10.19791666670.17361111
110.16180555560.16736111110.16736111110.106250.15833333
330.143750.10.20833333330.20833333330.07777777780.17708
333330.20833333330.14513888890.181250.08750.17708333330
.1Females0.080.07847222220.143750.14722222220.08750.1465
2777780.11250.09513888890.10.07777777780.18541666670.14
652777780.10.093750.11250.17361111110.17708333330.14652
777780.07847222220.12986111110.16944444440.10694444440.
15833333330.07777777780.16944444440.16736111110.161805
55560.14652777780.12847222220.12986111110.143750.158333
33330.16736111110.15833333330.10972222220.14513888890.1
2847222220.17708333330.08750.10.14652777780.07847222220
.12847222220.16736111110.106250.10694444440.14652777780
.14722222220.17708333330.08055555560.1284722222Females0
.130.09513888890.08750.17708333330.16944444440.20833333
330.17708333330.14513888890.08055555560.11250.10.077777
77780.14513888890.10972222220.17361111110.19791666670.1
7708333330.20833333330.10972222220.08750.16944444440.20
833333330.08750.11250.14652777780.16944444440.077777777
80.15833333330.181250.07847222220.093750.08055555560.08
055555560.14722222220.10.143750.181250.14722222220.0805
5555560.17361111110.20833333330.17361111110.1673611111
0.09513888890.16180555560.143750.16736111110.1618055556
0.08055555560.07777777780.1736111111Females0.090.077777
77780.16180555560.12986111110.16736111110.18541666670.1
81250.17708333330.08750.17708333330.07847222220.0951388
8890.17361111110.16180555560.07777777780.17708333330.10
694444440.106250.08055555560.11250.106250.12847222220.1
0694444440.15833333330.14722222220.17361111110.143750.0
9513888890.07847222220.08055555560.12986111110.0777777
7780.10.08750.17708333330.14652777780.07777777780.15833
333330.19791666670.12986111110.07847222220.17361111110.
15833333330.10694444440.14652777780.10694444440.106250.
14513888890.12847222220.14513888890.1770833333Females0.
100.17361111110.12986111110.15833333330.181250.12847222
220.16736111110.10694444440.07847222220.08055555560.093
750.14652777780.08055555560.10972222220.14722222220.128
47222220.08055555560.17708333330.106250.07777777780.095
13888890.14652777780.19791666670.12986111110.078472222
20.14722222220.16180555560.17708333330.12847222220.0875
0.12847222220.12847222220.10694444440.12986111110.15833
333330.19791666670.07847222220.106250.181250.143750.147
22222220.07847222220.07777777780.18541666670.173611111
10.093750.181250.08750.18541666670.106250.1979166667Fem
ales0.080.19791666670.07847222220.143750.19791666670.106
94444440.093750.10694444440.09513888890.19791666670.087
50.16944444440.07847222220.10694444440.12986111110.0937
50.11250.14652777780.14722222220.12847222220.1694444444
0.11250.20833333330.10694444440.143750.07777777780.1583
3333330.15833333330.14652777780.20833333330.106250.2083
3333330.18541666670.14722222220.14513888890.1694444444
0.07777777780.16180555560.16736111110.18541666670.10.14
3750.10694444440.19791666670.106250.181250.08750.10.1583
3333330.10972222220.1284722222Females0.150.17361111110.
12986111110.10972222220.16736111110.14513888890.167361
11110.14652777780.10694444440.14722222220.10694444440.1
9791666670.08750.106250.09513888890.093750.10.11250.0777
7777780.07777777780.16736111110.09513888890.1854166667
0.12986111110.10.07777777780.09513888890.20833333330.14
3750.20833333330.10.181250.07777777780.11250.1465277778
0.08055555560.20833333330.181250.09513888890.1465277778
0.20833333330.10694444440.08055555560.08055555560.18541
666670.12986111110.17361111110.14652777780.20833333330.
19791666670.1125Females0.150.14722222220.15833333330.16
180555560.12847222220.17708333330.15833333330.07777777
780.181250.106250.12847222220.07777777780.11250.0805555
5560.08750.11250.143750.15833333330.106250.08055555560.0
7847222220.14513888890.10694444440.10694444440.1770833
3330.08750.12986111110.10.15833333330.08750.19791666670.
08750.07847222220.07777777780.143750.15833333330.106250
.17708333330.12986111110.10972222220.14513888890.080555
55560.10972222220.12847222220.15833333330.07847222220.0
8055555560.11250.19791666670.19791666670.1097222222Fem
ales0.090.18541666670.093750.15833333330.16180555560.197
91666670.17708333330.14722222220.12986111110.08750.2083
3333330.11250.18541666670.08055555560.181250.08750.1583
3333330.07777777780.16180555560.08750.12847222220.10972
222220.10972222220.11250.15833333330.10.16736111110.106
250.12986111110.15833333330.11250.17361111110.129861111
10.16944444440.08055555560.20833333330.11250.1673611111
0.12986111110.17361111110.143750.15833333330.1472222222
0.20833333330.17708333330.15833333330.15833333330.08750
.20833333330.093750.1736111111Females0.110.20833333330.1
1250.10.16944444440.10694444440.106250.16736111110.1284
7222220.16180555560.14513888890.20833333330.10.14652777
780.14652777780.15833333330.15833333330.15833333330.112
50.181250.10.08750.09513888890.17708333330.20833333330.1
4513888890.08750.18541666670.093750.16944444440.1097222
2220.12986111110.181250.16180555560.08750.09513888890.1
9791666670.20833333330.18541666670.16180555560.2083333
3330.19791666670.17708333330.20833333330.10.09513888890
.14652777780.14722222220.15833333330.17361111110.128472
2222Females0.110.16180555560.18541666670.19791666670.19
791666670.14513888890.14722222220.10.19791666670.185416
66670.16944444440.14513888890.07847222220.15833333330.0
9513888890.143750.07847222220.20833333330.12986111110.2
0833333330.17361111110.14513888890.106250.14722222220.1
2847222220.18541666670.12847222220.106250.15833333330.1
6736111110.16944444440.07777777780.10.08750.16736111110
.15833333330.07777777780.10972222220.106250.18541666670
.16180555560.18541666670.18541666670.106250.11250.14375
0.14722222220.14652777780.19791666670.14513888890.20833
33333Females0.100.10.15833333330.07847222220.1770833333
0.15833333330.08055555560.08055555560.11250.19791666670
.14513888890.093750.16180555560.181250.12847222220.0777
7777780.07847222220.17708333330.14722222220.1694444444
0.15833333330.10972222220.093750.15833333330.1097222222
0.07777777780.10.10972222220.11250.16736111110.08750.10.
14722222220.106250.10.17708333330.08750.07847222220.208
33333330.143750.093750.16180555560.106250.16180555560.1
4652777780.16180555560.15833333330.09513888890.1472222
2220.15833333330.1854166667Females0.110.106250.07847222
220.11250.19791666670.08055555560.143750.17361111110.15
833333330.10.10.14513888890.10972222220.106250.10972222
220.093750.181250.20833333330.10972222220.09513888890.1
4513888890.07847222220.14722222220.12986111110.1472222
2220.10972222220.10694444440.15833333330.16736111110.18
1250.14652777780.14652777780.14722222220.07847222220.07
847222220.106250.17361111110.07777777780.16180555560.10
.16180555560.20833333330.12986111110.17708333330.158333
33330.14722222220.09513888890.19791666670.11250.106250.
18125AVERAGE0.140.13712797620.12725694440.1392113095
0.14764384920.14709821430.14967757940.13100198410.12539
682540.14908234130.12038690480.14114583330.13266369050.
12604166670.14208829370.1245783730.12715773810.1360863
0950.12611607140.13422619050.14799107140.12648809520.12
661210320.13172123020.13940972220.12336309520.13085317
460.13896329370.13913690480.13861607140.1315476190.1314
7321430.13469742060.13385416670.1261408730.14077380950.
13075396830.14781746030.14900793650.14623015870.139880
95240.13998015870.13191964290.12976190480.14553571430.1
3660714290.1278273810.14050099210.15037202380.13772321
430.1378968254BOOTSTRAPSE0.13594890870.0081050926CI
95%0.11973872340.152159094
Math 1223 Project Part 8: Conditional Probability from Two-
Way Table
Please use the data you originally collected for part 1. You will
add these new parts to report part 2, 3,
4, 5, 6, and 7.
1. For this project you must find some published or existing
data. Possible sources include: almanacs,
magazines and journal articles, textbooks, web resources,
athletic teams, newspapers, professors with
experimental data, campus organizations, electronic data
repositories, etc. Your dataset must have
at least 25 cases, two categorical variables and two quantitative
variables. It is also recom-
mended that you are interested in the material included in the
dataset.
2. Use the two-way table from part 2 to complete the following
(a) Create at least 2 conditional probabilities from your two-
way table. Interpret their meanings and
explain how they were computed. Include the following formula
for conditional probability
P (A|B) =
P (A∩B)
P (B)
3. Add to your report!
(a) Include all items requested above. Include text and graphics
describing the processes you have
completed.
The eighth and final report submission will be graded by the
following criteria:
• Continuation -10 points. The report includes the material from
the previous reports and any errors
that interfered with the cohesion of the report have been fixed.
• Statistical analysis - 10 points. The statistical tests are all
provided and typeset correctly.
• Formulas - 10 points. The appropriate formula is used and
included in report correctly typeset.
• Interpretations - 10 points. The results of the statistical
analysis are clearly explained and interpreted
in the context of the problem. The conclusions accurately
reflect the analysis and are well supported.
• Writing quality - 10 points. The paper is readable and clearly
written. There are few, if any, gram-
matical or spelling errors and they do not interfere with the
clarity of the paper.
If you have any questions about this assignment feel free to
email me or come by my office.
Math 1223 Project Part 7: Quantitative Inference with Formulas
Please use the data you originally collected for part 1. You will
add these new parts to report part 2, 3,
4, 5, and 6.
1. For this project you must find some published or existing
data. Possible sources include: almanacs,
magazines and journal articles, textbooks, web resources,
athletic teams, newspapers, professors with
experimental data, campus organizations, electronic data
repositories, etc. Your dataset must have
at least 25 cases, two categorical variables and two quantitative
variables. It is also recom-
mended that you are interested in the material included in the
dataset.
2. Use the techniques of the text to repeat your hypothesis test.
(a) Repeat your hypothesis test on the quantitative variable
utilizing the appropriate formulas for
your situation. Compute 95% confidence interval and compare
to results from bootstrapping.
3. Add to your report!
(a) Include all items requested above. Include text and graphics
describing the processes you have
completed.
The seventh report submission will be graded by the following
criteria:
• Continuation -10 points. The report includes the material from
the previous reports and any errors
that interfered with the cohesion of the report have been fixed.
• Statistical analysis - 10 points. The statistical tests are all
provided and typeset correctly.
• Formulas - 10 points. The appropriate formula is used and
included in report correctly typeset.
• Interpretations - 10 points. The results of the statistical
analysis are clearly explained and interpreted
in the context of the problem. The conclusions accurately
reflect the analysis and are well supported.
• Writing quality - 10 points. The paper is readable and clearly
written. There are few, if any, gram-
matical or spelling errors and they do not interfere with the
clarity of the paper.
If you have any questions about this assignment feel free to
email me or come by my office.
Math 1223 Project Part 6: Categorical Inference with Formulas
Please use the data you originally collected for part 1. You will
add these new parts to report part 2, 3,
4, and 5.
1. For this project you must find some published or existing
data. Possible sources include: almanacs,
magazines and journal articles, textbooks, web resources,
athletic teams, newspapers, professors with
experimental data, campus organizations, electronic data
repositories, etc. Your dataset must have
at least 25 cases, two categorical variables and two quantitative
variables. It is also recom-
mended that you are interested in the material included in the
dataset.
2. Use the techniques of the text to repeat your hypothesis test.
(a) Repeat your hypothesis test on the categorical variable
utilizing the appropriate formulas for your
situation. Compute 95% confidence interval and compare to
results from bootstrapping.
3. Add to your report!
(a) Include all items requested above. Include text and graphics
describing the processes you have
completed.
The sixth report submission will be graded by the following
criteria:
• Continuation -10 points. The report includes the material from
the previous reports and any errors
that interfered with the cohesion of the report have been fixed.
• Statistical analysis - 10 points. The statistical tests are all
provided and typeset correctly.
• Formulas - 10 points. The appropriate formula is used and
included in report correctly typeset.
• Interpretations - 10 points. The results of the statistical
analysis are clearly explained and interpreted
in the context of the problem. The conclusions accuratel y
reflect the analysis and are well supported.
• Writing quality - 10 points. The paper is readable and clearly
written. There are few, if any, gram-
matical or spelling errors and they do not interfere with the
clarity of the paper.
If you have any questions about this assignment feel free to
email me or come by my office.
Mass Shootings from 1982 – 2019
Cougan Collins
Class: SU20-INTRO TO PROBABILITY AND STATS_01
Instructor: Nicholas Jacob
I will examine the data from the mass shootings done from 1982
to 2019. The data can be found
here https://www2.stetson.edu/~jrasp/data.htm. The original
data set was not arranged by year,
but I wanted to make it easier to read as the mass shootings in
chronologic order. There was
some additional data that was repetitive and not useful for my
analysis, so I cleaned that data out.
The categorical variables are the cases, location (state/city),
date, summary of the shooting,
location (where it happened), prior signs of mental health,
mental health details, were the
weapons obtained legally, weapon type, race, gender, and type
of shooting. The quantitative
variables are the number of fatalities, age of the shooter, the
number of injured, and total victims.
Below is an image of four cases of my data set.
What I am most interested in learning from these mass
shootings that took place during this
timeframe is how many of these shooters had prior signs of
mental illness. If the data shows that
most of these shooters had some kind of mental illness
beforehand, it would suggest that we need
to pay closer attention to those who have a mental illness,
especially if they show any signs of
hostility towards classmates or fellow workers. If having mental
problems is one of the main
signs that could cause a mass shooter, then we could develop
better programs that would help
these individuals to have the tools they need to not become the
next mass shooter.
I chose to make two tables that would show the frequency and
relative frequency of those mass
shooters who had prior signs of mental illness and who bought
their guns legally. Those who had
a mental illness prior to the shootings are significantly higher
than those who did not. Since my
table includes forty-one shooters whose prior mental condition
is unknown, it makes the relative
frequency of those who had prior mental illness appear to be
lower. If we removed the unclear,
the relative frequency would about 80%, which indicates that
mental illness is a key factor in
those who would commit a mass shooting.
As you look at the second table, about 71% of the weapons they
used were obtained legally. If
you removed the unclear accounts, about 84% of the guns were
bought legally.
Our third table, which is a two-way table, show a correlation
between having a mental illness
prior to the shooting and having guns legally. This correlation
would suggest that if we want to
help reduce the number of mass shootings, then we need to have
stricter gun rules for those with
mental illnesses. However, we need to keep in mind that having
a mental illness doesn’t mean a
person will become a mass shooter or harm anyone. So, creating
restrictions would need to be
case location date summary fatalities injured total_victims
location
age_of_shooterprior_signs_mental_health_issuesmental_health_
details weapons_obtained_legallyweapon_type race gender type
Welding shop shooting Miami, Florida 8/20/1982 Junior high
school teacher Carl Robert Brown, 51, opened fire inside a
welding shop and was later shot dead by a witness as he fled the
scene.8 3 11 Other 51 Yes His second wife left him because he
refused to seek psychological help. He had become increasingly
isolated. One former student said he was "off his rocker."Yes
One shotgun white Male Mass
Dallas nightclub shooting Dallas, Texas 6/29/1984 Abdelkrim
Belachheb, 39, opened fire at an upscale nightclub after a
woman rejected his advances. He was later arrested.6 1 7 Other
39 Yes During his last meal with his wife, he confessed he was
depressed and had visited psychiatric hospitals in Belgium.No
One semiautomatic handgunwhite Male Mass
San Ysidro McDonald's massacre San Ysidro, California
7/18/1984 James Oliver Huberty, 41, opened fire in a
McDonald's restaurant before he was shot dead by a police
officer.22 19 41 Other 41 Yes The day before the shooting, he
tried to make an appointment at a mental health clinic. Yes One
semiautomatic handgun, one rifle (assault), one shotgunwhite
Male Mass
United States Postal Service shooting Edmond, Oklahoma
8/20/1986 Postal worker Patrick Sherrill, 44, opened fire at a
post office before committing suicide.15 6 21 Workplace 44
Unclear He was worried he had inherited mental problems and
rebuffed a pastor's suggestion he seek psychiatric counseling.
His family members denied he had a history of mental
illness.Yes Three semiautomatic handgunswhite Male Mass
done fairly. Perhaps further study might show that certain kinds
of mental illnesses might be
correlated with mass shootings.
We will never be able to stop all mass shootings, but the data I
have composed indicates that we
could decrease the number of shootings by having more
substantial restrictions on owning guns
if people have mental illnesses. If the parents have guns legally
with no mental illness but their
child is mentally ill, then they should secure their weapons, so
the child has no access to them.
Prior signs of mental illness
Response Frequency Relative Frequency
Yes 59 0.504273504
No 17 0.145299145
Unclear 41 0.35042735
Total 117 1
Weapons obtained legally
Response Frequency Relative Frequency
Yes 83 0.709401709
No 16 0.136752137
Unclear 18 0.153846154
Total 117 1
Two-way table
Weapons obtained
legally
Weapons
obtained illegally
Weapons
obtained unclear
Prior signs of
mental illness
46 8 5
No prior signs of
mental illness
12 4 0
Unclear prior signs
of mental illness
25 3 14
Next, I will examine the statistical summary of the total number
of victims in these mass
shootings, and I will provide a histogram and a box plot. I also
included a close up of the main
data of the box plot to make it easier to see. The charts will
show that the distribution is skewed
to the right as the mean is greater than the median. Also, you
will notice in the box plot that there
are several outliers ranging from 36 to 604. If I removed the
extreme outlier (604), the mean
would change to 15.40517241, which shows how out outliers
can inflate the average. As you can
see from the histogram, the majority of victims injured or killed
during a mass shooting are
between three and thirteen. We can conclude that on average
that a mass shooting will have
between three to thirteen victims that are injured or killed.
Total victims - Summary
Mean 20.43589744
Median 11
Standard Dev. 56.27184141
Variance 3190.248011
Q1 7
Q2 11
Q3 18
IQR 11
Min 3
Max (604.00)
Hypothesis test for a quantitative variable
I suspect that if we examine all the mass shootings in my chart
that we will discover that there
are more injuries than deaths.
Ho: = The mean of the injuries will be > than the mean of the
deaths in the mass shootings in my
report.
Ha: ≠ The mean of the injuries will be < than the mean of the
deaths in the mass shootings in my
report.
This will be easy to determine if my hypothesis is supported
because all I have to do is compare
the mean of the deaths in the chart to the mean of the injuries.
If my hypothesis is supported, the
numbers will show it, and they do. The mean of deaths is 8.10,
and the mean of injuries 12.33.
Therefore, my hypothesis is supported. I will add that I based
my hypothesis on the fact that
when a mass shooting happens, people tend to run as fast as
they can, which puts them at a
higher risk of injuring themselves. Also, as the shooter shoots
into a crowd, he or she is not
going to have kill shot every time, which means that there will
be more people injured from the
stray bullets as well.
Simple formula: (i=injures d=deaths)
Ho: μi = μd
Ha: μi < μd
Hypothesis test for a categorical variable
I suspect that the majority of mass shooters have some form of
mental illness and showed signs
of mental illness before they committed the mass shooting.
Ho: = The frequency of mass shooters who had prior signs of
mental illness is equal to the mass
shooters who had no prior signs of mental illness.
Ha: ≠ The frequency of mass shooters who had prior signs of
mental illness is < than the mass
shooters who had no prior signs of mental illness.
The main reason I suspect the majority of mass shooters would
have some form of mental illness
is because what person in his or her right mind would decide to
kill as many people as he or she
can. We can easily determine if the hypothesis is supported by
looking at the frequency table
below. It clearly supports my hypothesis because 59 cases had
prior signs of mental illness, and
17 did not.
Prior signs of mental illness
Response Frequency Relative Frequency
Yes 59 0.504273504
No 17 0.145299145
Unclear 41 0.35042735
Total 117 1
Simple formula:
Ho: p Mental Illness=1/2
Ha: p Mental Illness >1/2
Bootstrap test for my categorical variable
To test my hypothesis further, I used bootstrapping with 52
generated samples to determine if my
hypothesis should be accepted or rejected. I discovered that my
bootstrap mean was .778846154,
and the standard error is .042. Computing the 95% confidence
level with a z score of 1.96, I
found the range to be .6930511954 to .864641114, which means
that I can be 95% confident that
the majority of mass shooters had some previous signs of mental
illness. So, I failed to reject my
hypothesis.
Bootstrap test for my quantitative variable
To test my hypothesis further, I used bootstrapping with 52
generated samples for the injured and
the fatalities to determine if my hypothesis should be accepted
or rejected. I discovered that my
bootstrap mean for the fatalities is 8.010804709, and my
bootstrap mean for injuries is
11.43202709. The standard error for fatalities is .728691332
and 4.73563476.
If my hypothesis were being tested by the bootstrap mean, I
would have failed to reject my null
hypothesis because the number of injuries is greater than the
number of deaths. However, based
on the 95% confidence level, I must reject the hypothesis
because, based on the compared ranges
for fatalities and injuries, it is possible for the deaths to be
greater than the injuries because there
is a much greater range with the injury numbers. As you can see
in the charts below, the fatalities
range between 6.553422046 and 9.468187372. The injuries
range from 1.960757572 to
20.90329661.
From Module 6, I will use the formulas we learned to test my
hypothesis again. Let’s begin with
our categorical data the records if the shooter had prior signs of
mental illness.
Simple formula:
Ho: p Mental Illness=1/2
Ha: p Mental Illness >1/2
There are 76 shooters, with 59 of them having prior signs of
mental illness. I suspect that more
than half of the shooters had prior signs of mental illness. I will
use an Alpha of .05. My sample
size is 76, the proportion is ½, and my statistic is .776315787.
The SE is .057353933. Z =
4.817730411 and Z* 1.6448553627. Using StartKey, my 95% CI
ranges from .684 to .868. This
is almost identical to my initial bootstrap test above, which
once again offers support that my
hypothesis is true. Using these numbers, I have failed to reject
the null hypothesis.
Next, let’s examine the quantitative data using the new formula
from Module 6. I am very
interested in how this will compare to the previous module.
Simple formula: (i=injures d=deaths)
Ho: μi = μd
Ha: μi < μd
Samplesize proportion statistic
76 0.5 0.776315789 0.05
n P p hat alpha
Simple formula: (i=injures d=deaths)
Ho: μi = μd
Ha: μi < μd
z* z SE
1.644853627 4.817730411 0.057353933
(phat-p)/SE sqrt(p*(p*(1-p)/n
We have a sample size of 2391. Out of the 2391, there were 948
fatalities and 1443 injuries. The
SE = 0.014460896. P1-P2 = -0.20702635. Z = -14.31628741. P
= 8.6564E-47. I have included a
snapshot of Excel numbers. However, when I put this problem
into StartKey, you can see from
the chart below that is only a .013 chance that the deaths and
injuries will be different from one
another. However, from the Excel nonpooled numbers, the 95%
Cl difference can range from -
0.234755148 to -0.17929755. Though this formula gave me
different numbers from the previous
example above, I would still have to reject the null hypothesis.
Also, my instructor told me to
include the following Cl numbers which range from -
0.027728799 and 0.027728799.
In this section, I am only retesting the qualitative part of my
hypothesis with a test. Using the
formula we learned this week, I came up with the following
numbers.
Fatalities Injuries
2391 2391 4782
948 1443 2391
0.396486826 0.603513174 0.5
p1 p2 Pooled Proportion
Pooled SE p1-p2
0.014460896 -0.20702635
z p tail two times
-14.31628741 8.6564E-47 1 1.73E-46
0
Not pooled SE
0.014147606
z*
1.959963985
95% CI
-0.234755148 -0.17929755
Module 7
Average Standard Dev.
4.230769231 45.9914506
SE
0.940561764
Tstat
4.498130153
Postive
0.034017483
CL
4.198773687 4.262764774
Lower Upper
If you compare these numbers to my previous test, they are
quite different. With such a high
confidence level, I will accept my null hypothesis. I amazed at
how different each statistical test
is. My question would be, which is the most reliable method?
For the last part of our project I will provide two conditional
probabilities from a modified
version of my two-way table that was done earlier in this
project.
How many shooters had a prior sign of mental illness? This
would be determined by dividing
39/54, which would = .72. In other words, 72% had prior signs
of mental illness.
How many shooters had no prior signs of mental illness and
obtained weapons illegally? This
would be determined by dividing 4/54 which would = .074. In
other words, 7.4% had no prior
signs of mental illness who had obtained weapons illegally.
Please refer to the following formula that is to be included in
this final project.
I have enjoyed examining the statistics of my project. I am
thankful for the opportunity to have
had a glimpse it to what goes into looking at projects like mine.
You can view my edited Excel file from this link
https://www.dropbox.com/s/3xezqdqoth3v17q/Mother%20Jones
%20-
%20Mass%20Shootings%20Database%5EJ%201982%20-
%202019%20revised.xlsx?dl=0
Two-way table
Column1 Weapons obtained legally Weapons obtaintaid
illegally total
Prior signs of mental illness 39 0 39
No prior signs of mental illness 11 4 15
Total 50 4 54

More Related Content

More from MatthewTennant613

Assignment 4Project ProgressDue Week 9 and worth 200 points.docx
Assignment 4Project ProgressDue Week 9 and worth 200 points.docxAssignment 4Project ProgressDue Week 9 and worth 200 points.docx
Assignment 4Project ProgressDue Week 9 and worth 200 points.docx
MatthewTennant613
 
Assignment 4 PresentationChoose any federal statute that is curre.docx
Assignment 4 PresentationChoose any federal statute that is curre.docxAssignment 4 PresentationChoose any federal statute that is curre.docx
Assignment 4 PresentationChoose any federal statute that is curre.docx
MatthewTennant613
 
Assignment 4 Presentation Choose any federal statute that is cu.docx
Assignment 4 Presentation Choose any federal statute that is cu.docxAssignment 4 Presentation Choose any federal statute that is cu.docx
Assignment 4 Presentation Choose any federal statute that is cu.docx
MatthewTennant613
 
Assignment 4 Inmates Rights and Special CircumstancesDue Week 8 a.docx
Assignment 4 Inmates Rights and Special CircumstancesDue Week 8 a.docxAssignment 4 Inmates Rights and Special CircumstancesDue Week 8 a.docx
Assignment 4 Inmates Rights and Special CircumstancesDue Week 8 a.docx
MatthewTennant613
 
Assignment 4 DUE Friday 72117 @ 1100amTurn in a written respon.docx
Assignment 4 DUE Friday 72117 @ 1100amTurn in a written respon.docxAssignment 4 DUE Friday 72117 @ 1100amTurn in a written respon.docx
Assignment 4 DUE Friday 72117 @ 1100amTurn in a written respon.docx
MatthewTennant613
 
Assignment 4 Database Modeling and NormalizationImagine that yo.docx
Assignment 4 Database Modeling and NormalizationImagine that yo.docxAssignment 4 Database Modeling and NormalizationImagine that yo.docx
Assignment 4 Database Modeling and NormalizationImagine that yo.docx
MatthewTennant613
 
Assignment 3 Inductive and Deductive ArgumentsIn this assignment,.docx
Assignment 3 Inductive and Deductive ArgumentsIn this assignment,.docxAssignment 3 Inductive and Deductive ArgumentsIn this assignment,.docx
Assignment 3 Inductive and Deductive ArgumentsIn this assignment,.docx
MatthewTennant613
 
Assignment 3 Wireless WorldWith the fast-moving technology, the w.docx
Assignment 3 Wireless WorldWith the fast-moving technology, the w.docxAssignment 3 Wireless WorldWith the fast-moving technology, the w.docx
Assignment 3 Wireless WorldWith the fast-moving technology, the w.docx
MatthewTennant613
 
Assignment 3 Web Design Usability Guide PresentationBefore you .docx
Assignment 3 Web Design Usability Guide PresentationBefore you .docxAssignment 3 Web Design Usability Guide PresentationBefore you .docx
Assignment 3 Web Design Usability Guide PresentationBefore you .docx
MatthewTennant613
 
Assignment 3 Understanding the Prevalence of Community PolicingAs.docx
Assignment 3 Understanding the Prevalence of Community PolicingAs.docxAssignment 3 Understanding the Prevalence of Community PolicingAs.docx
Assignment 3 Understanding the Prevalence of Community PolicingAs.docx
MatthewTennant613
 
Assignment 3 The Value of Fair Treatment in the Workplace Due .docx
Assignment 3 The Value of Fair Treatment in the Workplace  Due .docxAssignment 3 The Value of Fair Treatment in the Workplace  Due .docx
Assignment 3 The Value of Fair Treatment in the Workplace Due .docx
MatthewTennant613
 
Assignment 3 SummaryIn this assignment you will look for on.docx
Assignment 3 SummaryIn this assignment you will look for on.docxAssignment 3 SummaryIn this assignment you will look for on.docx
Assignment 3 SummaryIn this assignment you will look for on.docx
MatthewTennant613
 
Assignment 3 Technology Integration Presentation Throughout thi.docx
Assignment 3 Technology Integration Presentation Throughout thi.docxAssignment 3 Technology Integration Presentation Throughout thi.docx
Assignment 3 Technology Integration Presentation Throughout thi.docx
MatthewTennant613
 
Assignment 3 Secure Encrypted CommunicationsDue Week 9 and worth .docx
Assignment 3 Secure Encrypted CommunicationsDue Week 9 and worth .docxAssignment 3 Secure Encrypted CommunicationsDue Week 9 and worth .docx
Assignment 3 Secure Encrypted CommunicationsDue Week 9 and worth .docx
MatthewTennant613
 
Assignment 3 Policy identificationAccording to the Counsel on Soc.docx
Assignment 3 Policy identificationAccording to the Counsel on Soc.docxAssignment 3 Policy identificationAccording to the Counsel on Soc.docx
Assignment 3 Policy identificationAccording to the Counsel on Soc.docx
MatthewTennant613
 
Assignment 3 Law Enforcement ChallengesDue Week 8 and worth 170 p.docx
Assignment 3 Law Enforcement ChallengesDue Week 8 and worth 170 p.docxAssignment 3 Law Enforcement ChallengesDue Week 8 and worth 170 p.docx
Assignment 3 Law Enforcement ChallengesDue Week 8 and worth 170 p.docx
MatthewTennant613
 
Assignment 3 Human Resources Planning and Employee RelationsD.docx
Assignment 3 Human Resources Planning and Employee RelationsD.docxAssignment 3 Human Resources Planning and Employee RelationsD.docx
Assignment 3 Human Resources Planning and Employee RelationsD.docx
MatthewTennant613
 
Assignment 3 Graded Weekly Assignment Drafting Assignment—Motion t.docx
Assignment 3 Graded Weekly Assignment Drafting Assignment—Motion t.docxAssignment 3 Graded Weekly Assignment Drafting Assignment—Motion t.docx
Assignment 3 Graded Weekly Assignment Drafting Assignment—Motion t.docx
MatthewTennant613
 

More from MatthewTennant613 (20)

Assignment 4Project ProgressDue Week 9 and worth 200 points.docx
Assignment 4Project ProgressDue Week 9 and worth 200 points.docxAssignment 4Project ProgressDue Week 9 and worth 200 points.docx
Assignment 4Project ProgressDue Week 9 and worth 200 points.docx
 
Assignment 4 PresentationChoose any federal statute that is curre.docx
Assignment 4 PresentationChoose any federal statute that is curre.docxAssignment 4 PresentationChoose any federal statute that is curre.docx
Assignment 4 PresentationChoose any federal statute that is curre.docx
 
Assignment 4 The Perfect ManagerWrite a one to two (1–2) page pap.docx
Assignment 4 The Perfect ManagerWrite a one to two (1–2) page pap.docxAssignment 4 The Perfect ManagerWrite a one to two (1–2) page pap.docx
Assignment 4 The Perfect ManagerWrite a one to two (1–2) page pap.docx
 
Assignment 4 Presentation Choose any federal statute that is cu.docx
Assignment 4 Presentation Choose any federal statute that is cu.docxAssignment 4 Presentation Choose any federal statute that is cu.docx
Assignment 4 Presentation Choose any federal statute that is cu.docx
 
Assignment 4 Inmates Rights and Special CircumstancesDue Week 8 a.docx
Assignment 4 Inmates Rights and Special CircumstancesDue Week 8 a.docxAssignment 4 Inmates Rights and Special CircumstancesDue Week 8 a.docx
Assignment 4 Inmates Rights and Special CircumstancesDue Week 8 a.docx
 
Assignment 4 Part D Your Marketing Plan – Video Presentation.docx
Assignment 4 Part D Your Marketing Plan – Video Presentation.docxAssignment 4 Part D Your Marketing Plan – Video Presentation.docx
Assignment 4 Part D Your Marketing Plan – Video Presentation.docx
 
Assignment 4 DUE Friday 72117 @ 1100amTurn in a written respon.docx
Assignment 4 DUE Friday 72117 @ 1100amTurn in a written respon.docxAssignment 4 DUE Friday 72117 @ 1100amTurn in a written respon.docx
Assignment 4 DUE Friday 72117 @ 1100amTurn in a written respon.docx
 
Assignment 4 Database Modeling and NormalizationImagine that yo.docx
Assignment 4 Database Modeling and NormalizationImagine that yo.docxAssignment 4 Database Modeling and NormalizationImagine that yo.docx
Assignment 4 Database Modeling and NormalizationImagine that yo.docx
 
Assignment 3 Inductive and Deductive ArgumentsIn this assignment,.docx
Assignment 3 Inductive and Deductive ArgumentsIn this assignment,.docxAssignment 3 Inductive and Deductive ArgumentsIn this assignment,.docx
Assignment 3 Inductive and Deductive ArgumentsIn this assignment,.docx
 
Assignment 3 Wireless WorldWith the fast-moving technology, the w.docx
Assignment 3 Wireless WorldWith the fast-moving technology, the w.docxAssignment 3 Wireless WorldWith the fast-moving technology, the w.docx
Assignment 3 Wireless WorldWith the fast-moving technology, the w.docx
 
Assignment 3 Web Design Usability Guide PresentationBefore you .docx
Assignment 3 Web Design Usability Guide PresentationBefore you .docxAssignment 3 Web Design Usability Guide PresentationBefore you .docx
Assignment 3 Web Design Usability Guide PresentationBefore you .docx
 
Assignment 3 Understanding the Prevalence of Community PolicingAs.docx
Assignment 3 Understanding the Prevalence of Community PolicingAs.docxAssignment 3 Understanding the Prevalence of Community PolicingAs.docx
Assignment 3 Understanding the Prevalence of Community PolicingAs.docx
 
Assignment 3 The Value of Fair Treatment in the Workplace Due .docx
Assignment 3 The Value of Fair Treatment in the Workplace  Due .docxAssignment 3 The Value of Fair Treatment in the Workplace  Due .docx
Assignment 3 The Value of Fair Treatment in the Workplace Due .docx
 
Assignment 3 SummaryIn this assignment you will look for on.docx
Assignment 3 SummaryIn this assignment you will look for on.docxAssignment 3 SummaryIn this assignment you will look for on.docx
Assignment 3 SummaryIn this assignment you will look for on.docx
 
Assignment 3 Technology Integration Presentation Throughout thi.docx
Assignment 3 Technology Integration Presentation Throughout thi.docxAssignment 3 Technology Integration Presentation Throughout thi.docx
Assignment 3 Technology Integration Presentation Throughout thi.docx
 
Assignment 3 Secure Encrypted CommunicationsDue Week 9 and worth .docx
Assignment 3 Secure Encrypted CommunicationsDue Week 9 and worth .docxAssignment 3 Secure Encrypted CommunicationsDue Week 9 and worth .docx
Assignment 3 Secure Encrypted CommunicationsDue Week 9 and worth .docx
 
Assignment 3 Policy identificationAccording to the Counsel on Soc.docx
Assignment 3 Policy identificationAccording to the Counsel on Soc.docxAssignment 3 Policy identificationAccording to the Counsel on Soc.docx
Assignment 3 Policy identificationAccording to the Counsel on Soc.docx
 
Assignment 3 Law Enforcement ChallengesDue Week 8 and worth 170 p.docx
Assignment 3 Law Enforcement ChallengesDue Week 8 and worth 170 p.docxAssignment 3 Law Enforcement ChallengesDue Week 8 and worth 170 p.docx
Assignment 3 Law Enforcement ChallengesDue Week 8 and worth 170 p.docx
 
Assignment 3 Human Resources Planning and Employee RelationsD.docx
Assignment 3 Human Resources Planning and Employee RelationsD.docxAssignment 3 Human Resources Planning and Employee RelationsD.docx
Assignment 3 Human Resources Planning and Employee RelationsD.docx
 
Assignment 3 Graded Weekly Assignment Drafting Assignment—Motion t.docx
Assignment 3 Graded Weekly Assignment Drafting Assignment—Motion t.docxAssignment 3 Graded Weekly Assignment Drafting Assignment—Motion t.docx
Assignment 3 Graded Weekly Assignment Drafting Assignment—Motion t.docx
 

GAUCHAN 1