Marginal Rate of Substitution
Computing the marginal rate of substitution between two goods for a Cobb-Douglas utility.
Question template
An environmental economist is analyzing the trade-off between investing in carbon capture technologies and promoting sustainable agriculture practices. Their utility function for these two activities is utility function. What is the marginal rate of substitution between the two activities? Answer with the ordered pair (MU_x/MU_y, MU_y/MU_x), where MU_x and MU_y are the marginal utilities of x and y (x, y > 0).
Use it
from datasets import load_dataset
ds = load_dataset("narunraman/steer_me", "mrs_utility")curl "https://steer-benchmark.cs.ubc.ca/api/sample?element_name=mrs_utility&n=5&seed=42"
See the Reference for the parameters.