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

Ch7 9(d) bs(4) has *ONE* knot #95

Open
SONGDONGYUAN1994 opened this issue Apr 18, 2018 · 1 comment
Open

Ch7 9(d) bs(4) has *ONE* knot #95

SONGDONGYUAN1994 opened this issue Apr 18, 2018 · 1 comment

Comments

@SONGDONGYUAN1994
Copy link

  1. First, bs(4) should have only ONE knot;
  2. Second, it seems like when adding both df and knot in bs(), the result is not just ignoring knot.
@leowang396
Copy link

agreed.

also, plot of cubic spline fit with 4 degrees of freedom behaves quite well at extreme dis values, not showing the wiggly tails in seen in the proposed answer.

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

No branches or pull requests

2 participants