Harvtest V1.4 Apr 2026

It is frequently used alongside other diagnostic tools like the Breusch-Pagan test (for heteroskedasticity) and the Durbin-Watson test (for autocorrelation). Related "Harvest" Software

It performs a t-test on recursive residuals. If the relationship is non-linear, the mean of these residuals will differ significantly from zero. Hypothesis: Null Hypothesis ( H0cap H sub 0 ): The true relationship is linear. Alternative Hypothesis ( H1cap H sub 1 ): The relationship is non-linear (convex or concave). HARVTEST V1.4

In R, the function harvtest(formula, order.by = NULL, data = list()) is used to execute the test. Key Components and Usage It is frequently used alongside other diagnostic tools

The test returns an htest object containing the t-statistic , the p-value , and the degrees of freedom . Hypothesis: Null Hypothesis ( H0cap H sub 0

The test is used to determine if the relationship between variables in a linear regression model is truly linear or if it is instead convex or concave.