Code
library(tidyverse)
::opts_chunk$set(echo = TRUE) knitr
Sai Padma pothula
May 2, 2023
The purpose of this statistical research is to explore the relationship between mental health and academic performance among university students. The dataset was collected through a survey conducted, which asked students about their mental health and current academic situation. The survey collected data on a variety of variables, including students’ grades, their reported mental health status, their level of stress, and their use of mental health resources.The dataset includes demographic information about the students, such as their age, gender, and ethnicity, as well as information about their academic performance, such as their CGPA. It also includes information about their mental health, such as whether they have ever been diagnosed with a mental health condition, whether they are currently experiencing symptoms of anxiety or depression, and whether they have sought out mental health resources in the past.
Research Questions
1.why is there a significant correlation between mental health status and CGPA among university students? 2.How does the use of mental health resources, such as counselling or therapy, have a positive impact on academic performance? 3. How does demographic factors, such as gender or ethnicity, influence the relationship between mental health and academic performance?
Hypothesis
There is a significant correlation between poor mental health status and CGPA among university students. Since CGPA is used as academic performance.
Demographic factors such as gender, ethnicity,course can impact the relationship between mental health status and academic performance, with certain groups being more vulnerable to poor mental health outcomes.
Descriptive statistics
This dataset has 101 rows, 11 columns and 44 missing values
timestamp: indicates the date and time when the survey was completed by the respondent.
Choose your gender : is a categorical variable that indicates the respondent’s gender.
Age: is a numerical variable that indicates the respondent’s age in years.
What is your course: is a categorical variable that indicates the respondent’s academic program or field of study.
Your current year of Study: is a categorical variable that indicates the respondent’s current year of study in their academic program.
What is your CGPA: is a numerical variable that indicates the respondent’s cumulative grade point average.
Marital status: is a categorical variable that indicates the respondent’s current marital status.
Do you have Depression: is a categorical variable that indicates whether the respondent has ever been diagnosed with or experienced symptoms of depression.
Do you have Anxiety: is a categorical variable that indicates whether the respondent has ever been diagnosed with or experienced symptoms of anxiety. Do you have Panic attack: is a categorical variable that indicates whether the respondent has ever been diagnosed with or experienced symptoms of panic attacks.
Did you seek any specialist for treatment: is a categorical variable that indicates whether the respondent has sought out any specialist for treatment related to their mental health issues. The variable includes a brief description of the types of specialists sought out by the respondents.
[1] "Timestamp"
[2] "Choose your gender"
[3] "Age"
[4] "What is your course?"
[5] "Your current year of Study"
[6] "What is your CGPA?"
[7] "Marital status"
[8] "Do you have Depression?"
[9] "Do you have Anxiety?"
[10] "Do you have Panic attack?"
[11] "Did you seek any specialist for a treatment?"
[1] "Timestamp"
[2] "Choose your gender"
[3] "Age"
[4] "What is your course?"
[5] "Your current year of Study"
[6] "What is your CGPA?"
[7] "Marital status"
[8] "Do you have Depression?"
[9] "Do you have Anxiety?"
[10] "Do you have Panic attack?"
[11] "Did you seek any specialist for a treatment?"
Rows: 101
Columns: 11
$ Timestamp <chr> "8/7/2020 12:02", "8/7/…
$ `Choose your gender` <chr> "Female", "Male", "Male…
$ Age <dbl> 18, 21, 19, 22, 23, 19,…
$ `What is your course?` <chr> "Engineering", "Islamic…
$ `Your current year of Study` <chr> "year 1", "year 2", "Ye…
$ `What is your CGPA?` <chr> "3.00 - 3.49", "3.00 - …
$ `Marital status` <chr> "No", "No", "No", "Yes"…
$ `Do you have Depression?` <chr> "Yes", "No", "Yes", "Ye…
$ `Do you have Anxiety?` <chr> "No", "Yes", "Yes", "No…
$ `Do you have Panic attack?` <chr> "Yes", "No", "Yes", "No…
$ `Did you seek any specialist for a treatment?` <chr> "No", "No", "No", "No",…
# A tibble: 6 × 11
Timest…¹ Choos…² Age What …³ Your …⁴ What …⁵ Marit…⁶ Do yo…⁷ Do yo…⁸ Do yo…⁹
<chr> <chr> <dbl> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
1 8/7/202… Female 18 Engine… year 1 3.00 -… No Yes No Yes
2 8/7/202… Male 21 Islami… year 2 3.00 -… No No Yes No
3 8/7/202… Male 19 BIT Year 1 3.00 -… No Yes Yes Yes
4 8/7/202… Female 22 Laws year 3 3.00 -… Yes Yes No No
5 8/7/202… Male 23 Mathem… year 4 3.00 -… No No No No
6 8/7/202… Male 19 Engine… Year 2 3.50 -… No No No Yes
# … with 1 more variable: `Did you seek any specialist for a treatment?` <chr>,
# and abbreviated variable names ¹Timestamp, ²`Choose your gender`,
# ³`What is your course?`, ⁴`Your current year of Study`,
# ⁵`What is your CGPA?`, ⁶`Marital status`, ⁷`Do you have Depression?`,
# ⁸`Do you have Anxiety?`, ⁹`Do you have Panic attack?`
---
title: "Final_checkIn"
author: "Sai Padma pothula"
desription: ""
date: "05/02/2023"
format:
html:
toc: true
code-fold: true
code-copy: true
code-tools: true
categories:
- Final checkIn 1
- sai Pothula
---
```{r}
#| label: setup
#| warning: false
library(tidyverse)
knitr::opts_chunk$set(echo = TRUE)
```
The purpose of this statistical research is to explore the relationship between mental health and academic performance among university students. The dataset was collected through a survey conducted, which asked students about their mental health and current academic situation. The survey collected data on a variety of variables, including students' grades, their reported mental health status, their level of stress, and their use of mental health resources.The dataset includes demographic information about the students, such as their age, gender, and ethnicity, as well as information about their academic performance, such as their CGPA. It also includes information about their mental health, such as whether they have ever been diagnosed with a mental health condition, whether they are currently experiencing symptoms of anxiety or depression, and whether they have sought out mental health resources in the past.
Research Questions
1.why is there a significant correlation between mental health status and CGPA among university students?
2.How does the use of mental health resources, such as counselling or therapy, have a positive impact on academic performance?
3. How does demographic factors, such as gender or ethnicity, influence the relationship between mental health and academic performance?
Hypothesis
There is a significant correlation between poor mental health status and CGPA among university students. Since CGPA is used as academic performance.
Demographic factors such as gender, ethnicity,course can impact the relationship between mental health status and academic performance, with certain groups being more vulnerable to poor mental health outcomes.
Descriptive statistics
This dataset has 101 rows, 11 columns and 44 missing values
timestamp: indicates the date and time when the survey was completed by the respondent.
Choose your gender : is a categorical variable that indicates the respondent's gender.
Age: is a numerical variable that indicates the respondent's age in years.
What is your course: is a categorical variable that indicates the respondent's academic program or field of study.
Your current year of Study: is a categorical variable that indicates the respondent's current year of study in their academic program.
What is your CGPA: is a numerical variable that indicates the respondent's cumulative grade point average.
Marital status: is a categorical variable that indicates the respondent's current marital status.
Do you have Depression: is a categorical variable that indicates whether the respondent has ever been diagnosed with or experienced symptoms of depression.
Do you have Anxiety: is a categorical variable that indicates whether the respondent has ever been diagnosed with or experienced symptoms of anxiety.
Do you have Panic attack: is a categorical variable that indicates whether the respondent has ever been diagnosed with or experienced symptoms of panic attacks.
Did you seek any specialist for treatment: is a categorical variable that indicates whether the respondent has sought out any specialist for treatment related to their mental health issues. The variable includes a brief description of the types of specialists sought out by the respondents.
```{r}
library(tidyverse)
library(readr)
library(ggplot2)
```
```{r}
health <- read_csv("~/Desktop/practice/601/603_Spring_2023/posts/_data/student_mental.csv", show_col_types = FALSE)
```
```{r}
colnames(health)
```
```{r}
colnames(health)
```
```{r}
glimpse(health)
```
```{r}
head(health)
```
```{r}
```