Calculate the salary range to be reported in the final appraisal. This is
used as an internal function in predict_salary
but can be used on it's own.
See Appraisal Process Vignette for detailed information on how this range
is calculated.
Arguments
- samp
output from
select_sample()
- point.value
weighted average salary range from
samp
using 1 -total.dist
as weights
Value
A list with
suggested.range
: vector of minimum and maximum suggested salary rangesamp
: the input data framesamp
with two new columns.residual.percent
is the residual of that observation as a percent of the expected salary.fitted.values
weighted average of all CEO compensation multiplied by (1+residual.percent
)