Hello, I’m trying to use proc NLIN to fit a model in which two of the parameters in the model statement live in a function that is recursive with respect to an independent variable. That is, the value that the function takes on IV level N is in part determined by value of that same function on IV level N-1. Is there a standard way to manage this recursive issue within NLIN? Ideally, I’m looking for something analogous to the lag function but that can operate on a newly defined function rather than just on variables in the input dataset. Hope this makes sense. Happy to provide more detail if it will help. Thank you, Tim
... View more