Magnesium deficiency is related to decreased PTH and vitamin D levels. Here, PTH is linked to nutritional disorder.