Linear: Linear

Description Usage Arguments Value

Description

Calculates a linear least-squares regression for two sets of measurements. Both arrays should have the same length.

Usage

1
Linear(xss, yss)

Arguments

xss

KHIVA array with the time series.

yss

KHIVA array with the time series.

Value

List with: slope Slope of the regression line. intercept Intercept of the regression line. rvalue Correlation coefficient. pvalue Two-sided p-value for a hypothesis test whose null hypothesis is that the slope is zero, using Wald Test with t-distribution of the test statistic. stderrest Standard error of the estimated gradient.


shapelets/khiva-r documentation built on June 10, 2019, 4:58 a.m.