Answer
You would stay warmer in the igloo.
Work Step by Step
Snow (with its many air pockets) is about as good an insulator as wood. However, you would be warmer in the igloo, with its thicker walls, than in a wooden shack. The wooden walls would also have cracks to let drafts in.
This is discussed on pages 303-304.