# Effects of demographic variables on mathematics self-esteem, test anxiety, and achievement in adolescents: a Bayesian beta regression analysis

**Authors:** Ngozi M. Nwoye, Moeketsi Mosia, Felix O. Egara, Tshele Moloi, Moses Basitere

PMC · DOI: 10.3389/fpsyg.2026.1712257 · Frontiers in Psychology · 2026-02-04

## TL;DR

This study explores how self-esteem, test anxiety, and demographics affect math achievement in Nigerian adolescents using Bayesian analysis.

## Contribution

The study introduces Bayesian beta regression to analyze psychological and demographic influences on math achievement in a Nigerian context.

## Key findings

- Mathematics self-esteem positively predicts achievement, while test anxiety negatively affects performance.
- Rural students show higher achievement despite higher test anxiety, and older male students report lower self-esteem.
- Gender, age, and location interactions explain additional variance in self-esteem and achievement.

## Abstract

Mathematics achievement is shaped not only by cognitive skills but also by psychological factors such as self-esteem and test anxiety. Demographic characteristics, including gender, age, and school location, may further moderate these relationships, yet limited research has explored these dynamics in diverse educational contexts. Situated in Nigeria, this study examined how mathematics self-esteem and test anxiety predict mathematics achievement among adolescents, while considering the moderating role of demographic variables.

A cross-sectional design was employed with data collected from 329 secondary school students. Validated instruments measured mathematics self-esteem, mathematics test anxiety, and mathematics achievement. Bayesian beta regression was used to analyse the relationships among psychological and demographic variables, offering a nuanced understanding beyond traditional statistical approaches.

Findings revealed that mathematics self-esteem positively predicted achievement, while test anxiety was negatively associated with performance. Older male students reported lower self-esteem, rural students reported higher test anxiety, and rural students demonstrated higher achievement despite elevated anxiety. Two-way interaction effects involving gender, age, and location accounted for additional variance in mathematics self-esteem and achievement.

The results highlight the complex interplay between psychological and demographic variables in shaping mathematics outcomes. Strengthening students’ self-esteem and addressing test anxiety are essential for promoting equitable learning environments. The findings underscore the importance of demographic context, pointing to the need for targeted interventions and policies that support resilience, reduce anxiety, and enhance adolescent mathematics achievement.

## Full-text entities

- **Genes:** MAT1A (methionine adenosyltransferase 1A) [NCBI Gene 4143] {aka MAT, MATA1, SAMS, SAMS1}
- **Diseases:** SCT (OMIM:300082), Anxiety (MESH:D001007)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12913421/full.md

## Figures

2 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12913421/full.md

## References

54 references — full list in the complete paper: https://tomesphere.com/paper/PMC12913421/full.md

---
Source: https://tomesphere.com/paper/PMC12913421