Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果平滑样条只是一个自然三次样条,每个唯一值都有结x_i。那么为什么gam::s()在 R 中需要一个自由度呢?
x_i
gam::s()
因为它是平滑而不是插值。自由度表明您想要拟合样条曲线的复杂程度。