The association between energy intake and percentage of energy from carbohydrate , protein , and total fat and rate of weight gain ( grams per month ) was estimated from generalized estimating equation models .