Calculate point value and range for salary appraisal. This function is used to calculated Step 3 in the Appraisal Process Vignette.
See Appraisal Process Vignette for detailed explanation on how these values are calculated
Arguments
- samp
output from
select_sample()
Value
A list with
point.value
: the weighted average of CEO compensation using inverse distance as weights,salary.range
: vector of minimum and maximum suggested salary rangesample
: 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
ispoint.value
*(1+residual.percent
).