get_activity_cost_sensitivity

Get the cost sensitivity information for an activity. 

Cost sensitivity is measured by three sensitivity measures, as follows:

  • Cruciality index (r): correlation between the activity cost and the total project cost using the Pearson's product-moment correlation coefficient.
  • Cruciality index (rho): correlation between the activity cost and the total project cost using the Spearman's rank correlation coefficient.
  • Cruciality index (tau): correlation between the activity cost and the total project cost using the Kendall's tau rank correlation coefficient.

These sensitivity measures are only available when the sensitivity parameter of the P2Simulator:run_simulation has been set to 1 during its execution.

Parameters: 
I/O Type Name Description
input integer ID activity ID
output float CRI(r) cruciality index using Pearson’s product moment
output float CRI(rho) cruciality index using Spearman's rank correlation
output float CRI(tau) cruciality index using Kendall's tau rank correlation
Learn More: 

Step inside PMKC.

Example: 
function ()
        io.write('\n')
end
Class: 
P2Simulator