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
sampusing 1 -total.distas weights
Value
A list with
suggested.range: vector of minimum and maximum suggested salary rangesamp: the input data framesampwith two new columns.residual.percentis the residual of that observation as a percent of the expected salary.fitted.valuesweighted average of all CEO compensation multiplied by (1+residual.percent)