Closed quantifish closed 7 years ago
In SS, it's done with a steep logistic curve, something like:
S(x) = S1(x)(1-L(x) )+ S_2(x)_L(x)
where S_1 and S_2 are the x
Buck
All models are wrong, some are useful.--G.E.P. Box Beware of geeks bearing equations. --W. Buffett
Disclaimer: The opinions expressed above are personal and do not necessarily reflect official NOAA policy.
On Thu, Aug 6, 2015 at 6:49 PM, Darcy Webber notifications@github.com wrote:
Here's an ADMB question for ya'll. I've written the double normal selectivity function as
template<class T, class T2> inline const T pdubnorm(const T &x, const T2 &sL, const T2 &s50, const T2 &sR) { T selex = pow(2,-pow((x-sL)/sL,2)); // if x <= s50 T selex = pow(2,-pow((x-sR)/sL,2); // if x > s50 return selex; }
Obviously this won't work, but I am wondering if there is some elegant ADMB function for specifying the if statement that I've commented out at the right???
— Reply to this email directly or view it on GitHub https://github.com/seacode/gmacs/issues/145.
Here's an ADMB question for ya'll. I've written the double normal selectivity function as
Obviously this won't work, but I am wondering if there is some elegant ADMB function for specifying the if statement that I've commented out at the right???
Also, need to get coefficients working.