I have repeated measures of a serum biomarker in 60 patients. 30 patients had pneumonia and 30 had asthma. Measurements were taken whenever blood was drawn during routine care, not at specific time points (unbalanced data). I have 2-10 measures per person, collected over the space of 1 year of care.

I don't know much about splines, so maybe I am thinking about this in the wrong way. But I want to (1) fit splines to see how the biomarker levels changed over time within each group, and (2) compare the spline of the pneumonia cases to that of the asthma cases to see if they were significantly different. Is that even possible? If so, could anyone cite some procedures used in Stata or SAS?

More Leah Gonzalez Jarlsberg's questions See All
Similar questions and discussions