A logistic weighted regression model was used to assess the association between serum apolipoprotein B concentrations and risk of osteopenia or osteoporosis. Here, APOB is linked to osteoporosis.