Pérez, A., S. Zhang, V. Kipniss, L. S. Freedman, and R. J. Carroll. “Intake_epis_food(): An R Function for Fitting a Bivariate Nonlinear Measurement Error Model to Estimate Usual and Energy Intake for Episodically Consumed Foods”. Journal of Statistical Software, Code Snippets, vol. 46, no. 3, Mar. 2012, pp. 1-17, doi:10.18637/jss.v046.c03.