Skip to main content
8 events
when toggle format what by license comment
Jan 12, 2022 at 16:31 comment added mathemagician617 @flinty thank you
Jan 11, 2022 at 7:59 comment added Ulrich Neumann @flinty Where did you find Method -> "Procedural" ?
Jan 10, 2022 at 10:33 comment added flinty @mathemagician617 in what way is it not working well? I took your changes and they produce an upper bound which is mostly okay on the right but too conservative on the initial left slope. If the fit is the problem, you should probably look for a better model for the upper bound, and your data are heteroskedastic which is a common cause of problems in regressions.
Jan 9, 2022 at 15:52 comment added mathemagician617 I'm now trying to change this to an upper bound. It isn't working well currently. Do you have any suggestions? I've modified the code by changing the residual function to this: residual[f_, data_, penalty_] := Sum[With[{fy = f[p[[1]]], y = p[[2]], x = p[[1]]}, Piecewise[{{(y - fy)^2, y <= fy}}, Exp[penalty*(y - fy)]]], {p, data}, Method -> "Procedural"]
Jan 6, 2022 at 23:01 vote accept mathemagician617
Jan 6, 2022 at 22:54 comment added mathemagician617 Thank you very much this was very helpful
Jan 6, 2022 at 22:42 history edited flinty CC BY-SA 4.0
added 204 characters in body
Jan 6, 2022 at 22:29 history answered flinty CC BY-SA 4.0