SAVF_preferred_rho
computes the preferred rho that minimizes the
squared error between subject matter input desired values and exponentially
fitted scores
SAVF_preferred_rho(desired_x, desired_v, x_low, x_high, rho_low = 0, rho_high = 1)
Elicited input x value(s)
Elicited value score related to elicited input value(s)
Lower bound anchor point (can be different than min(x)
)
Upper bound anchor point (can be different than max(x)
)
Lower bound of the exponential constant search space for a best fit value function
Upper bound of the exponential constant search space for a best fit value function
A single element vector that represents the rho value that best fits the exponential utility function to the desired inputs
SAVF_plot_rho_error
for plotting the rho squared error terms
SAVF_score
for computing the exponential single attribute value score
# Given the single attribute x is bounded between 1 and 5 and the subject matter experts # prefer x values of 3, 4, & 5 provide a utility score of .75, .90 & 1.0 respectively, we # can search for a rho value between 0-1 that provides the best fit utility function: SAVF_preferred_rho(desired_x = c(3, 4, 5), desired_v = c(.75, .9, 1), x_low = 1, x_high = 5, rho_low = 0, rho_high = 1)#> [1] 0.54