Generalized estimating equation analyses revealed that both interventions improved attitudes toward people living with human immunodeficiency syndrome ( HIV ) / AIDS and the HIV test and increased HIV/sexually transmitted infection knowledge and intention to engage in safer sex behaviors compared with the CG .