The protective effect of obesity on osteoporosis was complicated by the effect of obesity on vitamin D and PTH. This evidence concerns the gene PTH and osteoporosis.