There is another approach to this insulating problem...
A hybrid system, where closed-cell foam is utilized, next to the weather side, for it's better R-value, and also for it's exceptional air sealing qualities. Also used in this system is cellulose, next to the living space side... where it's R3.8/inch provides insulation at a lower cost than closed-cell foam.
There is controversy with such a system, because as moisture-laden air is migrating through the cellulose part of the declining temperature gradient, the possibility exists that the dew point might be reached in the cellulose layer, thus dropping moisture within the wall (or roof).
The fix is to make the closed-cell foam layer thick enough that the moist air will be immobilized before it reaches the dew point.
The last word on this issue seems to be
this document.
-AC_Hacker