Thyroid function and weight loss