What determines whether a compound modal proposition is affirmative or negative?

The Seven Compound Modalities and the Negations of Permanence and Necessity