The first step before using the delta_method or parametric_bootstrap functions is to find the optimum parameter values and the parameter covariance matrix. This step can be done using MATLAB's nlinfit ...