When utilizing this test within a regression diagnostic workflow, the following parameters and outputs are typical: formula : A symbolic description of the model to be tested.
order.by : An optional vector or formula to order observations (crucial for time-series data). HARVTEST V1.4
The test returns an htest object containing the t-statistic , the p-value , and the degrees of freedom . When utilizing this test within a regression diagnostic
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). It performs a t-test on recursive residuals
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
If "HARVTEST V1.4" refers to a different utility, it may be confused with: Harvest: Time Tracking Software With Invoicing
In R, the function harvtest(formula, order.by = NULL, data = list()) is used to execute the test. Key Components and Usage