Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 90764

Splines are flexible functions, knit together from polynomial parts, used for approximation or smoothing. This tag is for any kind of spline (eg, B-splines, regression splines, thin-plate splines, etc).

6 votes
Accepted

Model comparison for nested regression models that are not symbolically nested

In R: data("lalonde", package = "MatchIt") fit1 <- lm(re78 ~ splines::ns(age, df = 4), data = lalonde) fit2 <- lm(re78 ~ age, data = lalonde) X <- model.matrix(fit1) U <- model.matrix(fit2) UX_fit <- …
Pusto's user avatar
  • 166