Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Spline to m. module for user convenience #15

Open
wwells opened this issue Jan 9, 2017 · 0 comments
Open

Add Spline to m. module for user convenience #15

wwells opened this issue Jan 9, 2017 · 0 comments

Comments

@wwells
Copy link
Contributor

wwells commented Jan 9, 2017

From PFA.general Slack:

srki [6:11 AM]
Yes, it is clear for the polynomial regression. But if we need for instance to feet a smoothing spline function (smooth.spline {stats} from R) which is not straightforward to compute, we would practically need to translate the code of smooth.spline() into PFA expression using available PFA functions, right?

pivarski [1:21 PM]
Yes. I didn't think of "canning" spline functions as named PFA callables, but that's not a bad idea. If I remember right, spline handle positions are something like a factor of three bigger or smaller than a tangent line to the curve at the control point. It's derivable, but maybe not fun to derive. That would be a good candidate addition to the "m." (math) module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant