Which is these factors is the best predictor for good health and longevity? Smoking, race, income, education, diet, exercise, BMI, and health insurance.
According to this NY Times article, it is education. You don't have to attend college to know that smoking is bad for your health, so the causal mechanism is a little mysterious.
There are more comments here. Steve Sailor says that correlations with IQ were ignored.