See title. Seems like a harmless equation to reveal, but is near impossible to derive from experiment.
Each month a rebel faction has a chance to make progress towards a full-scale rebellion. The monthly chance that a rebel faction's progress will increase by 10% depends on the amount of unrest in all provinces associated with that faction and the national unrest; maxing out at 75% progress chance. Rebel progress can be found in the tooltip for that faction's progress in the Stability and Expansion tab. If the faction's progress reaches 100%, it will go into open rebellion and spawn troops in some of the provinces that had positive unrest. The tooltip for each faction's progress shows the current progress, monthly chance to increase it, the unrest in all provinces associated with that faction that have unrest greater than 0, and the estimated time until the progress reaches 100% and rebels are spawned.
If none of the provinces supporting a rebel faction has positive unrest, its accumulated progress will begin to decay by 10% per month thereafter. If unrest is then increased for any reason, the faction will resume gaining progress towards rebellion.
It is possible to reduce a rebel faction's progress to 0 at any time by accepting their demands. This will also remove any troops that faction has spawned. The demands are generally quite unpleasant, however, so this is usually an undesirable option unless the rebels have already rebelled or are on the verge of doing so.
It is also possible to check the country's subject's rebellion progress by ticking the box next to the current national unrest on the rebellion's page.
A - Yes B - Yes C - Yes --- (0.15*0.10*0.05) = 0.00075
A - No B - Yes C - Yes --- (0.85*0.10*0.05) = 0.00425
...etc...
Pretty sure it's just a simple probability function with the chance of success being the sum of all possible successful outcomes' probability.
In other words, if there are three provinces with corresponding unrest:
Province A - 15
Province B - 10
Province C - 5
Then you'd sum up the probabilities of the following outcomes of the D100 die roll being equal to or higher than the unrest level in each province.
Outcomes:
Code:A - Yes B - Yes C - Yes --- (0.15*0.10*0.05) = 0.00075 A - No B - Yes C - Yes --- (0.85*0.10*0.05) = 0.00425 ...etc...
And iterate through all possible 2^n combinations of success/fail on the die rolls where n = number of provinces, summing probability of all successful outcomes.