Following the comments by Moore and Zeigler on the analogy between the analysis of quantal responses and non-linear regression, the analogy between the former and linear weighted regression is ...
Learn the NumPy trick for generating synthetic data that actually behaves like real data.