taborlab / FlowCal

Python Flow Cytometry Calibration Library
MIT License
48 stars 23 forks source link

Use uncertainty in bead population statistic as weights for least squares regression #177

Open castillohair opened 8 years ago

castillohair commented 8 years ago

Oleg suggested that the standard curve fits could be improved if some measure of estimation uncertainty of the population statistic be used as part of a weighted least squares regression method during the standard curve fitting step. For example, if the statistic of population x is the mean, the uncertainty is given by std(x)/sqrt(n).

Two things that would have to be addressed as part of this issue:

JS3xton commented 8 years ago

In general, I agree with this idea, although I feel like it may not change much.

Practically speaking, I think this would require redoing the interface between fitting functions and mef.get_transform_fxn.