parametros_NBR: Based on a dataframe containing the estimated values, returns...

amplitudeR Documentation

Based on a dataframe containing the estimated values, returns amplitude according to NBR14.653-2

Description

Amplitude according to NBR14.653-2.

Precision degree based on NBR14.653-2.

Interval of arbitration according to NBR14.653-2.

Interval evaluation based on NBR14.653-2.

Usage

amplitude(Y)

g_precisao(amplitude)

campo_arbitrio(Y)

aval_intervalar(Y)

Arguments

Y

dataframe with Y_hat values with confidence/prediction bestfit

amplitude

a vector containing the amplitudes of the estimations bestfit

Value

a vector containing the amplitudes of the Y_hat in %

a vector containing the precision degrees of the estimations.

a vector containing the interval of arbitration according to NBR14.653-2.

a vector containing interval evaluation according to NBR14.653-2.

Examples

dados <- st_drop_geometry(centro_2015)
fit <- lm(log(valor) ~ ., data = dados)
require(dplyr)
aval <- dados %>% filter(is.na(valor))
Y_hat <- predict(object = fit, interval = "confidence", newdata = aval)
Y_hat <- inverse(Y_hat, "log")
amp <- amplitude(Y_hat)
amp
g_precisao(amp)
campo_arbitrio(Y_hat)
aval_intervalar(Y_hat)

lfpdroubi/appraiseR documentation built on April 14, 2024, 10:27 p.m.