Loading...
Loading...
Contributors:
Dataset URI:
10.3389/fpsyg.2026.1970053.s002BackgroundMusic listening is widely believed to index mental health, and this belief underwrites applications inferring psychological state from listening records. We estimated how much information musical preference and listening behavior carry about self-reported distress, and tested whether classification accuracy reported for a widely reused public dataset reflects discriminative skill or class imbalance.MethodsCross-sectional secondary analysis of the Music and Mental Health (MxMH) survey (n = 736), a self-selected online convenience sample collected in 2022 with no probability sampling frame, no design weights, and no measurement of gender, geography, education, income, or clinical history. In total, 42 predictors covering genre exposure, favorite genre, streaming platform, listening hours, tempo preference, and musical engagement were modeled against four single-item, unvalidated self-anchored distress ratings, a secondary composite index, and a self-attributed judgment of whether music improves mental health. Elastic net, support vector machine, random forest, and gradient boosting models were compared against mean-prediction and majority-class baselines using nested cross-validation, corrected t-tests, permutation nulls, and Shapley additive explanations.ResultsOut-of-sample explanatory power was small. Random forests achieved cross-validated R2 values of 0.068 for depression, 0.058 for the composite index, 0.032 for anxiety, and 0.006 or below for insomnia and obsessive–compulsive ratings, exceeding the mean-prediction baseline for all outcomes except insomnia (p = 0.157). Permutation tests separated depression, anxiety, the composite, and obsessive–compulsive ratings from noise, but not insomnia (p = 0.198). For the self-attributed effect of music, the best classifier reached 74.7% accuracy against a majority-class baseline of 74.5% (p = 0.896), while balanced accuracy peaked at 0.551 and the Matthews correlation coefficient at 0.135.ConclusionListening habits carry a real but very small signal about self-reported distress, and apparent accuracy on this dataset is an artifact of class imbalance. Musical preference is not a usable individual-level marker of psychological state. These estimates come from a single, heavily reused, non-representative convenience sample with unvalidated single-item outcomes and no demographic weighting variables, so they characterize this archive rather than any defined population and require independent replication before any specific effect size is treated as settled. Dataset: MxMH survey, Kaggle.
Keyword(s):
Applied Psychology; class imbalance; convenience sample; interpretable machine learning; mental health.
MeSH Term(s):
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
Supplementary Data:
No Supplementary Data Available
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)