Libraries table
This table lists the 50 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 to group libraries by Domain or Methods.
- 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) | Description | Methods | Domain | Download file | Size KB |
|---|---|---|---|---|---|
| ACP style library | Customize how your model looks in Analytica Cloud Platform (ACP) through a GUI, instead of typing style attributes by hand. | User interface, ACP styling | Modeling tools, Web apps | ACP style library | 348 |
| Apportion | Aggregates or disaggregates an array from one index to another of any size, apportioning values proportionally. Contributed by EPRI. | Aggregation, Disaggregation, Arrays | General | Apportion | 2 |
| Base Conversion Function Library | Converts between binary, octal, decimal and hexadecimal, equivalent to the Excel functions of the same names. | Number conversion | Mathematics, Computing | Base Conversion Library | 10 |
| Bayes function library | Computes posterior probabilities with Bayes' rule from a complete discrete joint array of prior probabilities. | Bayesian inference, Probability | Statistics | Bayes Function | 4 |
| Cell Icon Set Library | Pre-curated icon sets for table cells that automatically pick the icon that depicts each value. | Cell formatting, Cell icons | Data visualization | Cell Icon Set Library | 611 |
| Complex Numbers (obsolete) | Obsolete: complex numbers are now built into Analytica. Kept for backward compatibility. | Complex numbers | Mathematics | Complex Library | 10 |
| Concatenation (obsolete) | Obsolete: superseded by extensions to the built-in Concat and ConcatRows. Kept for backward compatibility. | Arrays, Concatenation | Computing | Concatenation | 11 |
| Continuous distributions library | Some additional continuous univariate distributions. | Probability distributions | Statistics | Installed | |
| Data Standardization Library | Maps inconsistent values in imported data onto standard values you choose. | Data cleaning | Data management | Data Standardization Library | 8 |
| Data Statistics Library (obsolete) | Obsolete since Analytica 4.0. Statistics (such as SDeviation) over an index other than Run. Built-in statistical functions now take an optional index instead. | Statistics | Statistics | Data Statistics Library | 13 |
| Database library | Create, read, update, examine and delete database tables without writing SQL. Works with Access, SQL Server, MariaDB and PostgreSQL. Includes a demo model. | Database, SQL | Data management | Database library Database library demo |
75 105 |
| DB Conversion Library | Embeds data from a database into the model, so you can share it with someone who doesn't have the database. | Database, Data embedding | Data management | Db conversion lib | 7 |
| Decision tree library | Build decision trees in Analytica and calculate the value of each node. Includes the party problem example. | Decision tree, Decision analysis | General | Decision Tree library Decision Tree party problem |
754 946 |
| Distribution Densities Library | Analytic density, cumulative and inverse cumulative functions for all built-in distributions and a few others, such as F, Wishart and Gaussian. | Probability distributions, Density functions, Importance sampling | Statistics | Distribution Densities | 33 |
| Distribution variations library | Alternative parameterizations of built-in distributions, and other common distributions that are simple transformations of them. | Probability distributions | Statistics | Distribution Variations | 21 |
| Expand Index | A Change Index function that re-indexes an array onto another index, e.g., to combine cash flows over different time periods. | Arrays, Re-indexing | Finance | Expand Index | 4 |
| Expected value of information library | Efficiently estimates the expected value of perfect and sample information (EVPI, EVSI) using Latin hypercube simulation. | Value of information, EVPI, EVSI, Latin hypercube | Decision analysis | Expected value of info lib Expected value of info lib with examples |
8 44 |
| Financial library | 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.) | Option pricing, Bond pricing, Cost of capital | Finance | Financial Library | 23 |
| Flat File Library | Reads and writes data between Analytica arrays and comma-separated (CSV) files. | Data import, CSV files | Data management | Flat File Library | 5 |
| Garbage Bin | A recycle bin module for your model: drag objects into it instead of deleting them, and retrieve them if needed. | Model editing | Modeling tools | Garbage Bin | 7 |
| GCD function library | Two functions for computing the greatest common divisor. | User-defined functions | Mathematics | GCD function library | 2 |
| Generalized Regression (obsolete) | Obsolete: use the built-in LogisticRegression and ProbitRegression functions instead. Kept for legacy models; requires Optimizer. | Logistic regression, Probit regression, Poisson regression | Statistics | Generalized Regression | 35 |
| Genie Library | Connects Analytica to the Genie Bayesian network tool. Currently documented for Lumina developers only. | Bayesian networks | Statistics, AI | Genie library | 45 |
| Hubbard HDR Library | The HDR pseudo-random number generator, a standard for exchanging exact, reproducible Monte Carlo samples (e.g., with ProbabilityManagement.org). | Random number generation, Monte Carlo | Statistics, Probability management | Hubbard HDR Library | 5 |
| Jev library | Lets a model ask TypeSafe's Jev model questions about text and get back probabilities. | AI text analysis, Probability | AI | Jev library Test of Jev library |
17 22 |
| Kolmogorov-Smirnov Tests Library | Kolmogorov-Smirnov tests of whether a sample comes from a given distribution, or two samples from the same distribution. | Hypothesis testing, Goodness of fit | Statistics | Kolmogorov-Smirnov Tests Library | 10 |
| Laplacian distribution 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 | Runs a Monte Carlo simulation with a sample too large for memory by running it in batches and accumulating results for selected variables. | Monte Carlo, Large samples, Batch simulation | Statistics, Modeling tools | Large Sample Library v10 | 39 |
| Legendre Library | Gauss-Legendre quadrature and numerically stable Legendre polynomials, derivatives, zeros and coefficients. | Numerical integration, Gauss-Legendre quadrature, Polynomials | Mathematics | Legendre library | 139 |
| Linked list library | Functions for building and manipulating linked lists. | Data structures, Linked lists | Computing | Linked List Library | 8 |
| Model Documentation 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. | Model documentation, Reporting | Modeling tools | Model Documentation Library | 14 |
| Multivariate Distributions | Multivariate distributions and ways to generate correlated distributions. | Probability distributions, Correlation | Statistics | Multivariate Distributions | 30 |
| Mutables library | Mutables are memory locations you can write to as a side effect of a calculation and read later, useful for debugging complex data structures. | Side effects, Debugging | Modeling tools | Mutables library | 4 |
| ODBC Library | Helps write data from Analytica into relational database tables via ODBC, notably WriteTableSql. | Database, ODBC, SQL | Data management | ODBC-Library | 3 |
| OpenAI API library | Functions that call OpenAI's generative AI models from your model, for tasks that are hard to program and for generating images. | Large language models, Image generation | AI | OpenAI API lib | 72 |
| Optimization Functions | Simple GoalSeek, Solve and Gradient functions that work in any edition, without Analytica Optimizer. | Root finding, Goal seeking, Gradient descent | Mathematics | Optimization Functions | 6 |
| Performance Profiler library | Shows the CPU time and memory used by every variable and function, so you can find what slows your model down. | Performance profiling | Modeling tools | Performance Profiler | 8 |
| Recumulate | Like Cumulate, but resets to zero at selected points. | Cumulation, Arrays | General | Recumulate example | 3 |
| Salesforce REST library | Reads live Salesforce records and metadata into your model through the Salesforce REST API. Requires Analytica 7.1 or later. | Web APIs, OAuth, Data import | Sales, CRM | Salesforce REST library | 24 |
| Sequential dispatch library | SequentialDispatch extends Dispatch with a time-like index to carry over unmet demand or unused capacity. Includes a test model. | Dispatch, Time series | Electricity, Resource allocation | Sequential dispatch library Sequential dispatch test |
2 3 |
| SipMath 3.1 library | Reads uncertainty data in the SIPmath 3.1 standard format into your model as ordinary uncertain values, and exports Metalog distributions. | Probability management, SIPs, Metalog distributions | Statistics, Probability management | SipMath 3.1 library Test SipMath 3.1 |
27 30 |
| Smart MdTable library | Like MdTable, but creates local indexes for the index columns automatically, so you don't need a global index for each. | MdTable, Data transformation | Data management | Smart MdTable lib | 17 |
| Sparkline Library | Inserts miniature line, bar and win-loss plots into result table cells. | Graphing, Sparklines | Data visualization | Sparkline Library | 11 |
| Spreadsheet Helper Library | Lists worksheet names and the workbook file name, and provides SpreadsheetOpenEx, which remembers the file chosen. | Spreadsheets | Data management | Spreadsheet Helper lib | 4 |
| Structured Opt Tools library | Functions for structured optimization models, such as setting decision definitions to the optimal solution and restoring them. Requires Optimizer. | Optimization | Operations research | Installed | |
| Sum of LogNormal Library | Closed-form metalog approximations to the sum of N identical lognormal distributions, supporting Keelin, Chrisman and Savage (2019). | Metalog distributions, Probability distributions | Statistics | Sum of LogNormal Library Sum of LogNormal Library to N=300 |
70 111 |
| The Sensitivity Analysis Library | Finds which individual cells of array-valued uncertain inputs have the greatest impact on an output. Includes an example model. | Sensitivity analysis, Importance analysis | General | Sensitivity Analysis Library Sensitivity Functions Examples |
14 8 |
| Themes Library | Preset themes to quickly update your model's diagram and graph styles. | Diagram styles, Graph styles | Modeling tools, Data visualization | Themes Library | 421 |
| Units Conversion Library | Converts between units, such as feet to kilometers or Btu to gigajoules, making conversions explicit in your model. | Units conversion | Engineering, Science | Units conversion library | 58 |
| Weibull estimation library | Estimates Weibull time-to-failure distributions from data, including right-censored data where some units are still working. | Distribution fitting, Survival analysis, Right-censored data | Reliability, Engineering, Health | Weibull estimation lib | 18 |
See Also
Comments
Loading comments...