Study explores paths to religious beliefs among underrepresented communities