Baseline LDL cholesterol was directly measured , lipoprotein particle concentrations and size were measured by nuclear magnetic resonance spectroscopy , and apolipoproteins were measured by immunoassay .