Matthews et al used the Homeostasis Model Assessment (HOMA) to predict the homeostatic concentrations of fasting insulin and glucose which arise from varying degrees of beta-cell deficiency and insulin resistance. The model is nonlinear but can be approximated by simple mathematical approximations.