Example of hierarchical Bayesian model to estimate APOE4 genotype of a subject based on the age and age of AD onset of the subject and his parents and grandparents. The gene discussed is APOE; the disease is Alzheimer disease.