Final Project Check in 1

finalpart1
kristinabijaoude
bullying
Author

Kristin Abijaoude

Published

March 21, 2023

Code
# load packages
packages <- c("readr", "readxl", "summarytools", "tidyverse", "dplyr")
lapply(packages, require, character.only = TRUE)
Loading required package: readr
Loading required package: readxl
Loading required package: summarytools
Loading required package: tidyverse
── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
✔ ggplot2 3.4.0     ✔ dplyr   1.1.0
✔ tibble  3.1.8     ✔ stringr 1.5.0
✔ tidyr   1.2.1     ✔ forcats 0.5.2
✔ purrr   1.0.0     
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag()    masks stats::lag()
✖ tibble::view()  masks summarytools::view()
[[1]]
[1] TRUE

[[2]]
[1] TRUE

[[3]]
[1] TRUE

[[4]]
[1] TRUE

[[5]]
[1] TRUE
Code
knitr::opts_chunk$set(echo = TRUE)

Overview

Bullying continues to be a persistent problem in schools.

Types of bullying faced by those affected include physical fights, exclusion, rumors, snarky “jokes”, and name-calling. Every bullied student dreads going to school because they have to face their bullies, who would find any reason, or no reason at all, to target them. Bullying can happen outside of school, especially with today’s advanced technology and near-universal access to the Internet. While students are always encouraged to tell a trusted adult, such as a teacher, trusted adults in authority have a spotty record when it comes to tackling this epidemic.

In the US alone, one of every five students report being bullied on school grounds, including name-calling (13% among those who reported bullying), being pushed or shoved (5%), or have property destroyed on purpose (1%). 15% of students who reported bullying were cyberbullied 1. Globally, one in three students report bullying, from as low as 7% in the Central Asian country of Tajikistan to as high as 74% in Samoa.2

The negative effects on bullying include low self-esteem, feeling angry or isolated, and distress, as well as physical effects like loss of sleep, headaches, and disordered eating. Bullying can be so detrimental to the victim that they take their own life to escape the pain.3

When discussing ways to combat bullying, it’s too simplistic to say that “kids are just cruel”. My purpose is to find why some students are more vulnerable to being targets of bullying, and how we can use those parameters to create solutions to end bullying once and for all.

Hypotheses and Proposed Model

I will use multiple regression to test out my hypotheses, given the multiple independent variables such as body size, age, and gender. Multiple regression is a good model to measure the effects that multiple factors have on an given outcome. In this project, I will use these variables to explore a relationship between those variables and bullying.

  • Ha: Students who report loneliness and fewer friends are more vulnerable of being targets or bullying.

  • Ha: Male students are more likely to face physical abuse by bullies, while female students are more likely to face verbal abuse.

  • Ha: More female students who report bullying are targeted for being underweight, while male students who report bullying are targeted for being overweight.

Data Summary

Code
bully <- read_xlsx("_data/Bullying.xlsx",
                   range = cell_rows(2:56982))
bully
# A tibble: 56,980 × 18
   record Bullie…¹ Bulli…² Cyber…³ Custo…⁴ Sex   Physi…⁵ Physi…⁶ Felt_…⁷ Close…⁸
    <dbl> <chr>    <chr>   <chr>   <chr>   <chr> <chr>   <chr>   <chr>   <chr>  
 1      1 Yes      Yes     <NA>    13 yea… Fema… 0 times 0 times Always  2      
 2      2 No       No      No      13 yea… Fema… 0 times 0 times Never   3 or m…
 3      3 No       No      No      14 yea… Male  0 times 0 times Never   3 or m…
 4      4 No       No      No      16 yea… Male  0 times 2 or 3… Never   3 or m…
 5      5 No       No      No      13 yea… Fema… 0 times 0 times Rarely  3 or m…
 6      6 No       No      No      13 yea… Male  0 times 1 time  Never   3 or m…
 7      7 No       No      No      14 yea… Fema… 1 time  0 times Someti… 3 or m…
 8      8 No       No      No      12 yea… Fema… 0 times 0 times Rarely  3 or m…
 9      9 No       No      No      13 yea… Male  1 time  2 or 3… Never   3 or m…
10     10 Yes      No      No      14 yea… Fema… 0 times 0 times Always  0      
# … with 56,970 more rows, 8 more variables: Miss_school_no_permission <chr>,
#   Other_students_kind_and_helpful <chr>, Parents_understand_problems <chr>,
#   Most_of_the_time_or_always_felt_lonely <chr>,
#   Missed_classes_or_school_without_permission <chr>, Were_underweight <chr>,
#   Were_overweight <chr>, Were_obese <chr>, and abbreviated variable names
#   ¹​Bullied_on_school_property_in_past_12_months,
#   ²​Bullied_not_on_school_property_in_past_12_months, …

This 2018 study was conducted by Global School-Based Student Health Survey (GSHS), where 56,981 students from Argentina participated by filling out the questionnaire in regards to their mental health and behavior.4

Code
colnames(bully)
 [1] "record"                                          
 [2] "Bullied_on_school_property_in_past_12_months"    
 [3] "Bullied_not_on_school_property_in_past_12_months"
 [4] "Cyber_bullied_in_past_12_months"                 
 [5] "Custom_Age"                                      
 [6] "Sex"                                             
 [7] "Physically_attacked"                             
 [8] "Physical_fighting"                               
 [9] "Felt_lonely"                                     
[10] "Close_friends"                                   
[11] "Miss_school_no_permission"                       
[12] "Other_students_kind_and_helpful"                 
[13] "Parents_understand_problems"                     
[14] "Most_of_the_time_or_always_felt_lonely"          
[15] "Missed_classes_or_school_without_permission"     
[16] "Were_underweight"                                
[17] "Were_overweight"                                 
[18] "Were_obese"                                      
Code
dim(bully) # 56980 rows and 18 columns
[1] 56980    18
Code
print(dfSummary(bully,
                        varnumbers = FALSE,
                        plain.ascii  = FALSE, 
                        style        = "grid", 
                        graph.magnif = 0.70, 
                        valid.col    = FALSE),
      method = 'render',
      table.classes = 'table-condensed')

Data Frame Summary

bully

Dimensions: 56980 x 18
Duplicates: 0
Variable Stats / Values Freqs (% of Valid) Graph Missing
record [numeric]
Mean (sd) : 28534.9 (16479.7)
min ≤ med ≤ max:
1 ≤ 28521.5 ≤ 57094
IQR (CV) : 28540.5 (0.6)
56980 distinct values 0 (0.0%)
Bullied_on_school_property_in_past_12_months [character]
1. No
2. Yes
43838 ( 78.6% )
11903 ( 21.4% )
1239 (2.2%)
Bullied_not_on_school_property_in_past_12_months [character]
1. No
2. Yes
44263 ( 78.4% )
12228 ( 21.6% )
489 (0.9%)
Cyber_bullied_in_past_12_months [character]
1. No
2. Yes
44213 ( 78.4% )
12196 ( 21.6% )
571 (1.0%)
Custom_Age [character]
1. 11 years old or younger
2. 12 years old
3. 13 years old
4. 14 years old
5. 15 years old
6. 16 years old
7. 17 years old
8. 18 years old or older
48 ( 0.1% )
145 ( 0.3% )
10574 ( 18.6% )
12946 ( 22.8% )
12812 ( 22.5% )
11737 ( 20.6% )
8227 ( 14.5% )
383 ( 0.7% )
108 (0.2%)
Sex [character]
1. Female
2. Male
29361 ( 52.0% )
27083 ( 48.0% )
536 (0.9%)
Physically_attacked [character]
1. 0 times
2. 1 time
3. 10 or 11 times
4. 12 or more times
5. 2 or 3 times
6. 4 or 5 times
7. 6 or 7 times
8. 8 or 9 times
46996 ( 82.8% )
5248 ( 9.2% )
115 ( 0.2% )
790 ( 1.4% )
2405 ( 4.2% )
695 ( 1.2% )
302 ( 0.5% )
189 ( 0.3% )
240 (0.4%)
Physical_fighting [character]
1. 0 times
2. 1 time
3. 10 or 11 times
4. 12 or more times
5. 2 or 3 times
6. 4 or 5 times
7. 6 or 7 times
8. 8 or 9 times
43245 ( 76.3% )
6932 ( 12.2% )
165 ( 0.3% )
939 ( 1.7% )
3650 ( 6.4% )
1028 ( 1.8% )
489 ( 0.9% )
264 ( 0.5% )
268 (0.5%)
Felt_lonely [character]
1. Always
2. Most of the time
3. Never
4. Rarely
5. Sometimes
3120 ( 5.5% )
6422 ( 11.3% )
17931 ( 31.7% )
14427 ( 25.5% )
14714 ( 26.0% )
366 (0.6%)
Close_friends [character]
1. 0
2. 1
3. 2
4. 3 or more
3331 ( 6.0% )
4732 ( 8.5% )
9110 ( 16.3% )
38731 ( 69.3% )
1076 (1.9%)
Miss_school_no_permission [character]
1. 0 days
2. 1 or 2 days
3. 10 or more days
4. 3 to 5 days
5. 6 to 9 days
38654 ( 70.1% )
9738 ( 17.7% )
1468 ( 2.7% )
3925 ( 7.1% )
1331 ( 2.4% )
1864 (3.3%)
Other_students_kind_and_helpful [character]
1. Always
2. Most of the time
3. Never
4. Rarely
5. Sometimes
9710 ( 17.5% )
15820 ( 28.5% )
4775 ( 8.6% )
10966 ( 19.8% )
14150 ( 25.5% )
1559 (2.7%)
Parents_understand_problems [character]
1. Always
2. Most of the time
3. Never
4. Rarely
5. Sometimes
13072 ( 23.9% )
9570 ( 17.5% )
11964 ( 21.9% )
10459 ( 19.2% )
9542 ( 17.5% )
2373 (4.2%)
Most_of_the_time_or_always_felt_lonely [character]
1. No
2. Yes
47072 ( 83.1% )
9542 ( 16.9% )
366 (0.6%)
Missed_classes_or_school_without_permission [character]
1. No
2. Yes
38654 ( 70.1% )
16462 ( 29.9% )
1864 (3.3%)
Were_underweight [character]
1. No
2. Yes
35318 ( 98.0% )
733 ( 2.0% )
20929 (36.7%)
Were_overweight [character]
1. No
2. Yes
25376 ( 70.4% )
10675 ( 29.6% )
20929 (36.7%)
Were_obese [character]
1. No
2. Yes
33396 ( 92.6% )
2655 ( 7.4% )
20929 (36.7%)

Generated by summarytools 1.0.1 (R version 4.2.2)
2023-04-12

Footnotes

  1. https://www.stopbullying.gov/resources/facts↩︎

  2. http://uis.unesco.org/en/news/new-sdg-4-data-bullying↩︎

  3. https://www.ncbi.nlm.nih.gov/books/NBK390414/↩︎

  4. https://www.kaggle.com/datasets/leomartinelli/bullying-in-schools?datasetId=2952457↩︎