Inferring the Evolutionary Histories of Stars and Their Planets