Obsessive-Compulsive Symptoms in Medical Students

Published: 3 April 2023| Version 1 | DOI: 10.17632/kdd29rfmv8.1
William Barzola


The database used for the cross-sectional study called "Knowledge about COVID-19 and obsessive-compulsive symptoms in Peruvian medical students: An online-based cross-sectional study".


Steps to reproduce

The participants were included from each of the seven years of medical school, which correspond to pre-clinical years (first to third year), clinical years (fourth to sixth year), and medical internship (seventh year). A total of 271 individuals were selected by convenience sampling according to the number of students in each stage of medical school, which were found in the Statistical Compendium 2021. After providing their informed consent, medical students completed an anonymous online-based questionnaire sent through their institutional emails. Those who agreed to be involved in the study answered the anonymous online-based questionnaires sent through a Google form. Those students who were minors or had a previous diagnosis of OCD were excluded from our study. Self-reported information was obtained about sociodemographic. In addition, history of mental disorders, history of COVID-19, family history of mental disorders, family history of death by COVID-19 and/or who had suffered from the disease, were considered. Furthermore, the degree of exposure to social media about SARS-CoV-2 infection and the main information source were assessed. The degree of knowledge about COVID-19 was evaluated through the Scale of Knowledge about COVID-19 (KNOW-P-COVID-19). The Yale-Brown Obsessive-Compulsive Disorder Scale (Y-BOCS) is a semi-structured questionnaire widely used to estimate the proportion and severity of obsessive-compulsive symptoms, regardless the amount or content of these symptoms. The information was encoded in Microsoft Excel 365 and could be only accessed by researchers. Descriptive analyses were performed using frequencies for categorical variables and mean and standard deviation for numerical variables with normal distribution. In case of not being normally distributed, the median and interquartile range (IQR) were employed. Further, a chi-square test was conducted to determine the factors associated with obsessive-compulsive symptoms. Before conducting the analysis, some variables were dichotomized, such as age (based on the mean or median), people with whom they live (Alone or Non alone), history of mental disorder (Yes or No), and family history of mental disorder (Yes or No). Finally, a correlational analysis was performed between the ordinal variables which resulted significant from the bivariate analysis and the dependent variable. After evaluating the assumptions for this hypothesis test, Spearman's nonparametric ρ correlation test was conducted. The correlation coefficients were reported with a 95% confidence level and a value of p<0.05 for statistical significance. The statistical package SPSS v. 26.0 was used to perform all the described analyses.


Universidad Nacional Mayor de San Marcos Facultad de Medicina de San Fernando


Mental Health, Obsessive-Compulsive Disorder Symptoms, COVID-19