linearest: Estimates using polynomial equations.

View source: R/linearest.R

linearestR Documentation

Estimates using polynomial equations.

Description

Determination of maximum technical efficiency (MTE) and plateau regression.

Usage

linearest(indep, dep, type = NULL, alpha = 0.05, verbose = FALSE)

Arguments

indep

Name of the column with the independent variable.

dep

Name of the dependent variable column

type

Type of analysis to be carried out. Use 'MTE' to extract the maximum technical efficiency or 'plateau' for plateau regression.

alpha

Significance of the test.

verbose

Logical argument. Runs the code silently if FALSE.

Value

Calculates the maximum technical efficiency (MTE) based on a quadratic polynomial model, if it is significant. The MTE is given by:

MTE = -\frac{\beta_1}{2\beta_2}

It also calculates plateau regression parameters, returning: - The plateau value:

Y_{plateau} = \beta_0 + \beta_1 X_{plateau} + \beta_2 X_{plateau}^2

- The growth rate:

\beta_1

- The inflection point:

X_{inflection} = -\frac{\beta_1}{2\beta_2}

Author(s)

Willyan Junior Adorian Bandeira

Ivan Ricardo Carvalho

Murilo Vieira Loro

Leonardo Cesar Pradebon

Jose Antonio Gonzalez da Silva

Examples

library(EstimateBreed)
data("mtcars")

met<-with(mtcars,linearest(wt,mpg,type = "MTE",verbose=TRUE))

EstimateBreed documentation built on June 8, 2025, 10:53 a.m.