linearest | R Documentation |
Determination of maximum technical efficiency (MTE) and plateau regression.
linearest(indep, dep, type = NULL, alpha = 0.05, verbose = FALSE)
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. |
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}
Willyan Junior Adorian Bandeira
Ivan Ricardo Carvalho
Murilo Vieira Loro
Leonardo Cesar Pradebon
Jose Antonio Gonzalez da Silva
library(EstimateBreed)
data("mtcars")
met<-with(mtcars,linearest(wt,mpg,type = "MTE",verbose=TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.