arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.06266stat.MEstat.CO
收藏

R软件包knnwtsim:具有定制相似性度量的非参数预测

The R Package knnwtsim: Nonparametric Forecasting With a Tailored Similarity Measure

Matthew Trupiano

摘要:

R包knnwtsim提供了使用相似性度量来实现k近邻(KNN)预测的功能,该相似性度量针对预测响应序列的未来观测的预测问题而定制,其中最近的观测、季节性或周期性模式以及一个或多个外生预测因子的值都具有预测新响应点的预测值。本文将介绍感兴趣的相似性度量,以及knnwtsim中用于计算、调整并最终在KNN预测中使用它的函数。该软件包可能是特别有价值的预测问题的响应和预测之间的函数关系是不恒定的或分段的,从而可以违反流行的替代品的假设。此外,在开发和测试这一方法时使用的真实世界和模拟时间序列数据集都已随软件包提供。

英文摘要:

The R package knnwtsim provides functions to implement k nearest neighbors (KNN) forecasting using a similarity metric tailored to the forecasting problem of predicting future observations of a response series where recent observations, seasonal or periodic patterns, and the values of one or more exogenous predictors all have predictive value in forecasting new response points. This paper will introduce the similarity measure of interest, and the functions in knnwtsim used to calculate, tune, and ultimately utilize it in KNN forecasting. This package may be of particular value in forecasting problems where the functional relationships between response and predictors are non-constant or piece-wise and thus can violate the assumptions of popular alternatives. In addition both real world and simulated time series datasets used in the development and testing of this approach have been made available with the package.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑