Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 2
    $\begingroup$ Perfect as far as what I was hoping for. It is amazing how well the data matches the curve. Thank you! $\endgroup$ Commented Sep 16, 2013 at 21:31
  • $\begingroup$ @whuber You wrote $a>0$ and $s>0$, does the R code that you wrote respect these constraints? $\endgroup$ Commented Oct 8, 2014 at 8:36
  • 1
    $\begingroup$ @uvts That's a good question. $s\gt 0$ is not a constraint because the model for $-s$ is the same as that for $s$: this is just a way of assuring identifiability of $s$. Rather than constrain $a$ to be non-negative (which could be done) I find it both more informative and more general to allow the optimizer to fit the best unconstrained value of $a$ it can. $\endgroup$ Commented Oct 8, 2014 at 14:31