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.
'loess' 在 R 'stats' 包中实现,'locfit' 在 'locfit' 包中实现。它们都是使用局部回归的非参数回归方法。两种方法有什么区别?
根据这个介绍,看起来 locfit 是 loess 的泛化,实际上您可以使用 locfit 获得 loess 拟合,但 locfit 还有其他选项来拟合更一般的模型,包括逻辑回归样式拟合和一般密度估计。它也可以拟合黄土风格的模型,但使用不同的加权公式甚至是不同的带宽。