Sex marginally moderated the mediating relationship between amyloid, tau, and cognitive decline. This evidence concerns the gene MAPT and Mental deterioration.