what is value function in economics