Libraries table
This table lists the 46 Analytica libraries described in these docs. A library contains functions (and sometimes other objects) that you can add to any model to extend Analytica's built-in functions.
- Sort the table by clicking a column heading, for example by Type or Topic.
- Browse by topic on the Examples and libraries by topic page.
- Search for a keyword with your browser's Find (Ctrl+F).
- Installed means the library is in the Libraries folder of your Analytica installation. To add it to your model, select Add Library... from the File menu. See Standard libraries.
- For other libraries, use the Download file link, save the file, then use Add Library... to add it to your model. See Additional libraries.
For example models, see the Examples table. To create your own library, see User-defined Functions and Libraries.
| Name (link to page) | Type | Description | Topic | Download file | Size KB |
|---|---|---|---|---|---|
| ACP style library | Library, Installed | Customize how your model looks in Analytica Cloud Platform (ACP) through a GUI, instead of typing style attributes by hand. | Modeling tools, User interface | ACP style library | 348 |
| Apportion | Library | Aggregates or disaggregates an array from one index to another of any size, apportioning values proportionally. Contributed by EPRI. | Arrays | Apportion | 2 |
| Base Conversion Function Library | Library, Installed | Converts between binary, octal, decimal and hexadecimal, equivalent to the Excel functions of the same names. | Mathematics and science | Base Conversion Library | 10 |
| Bayes function library | Library, Installed | Computes posterior probabilities with Bayes' rule from a complete discrete joint array of prior probabilities. | Bayesian methods, Statistics, Uncertainty | Bayes Function | 4 |
| Cell Icon Set Library | Library | Pre-curated icon sets for table cells that automatically pick the icon that depicts each value. | Graphing and visualization | Cell Icon Set Library | 611 |
| Continuous distributions library | Library, Installed | Some additional continuous univariate distributions. | Probability distributions, Statistics | Installed | |
| Data Standardization Library | Library | Maps inconsistent values in imported data onto standard values you choose. | Data import and cleaning | Data Standardization Library | 8 |
| Database library | Library | Create, read, update, examine and delete database tables without writing SQL. Works with Access, SQL Server, MariaDB and PostgreSQL. Includes a demo model. | Data import and cleaning | Database library Database library demo |
75 105 |
| DB Conversion Library | Library | Embeds data from a database into the model, so you can share it with someone who doesn't have the database. | Data import and cleaning | Db conversion lib | 7 |
| Decision tree library | Library | Build decision trees in Analytica and calculate the value of each node. Includes the party problem example. | Decision analysis | Decision Tree library Decision Tree party problem |
754 946 |
| Distribution Densities Library | Library, Installed | Analytic density, cumulative and inverse cumulative functions for all built-in distributions and a few others, such as F, Wishart and Gaussian. | Probability distributions, Statistics | Distribution Densities | 33 |
| Distribution variations library | Library, Installed | Alternative parameterizations of built-in distributions, and other common distributions that are simple transformations of them. | Probability distributions, Statistics | Distribution Variations | 21 |
| Expand Index | Library, Installed | A Change Index function that re-indexes an array onto another index, e.g., to combine cash flows over different time periods. | Arrays, Finance and NPV | Expand Index | 4 |
| Expected value of information library | Library | Efficiently estimates the expected value of perfect and sample information (EVPI, EVSI) using Latin hypercube simulation. | Uncertainty, Value of information | Expected value of info lib Expected value of info lib with examples |
8 44 |
| Financial library | Library, Installed | Corporate finance functions such as Black-Scholes option values, CAPM, adjusted cost of capital and bond pricing. (Standard Excel-like financial functions are built in.) | Finance and NPV | Financial Library | 23 |
| Flat File Library | Library, Installed | Reads and writes data between Analytica arrays and comma-separated (CSV) files. | Data import and cleaning | Flat File Library | 5 |
| Garbage Bin | Library, Installed | A recycle bin module for your model: drag objects into it instead of deleting them, and retrieve them if needed. | Modeling tools | Garbage Bin | 7 |
| GCD function library | Library | Two functions for computing the greatest common divisor. | Mathematics and science | GCD function library | 2 |
| Genie Library | Library | Connects Analytica to the Genie Bayesian network tool. Currently documented for Lumina developers only. | AI and machine learning, Bayesian methods, Statistics | Genie library | 45 |
| Hubbard HDR Library | Library | The HDR pseudo-random number generator, a standard for exchanging exact, reproducible Monte Carlo samples (e.g., with ProbabilityManagement.org). | Statistics, Uncertainty | Hubbard HDR Library | 5 |
| Jev library | Library | Lets a model ask TypeSafe's Jev model questions about text and get back probabilities. | AI and machine learning, Uncertainty | Jev library Test of Jev library |
17 22 |
| Kolmogorov-Smirnov Tests Library | Library | Kolmogorov-Smirnov tests of whether a sample comes from a given distribution, or two samples from the same distribution. | Statistics | Kolmogorov-Smirnov Tests Library | 10 |
| Laplacian distribution library | Library | The Laplace (double-sided exponential) distribution with its density, cumulative and inverse cumulative functions. | Probability distributions, Statistics | Laplacian distribution library | 3 |
| Large Sample Library | Library | Runs a Monte Carlo simulation with a sample too large for memory by running it in batches and accumulating results for selected variables. | Modeling tools, Statistics, Uncertainty | Large Sample Library v10 | 39 |
| Legendre Library | Library | Gauss-Legendre quadrature and numerically stable Legendre polynomials, derivatives, zeros and coefficients. | Mathematics and science | Legendre library | 139 |
| Linked list library | Library, Installed | Functions for building and manipulating linked lists. | Arrays | Linked List Library | 8 |
| Model Documentation Library | Library | Produces a concise table of every object in a module with selected attributes (title, description, units, definition) that you can export to Excel and print. | Modeling tools | Model Documentation Library | 14 |
| Multivariate Distributions | Library, Installed | Multivariate distributions and ways to generate correlated distributions. | Probability distributions, Statistics | Multivariate Distributions | 30 |
| Mutables library | Library, Installed | Mutables are memory locations you can write to as a side effect of a calculation and read later, useful for debugging complex data structures. | Modeling tools | Mutables library | 4 |
| ODBC Library | Library, Installed | Helps write data from Analytica into relational database tables via ODBC, notably WriteTableSql. | Data import and cleaning | ODBC-Library | 3 |
| OpenAI API library | Library | Functions that call OpenAI's generative AI models from your model, for tasks that are hard to program and for generating images. | AI and machine learning | OpenAI API lib | 72 |
| Optimization Functions | Library, Installed | Simple GoalSeek, Solve and Gradient functions that work in any edition, without Analytica Optimizer. | Mathematics and science, Optimization | Optimization Functions | 6 |
| Performance Profiler library | Library, Installed | Shows the CPU time and memory used by every variable and function, so you can find what slows your model down. | Modeling tools | Performance Profiler | 8 |
| Recumulate | Library | Like Cumulate, but resets to zero at selected points. | Arrays | Recumulate example | 3 |
| Salesforce REST library | Library | Reads live Salesforce records and metadata into your model through the Salesforce REST API. Requires Analytica 7.1 or later. | Business, Data import and cleaning | Salesforce REST library | 24 |
| Sequential dispatch library | Library | SequentialDispatch extends Dispatch with a time-like index to carry over unmet demand or unused capacity. Includes a test model. | Energy and electricity, Optimization, Time series | Sequential dispatch library Sequential dispatch test |
2 3 |
| SipMath 3.1 library | Library | Reads uncertainty data in the SIPmath 3.1 standard format into your model as ordinary uncertain values, and exports Metalog distributions. | Statistics, Uncertainty | SipMath 3.1 library Test SipMath 3.1 |
27 30 |
| Smart MdTable library | Library | Like MdTable, but creates local indexes for the index columns automatically, so you don't need a global index for each. | Arrays, Data import and cleaning | Smart MdTable lib | 17 |
| Sparkline Library | Library, Installed | Inserts miniature line, bar and win-loss plots into result table cells. | Graphing and visualization | Sparkline Library | 11 |
| Spreadsheet Helper Library | Library | Lists worksheet names and the workbook file name, and provides SpreadsheetOpenEx, which remembers the file chosen. | Data import and cleaning | Spreadsheet Helper lib | 4 |
| Structured Opt Tools library | Library, Installed | Functions for structured optimization models, such as setting decision definitions to the optimal solution and restoring them. Requires Optimizer. | Optimization | Installed | |
| Sum of LogNormal Library | Library | Closed-form metalog approximations to the sum of N identical lognormal distributions, supporting Keelin, Chrisman and Savage (2019). | Probability distributions, Statistics | Sum of LogNormal Library Sum of LogNormal Library to N=300 |
70 111 |
| The Sensitivity Analysis Library | Library | Finds which individual cells of array-valued uncertain inputs have the greatest impact on an output. Includes an example model. | Sensitivity analysis | Sensitivity Analysis Library Sensitivity Functions Examples |
14 8 |
| Themes Library | Library | Preset themes to quickly update your model's diagram and graph styles. | Graphing and visualization, Modeling tools | Themes Library | 421 |
| Units Conversion Library | Library | Converts between units, such as feet to kilometers or Btu to gigajoules, making conversions explicit in your model. | Engineering, Mathematics and science | Units conversion library | 58 |
| Weibull estimation library | Library | Estimates Weibull time-to-failure distributions from data, including right-censored data where some units are still working. | Engineering, Health, Probability distributions, Risk analysis, Statistics | Weibull estimation lib | 18 |
See Also
Comments
Loading comments...