Skip to content

probability-management/ChanceCalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChanceCalc

What is ChanceCalc?

ChanceCalc+ is an Excel add-in that creates models that use the Data Table function to simulate uncertain outcomes either by reading Stochastic Libraries or performing Monte Carlo simulation.

The models created with ChanceCalc do not require the add-in to run and may be shared with any Excel user.

Why does it exist?

Many Excel users represent uncertain assumptions as single average inputs. This leads to a set of systematic errors known as the Flaw of Averages. Models built with ChanceCalc+ can cure these errors, leading to better decisions in the face of uncertainty.

Who should use it?

Anyone using Excel who is uncertain about their input assumptions.

Quick video demo

See the Introduction to ChanceCalc video at the ProbabilityManagement YouTube channel.

Requirements

Microsoft Excel

Brief Explanation of files in src\ folder:

Installation

  • Download the ZIP archive with the current version of ChanceCalc from here
  • Unzip the archive to any convenient folder
  • Activate the ChanceCalc add-in as follows:
    • Start Excel
    • Open the Excel Add-ins manager
      • On Windows
        • Open or create an Excel workbook
        • Press Alt-T-I
      • On Macintosh
        • Click Tools on the menu
        • Click Excel Add-ins... on the Tools sub-menu
    • The Add-ins manager displays a list of available and installed add-ins
    • Remove any existing ChanceCalc or SIPmath add-ins
      • if any add-ins in the list named ChanceCalc or SIPmath are checked, uncheck them
    • Press the Browse... button
      • Browse to the folder where the ChanceCalc files were installed
      • Find and select the file ChanceCalc_Plus.xlam
      • Press OK to close the Browse dialog
    • The ChanceCalc add-in should now be checked in the list of available add-ins
    • Press OK to close the add-ins manager.

Documentation

Tutorials and guides are available in the docs/ folder:

Examples

Example models are available in the examples/ folder demonstrating various use cases:

FAQ

  • I get the error “Compile error: method or data member not found”, what should I do?

    • Make sure ActiveX controls are enabled as described here.
  • ChanceCalc worked once, but now it has stopped working.

    • Make sure that the ChanceCalc add-in (XLAM) file is "unblocked". To do so:
      • Quit Excel, making sure all open excel files are closed.
      • Find the ChanceCalc add-in (XLAM) file in Windows Explorer
      • Right-click on the add-in file to open the context menu
      • Select the "Properties" menu item to open the "Properties" dialog.
      • Look for a check box named "Unblock" At the bottom of the "Properties" dialog; check it on.
        • If there is no check box, then the file is already unblocked.
      • Press OK.

Using ChanceCalc

Title

Contents

Introduction

ChanceCalc Tab

ChanceCalc Ribbon

SIP Input dialog

Graphs

Chance of Whatever

Average, Std Dev, Percent

Tail Risk

Save as CSV

Trial Info

Settings | Simulation

Settings | Formatting & Diagnostic

Settings | Advanced

Metalog Tab

Metalog Ribbon

Metalog Interface

Metalog Interface - cont'd

SIPmath mode, to Clipboard button

SIPmath mode, to File button

to Excel mode, Paste to Excel

to Excel mode, Link to Excel

Monte Carlo Tab

Monte Carlo Ribbon

Appendix 1: Troubleshooting

Appendix 2: Lambda Functions

Lambda Functions, cont'd

HDR and M.SPT_u functions

Contributing

Please see CONTRIBUTING.md for guidelines on how to contribute to this project.

License

This project is licensed under the MIT License

About

Stochastic modeling tools for Excel

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors