I have a large dataset where i need to do NLS estimation on different segments of the data.
I want to loop trough the data, but the NLS function i have specified and sometimes creates and error (which is logical when u look at the data).
However, is there a way just to move on if NLS produces an error? (or specify another function if the first function is too complex?)