Analysis of association of risk factors for age-related macular degeneration