Such shifts of attitude are the purpose of many of the thought experiments. If you have lost someone or something precious, you can try to value them differently by imagining that you never knew that person, or never owned that object. How can you miss what you never had? A different angle produces a different emotion.

