Fig. 1.
Checking functional form of the price variable in the logistic regression component of the two-part mixed effects model for the Enhanced Quit & Win data. Panel A: cumulative residuals of the model fitted with untransformed price, p (solid line is for the observed data, dashed lines are 20 random samples of 10,000 simulated datasets based on the tested functional form); Panel B: cumulative residuals of the model fitted with transformed price, log (p + 0.001).