Answer:
Sunk cost fallacy
Explanation:
Sunk cost in economics is the cost that is considered to have been incurred and not recoverable by the individual. On the other hand perceived cost are those that the individual anticipates in the future and can take action to avoid.
Ramiro has already invested 3 years in accounting, and though he is doing better in law he does not want to change his major to law because he does not want to waste the 3 years spent as an accounting major.
This is a sunk cost fallacy.