Difference between revisions of "Example Models and Libraries - Table"
Line 102: | Line 102: | ||
|[[media:Output and input columns.ana|Output and input columns.ana]] | |[[media:Output and input columns.ana|Output and input columns.ana]] | ||
| | | | ||
− | |<div style="text-align: left;">Presents an input table to a user, where one column is populated with computed output data, the other column with checkboxes for the user to select | + | |<div style="text-align: left;">Presents an input table to a user, where one column is populated with computed output data, the other column with checkboxes for the user to select.</div> |
− | |||
|data analysis | |data analysis | ||
|[[Output and Input Columns in Same Table]] | |[[Output and Input Columns in Same Table]] | ||
Line 111: | Line 110: | ||
|[[media:Platform 2018b.ana|Platform2018b.ana]] | |[[media:Platform 2018b.ana|Platform2018b.ana]] | ||
|offshore platforms, oil and gas, stakeholders, rigs to reefs, decision support | |offshore platforms, oil and gas, stakeholders, rigs to reefs, decision support | ||
− | |<div style="text-align: left;"> | + | |<div style="text-align: left;">Determined how to decommission California's 27 offshore oil platforms.</div> |
|decision analysis, multi-attribute, sensitivity analysis | |decision analysis, multi-attribute, sensitivity analysis | ||
|[[From Controversy to Consensus: California's offshore oil platforms]] | |[[From Controversy to Consensus: California's offshore oil platforms]] | ||
Line 119: | Line 118: | ||
|[[media:Comparing retirement account types.ana|Comparing retirement account types.ana]] or [[media:Comparing retirement account types without sensitivity.ana|Free 101 Compatible Version]] | |[[media:Comparing retirement account types.ana|Comparing retirement account types.ana]] or [[media:Comparing retirement account types without sensitivity.ana|Free 101 Compatible Version]] | ||
|401(k), IRA, retirement account, decision analysis, uncertainty | |401(k), IRA, retirement account, decision analysis, uncertainty | ||
− | |<div style="text-align: left;"> | + | |<div style="text-align: left;">Explores tradeoffs between different retirement account types.</div> |
|[[MultiTable]]s, sensitivity analysis | |[[MultiTable]]s, sensitivity analysis | ||
|[[Retirement plan type comparison]] | |[[Retirement plan type comparison]] | ||
Line 127: | Line 126: | ||
|[[media:Plane catching with UI 2020.ANA|Plane catching with UI 2020.ANA]] | |[[media:Plane catching with UI 2020.ANA|Plane catching with UI 2020.ANA]] | ||
| | | | ||
− | |<div style="text-align: left;"> | + | |<div style="text-align: left;">Determines when you should leave my home to catch an early morning plane departure.</div> |
− | |||
|decision theory, decision analysis, uncertainty, Monte Carlo simulation, value of information, EVPI, EVIU | |decision theory, decision analysis, uncertainty, Monte Carlo simulation, value of information, EVPI, EVIU | ||
|[[Plane Catching Decision with Expected Value of Including Uncertainty]] | |[[Plane Catching Decision with Expected Value of Including Uncertainty]] | ||
Line 136: | Line 134: | ||
|[[media:Marginal Analysis for Control of SO2 Emissions.ana|Marginal Analysis for Control of SO2 Emissions.ana]] | |[[media:Marginal Analysis for Control of SO2 Emissions.ana|Marginal Analysis for Control of SO2 Emissions.ana]] | ||
|environmental engineering | |environmental engineering | ||
− | |<div style="text-align: left;">Acid rain in eastern US and Canada caused by sulfur dioxide is emitted primarily by coal-burning electric-generating plants in the Midwestern U.S. | + | |<div style="text-align: left;">Acid rain in eastern US and Canada caused by sulfur dioxide is emitted primarily by coal-burning electric-generating plants in the Midwestern U.S. Marginal analysis a.k.a. benefit/cost analysis to determine the policy alternative that leads us to the most economically efficient level of cleanup of acid rain from coal-burning electric-generating plants.</div> |
|cost-benefit analysis, marginal analysis | |cost-benefit analysis, marginal analysis | ||
|[[Marginal Analysis for Control of SO2 emissions]] | |[[Marginal Analysis for Control of SO2 emissions]] | ||
Line 144: | Line 142: | ||
|[[Media:Donor_Presenter_Dashboard_II.ANA|Donor-Presenter Dashboard.ana]] | |[[Media:Donor_Presenter_Dashboard_II.ANA|Donor-Presenter Dashboard.ana]] | ||
| | | | ||
− | |<div style="text-align: left;"> | + | |<div style="text-align: left;">Implements a continuous-time Markov chain in Analytica's discrete-time dynamic simulation environment. It supports immigration to, and emigration from, every node.</div> |
− | |||
|dynamic models, Markov processes | |dynamic models, Markov processes | ||
|[[Donor/Presenter Dashboard]] | |[[Donor/Presenter Dashboard]] | ||
Line 153: | Line 150: | ||
|[[media:Photosynthesis regulation.ANA|Photosynthesis Regulation.ana]] - main regulation pathways<br />[[media:Photosystem.ana | Photosystem.ana]] - rough sketch of genetic regulation | |[[media:Photosynthesis regulation.ANA|Photosynthesis Regulation.ana]] - main regulation pathways<br />[[media:Photosystem.ana | Photosystem.ana]] - rough sketch of genetic regulation | ||
|photosynthesis | |photosynthesis | ||
− | |<div style="text-align: left;">A model of how photosynthesis is regulated inside a cyanobacteria. | + | |<div style="text-align: left;">A model of how photosynthesis is regulated inside a cyanobacteria. Simulates the concentration levels of key transport molecules along the chain.</div> |
− | |||
− | |||
|dynamic models | |dynamic models | ||
|[[Regulation of Photosynthesis]] | |[[Regulation of Photosynthesis]] |
Revision as of 07:43, 17 January 2023
This page lists example models and libraries. You can download them from here or (in some cases) link to a page with more details. Feel free to include and upload your own models and libraries.
Model/Library | Download | Domain | Description | Methods | For more |
---|---|---|---|---|---|
Model | Marginal abatement home heating.ana | carbon price, energy efficiency, climate policy | Shows how to set up a Marginal Abatement graph in Analytica.
|
graph methods, optimal allocation, budget constraint | Marginal Abatement Graph |
Model | Solar Panel Analysis.ana | renewable energy, photovoltaics, tax credits | Explores whether it would it be cost effective to install solar panels on the roof of a house in San Jose, California.
|
net present value, internal rate of return, agile modeling | Solar Panel Analysis |
Model | Items within budget.ana | Given a set of items, with a priority and a cost for each, selects out the highest priority items that fit within the fixed budget.
|
Items within Budget function | ||
Model | Grant exclusion.ana | business analysis | Tests a hypothesis about the distribution of an attribute of the marginal rejectee of a grant program, given the relevance of that attribute to award of the grant.
|
Grant Exclusion Model | |
Model | Project Priorities 5 0.ana | business models | Evaluates a set of R&D projects (including uncertain R&D costs/revenues), uses multiattribute analysis to compare projects & generates the best portfolio given a R&D budget.
|
cost analysis, net present value (NPV), uncertainty analysis | Project Planner |
Model | Steel and aluminum tariff model.ana | Estimate of the net impact of the 2018 import tariffs on steel and aluminum on the US trade deficit.
|
Steel and Aluminum import tariff impact on US trade deficit | ||
Model | Tax bracket interpolation 2021.ana | Computes amount of tax due from taxable income for a 2017 US Federal tax return.
|
Tax bracket interpolation | ||
Model | Feasible Sampler.ana | feasibility | Implements a button that will sample a collection of chance variables, then reset the sample size and keep only those sample points that are "feasible".
| ||
Model | Cross-validation example.ana | Fits a non-linear kernel function to the residual error, and uses cross-validation to determine how many kernel functions should be used.
|
cross-validation, overfitting, non-linear kernel functions | Cross-Validation / Fitting Kernel Functions to Data | |
Model | Bootstrapping.ana | Bootstrapping; estimates sampling error by resampling the original data.
|
bootstrapping, sampling error, re-sampling | Statistical Bootstrapping | |
Model | Kernel Density Estimation.ana | Demonstrates a very simple fixed-width kernel density estimator to estimate a "smooth" probability density.
|
kernel density estimation, kernel density smoothing | Smooth PDF plots using Kernel Density Estimation | |
Model | Output and input columns.ana | Presents an input table to a user, where one column is populated with computed output data, the other column with checkboxes for the user to select.
|
data analysis | Output and Input Columns in Same Table | |
Model | Platform2018b.ana | offshore platforms, oil and gas, stakeholders, rigs to reefs, decision support | Determined how to decommission California's 27 offshore oil platforms.
|
decision analysis, multi-attribute, sensitivity analysis | From Controversy to Consensus: California's offshore oil platforms |
Model | Comparing retirement account types.ana or Free 101 Compatible Version | 401(k), IRA, retirement account, decision analysis, uncertainty | Explores tradeoffs between different retirement account types.
|
MultiTables, sensitivity analysis | Retirement plan type comparison |
Model | Plane catching with UI 2020.ANA | Determines when you should leave my home to catch an early morning plane departure.
|
decision theory, decision analysis, uncertainty, Monte Carlo simulation, value of information, EVPI, EVIU | Plane Catching Decision with Expected Value of Including Uncertainty | |
Model | Marginal Analysis for Control of SO2 Emissions.ana | environmental engineering | Acid rain in eastern US and Canada caused by sulfur dioxide is emitted primarily by coal-burning electric-generating plants in the Midwestern U.S. Marginal analysis a.k.a. benefit/cost analysis to determine the policy alternative that leads us to the most economically efficient level of cleanup of acid rain from coal-burning electric-generating plants.
|
cost-benefit analysis, marginal analysis | Marginal Analysis for Control of SO2 emissions |
Model | Donor-Presenter Dashboard.ana | Implements a continuous-time Markov chain in Analytica's discrete-time dynamic simulation environment. It supports immigration to, and emigration from, every node.
|
dynamic models, Markov processes | Donor/Presenter Dashboard | |
Model | Photosynthesis Regulation.ana - main regulation pathways Photosystem.ana - rough sketch of genetic regulation |
photosynthesis | A model of how photosynthesis is regulated inside a cyanobacteria. Simulates the concentration levels of key transport molecules along the chain.
|
dynamic models | Regulation of Photosynthesis |
Model | Time-series-reindexing.ana | Examples of time-series re-indexing.
|
dynamic models, forecasting, time-series re-indexing | Time-series re-indexing | |
Model | Post Compression Model | Calculator for computing the maximum load that can be handled by a Douglas Fir - Larch post of a given size, grade, and composition in a construction setting.
|
Timber Post Compression Load Capacity | ||
Model | Compression Post Load Capacity.ana | Computes the load that a Douglas-Fir Larch post can support in compression. Works for different timber types and grades and post sizes.
|
compression analysis | Compression Post Load Calculator | |
Model | Daylighting analyzer.ana | engineering | How to analyze lifecycle costs and savings from daylighting options in building design.
|
cost-benefits analysis | Daylighting Options in Building Design |
Model | California Power Plants.ana | power plants | Example showing how to use Choice menus and Checkbox inside an Edit table.
|
edit table, choice menu, pulldown menu, checkbox | California Power Plants |
Model | Requires Analytica Optimizer Electrical Transmission.ana |
electrical engineering, power generation and transmission | Electrical network model that minimizes total cost of generation and transmission.
|
Electrical Generation and Transmission | |
Model | Time of use pricing.ana & MECOLS0620.xlsx (both files needed) |
reading from spreadsheets, time-of-use pricing, electricity pricing | Time-of-use pricing is a rate tariff model used by utility companies that changes more during times when demand tends to exceed supply.
|
Time of Use pricing | |
Model | Color map.ana | A model which highlights Cell Formatting and Computed Cell Formats.
|
computed cell formatting | Color Map | |
Model | World cup.ana | Demonstrates the Poisson distribution to determine why France beat Croatia in 2018.
|
2018 World Cup Soccer final | ||
Model | resnet18.zip | residual network, deep residual learning, image recognition | Show it an image, and it tries to recognize what it is an image of, classifying it among 1000 possible categories. It uses an 18-layer residual network.
|
Image recognition | |
Model | Month to quarter.ana | Shows how to transform an array from a finer-grain index (e.g., Month) onto a coarser index (e.g., Quarter). We generally refer to this as aggregation.
|
aggregation, level of detail, days, weeks, months, quarters, years | Transforming Dimensions by transform matrix, month to quarter | |
Model | Convolution.ana | Contains several examples of convolved functions.
|
signal analysis, systems analysis | Convolution | |
Model | Dependency Tracker.ana | This module tracks dependencies through your model, updating the visual appearance of nodes so that you can quickly visualize the paths by which one variable influences another.
|
dependency analysis | Dependency Tracker Module | |
Model | French-English.ana | multi-lingual models | Maintains a single influence diagram with Title and Description attributes in both English and French. With the change of a pull-down, the influence diagram and all object descriptions are instantly reflected in the language of choice.
If you change a title or description while viewing English, and then change to French, the change you made will become the English-language version of the description. Similarly if you make a change while viewing French. |
Multi-lingual Influence Diagram | |
Model | Parsing XML example.ana | data extraction, xml, DOM parsing | Suppose you receive data in an XML format that you want to read into your model. This example demonstrates two methods for extracting data: Using a full XML DOM parser, or using regular expressions. The first method fully parses the XML structure, the second simply finds the data of interest by matching patterns, which can be easier for very simple data structures (as is often the case).
|
Extracting Data from an XML file | |
Model | Vector Math.ana | Functions used for computing geospatial coordinates and distances. Includes:
|
geospatial analysis, GIS, vector analysis | Vector Math | |
Model | Total Allowable w Optimizer.ana or Total Allowable w StepInterp.ana for those without Optimizer |
The problem applies to any population of fish or animal whose dynamics are poorly known but can be summarized in a simple model:
where «N_t» is the population size (number of individuals) at time t, «N_t+1» is the population size at time t + 1, «Lambda» is the intrinsic rate of increase and the «loss rate» is the percentage of fish or animals killed but not retrieved relative to the «landed catch», or catch secured. |
population analysis, dynamic models, optimization analysis | Total Allowable Harvest | |
Model | Cereal Formulation1.ana | product formulation, cereal formulation | A cereal formulation model
A discrete mixed integer model that chooses product formulations to minimize total ingredient costs. This could be an NSP but it uses two methods to linearize: 1) Decision variable is constructed as a constrained Boolean array 2) Prices are defined as piecewise linear curves |
Linearizing a discrete NSP | |
Model | Neural Network.ana | feed-forward neural networks | A feed-forward neural network can be trained (fit to training data) using the Analytica Optimizer. This is essentially an example of non-linear regression. This model contains four sample data sets, and is set up to train a 2-layer feedforward sigmoid network to "learn" the concept represented by the data set(s), and then test how well it does across examples not appearing in the training set.
Developed during the Analytica User Group Webinar of 21-Apr-2011 -- see the webinar recording.
|
optimization analysis | Neural Network |
Model | Earthquake expenses.ana | An example of risk analysis with time-dependence and costs shifted over time.
Certain organizations (insurance companies, large companies, governments) incur expenses following earthquakes. This simplified demo model can be used to answer questions such as:
|
risk analysis, cost analysis | Earthquake Expenses | |
Best used with Analytica Optimizer Loan policy selection.ana |
creditworthiness, credit rating, default risk | A lender has a large pool of money to loan, but needs to decide what credit rating threshold to require and what interest rate (above prime) to charge. The optimal value is determined by market forces (competing lenders) and by the probability that the borrower defaults on the loan, which is a function of the economy and borrower's credit rating. The model can be used without the Analytica optimizer, in which case you can explore the decision space manually or use a parametric analysis to find the near optimal solution. Those with Analytica Optimizer can find the optimal solution (more quickly) using an NLP search.
|
risk analysis | Loan Policy Selection | |
Model | Hubbard_and_Seiersen_cyberrisk.ana | cybersecurity risk | The model simulates loss exceedance curves for a set of cybersecurity events, the likelihood and probabilistic monetary impact of which have been characterized by system experts. The goal of the model is assess the impact of mitigation measures, by comparing the residual risk curve to the inherent risk curve (defined as risk without any mitigation measures) and to the risk tolerance curve. This is a translation of a model built by Douglas Hubbard and Richard Seiersen which they describe in their book How to Measure Anything in Cybersecurity Risk, and which they make available here.
|
loss exceedance curve, simulation | Inherent and Residual Risk Simulation |
Model | media:Red State Blue State plot.ana | map, states | This example contains the shape outlines for each of the 50 US states, along with a graph that uses color to depict something that varies by state (historical political party leaning). You may find the shape data useful for your own plots. In addition, it demonstrates the polygon fill feature that is new in Analytica 5.2.
|
graphing | Red or blue state |
Model | COVID Model 2020--03-25.ana | covid, covid-19, coronavirus, corona, epidemic | A systems dynamics style SICR model of the COVID-19 outbreak within the state of Colorado. It simulates the progression of the outbreak into the future, examining the expected impact on ventilator (compared to levels available), forecasts number of sick and number of deaths, and also the risk reduction that a "lock down" has based on the date of the start of the lock down and the amount of reduction in social interaction. A Lumidyne blog article describes the model and conclusions ascertained from it.
|
COVID-19 State Simulator, a Systems Dynamics approach | |
Model | Corona Markov.ana | covid, covid-19, coronavirus, corona, epidemic | Used to explore the progression of the COVID-19 coronavirus epidemic in the US, and to explore the effects of different levels of social isolation. It also includes sensitivity analyses. A blog article showcases this model.
|
How social isolation impacts COVID-19 spread in the US - A Markov model approach | |
Model | Modelo Epidemiológoco para el Covid-19 con cuarentena.ana | covid, covid-19, coronavirus, corona, epidemic | Un modelo en cadena de Markov del impacto previsto de la enfermedad coronavirus COVID-19 en el Perú, y del impacto del aislamiento social. Consulte el artículo Aislamiento Social y Propagación COVID-19 para detalles.
An adaptation and extension of Robert D. Brown's Markov Model (the previous example) to the country of Perú, translated into Spanish. |
Epidemiological model of COVID-19 for Perú, en español | |
Model | COVID-19 Triangle Suppression.ana | covid, covid-19, coronavirus, corona, epidemic | A novel approach to modeling the progression of the COVID-19 pandemic in the US, and understanding the amount of time that is required for lock down measures when a suppression strategy is adopted. This model is features in the blog article Suppression strategy and update forecast for US deaths from COVID-19 Coronavirus in 2020 on the Analytica blog.
|
A Triangle Suppression model of COVID-19 | |
Model | Simple COVID-19.ana | covid, covid-19, coronavirus, corona, epidemic | Used to explore possible COVID-19 Coronavirus scenarios from the beginning of March, 2020 through the end of 2020 in the US. The US is modeled as a closed system, which people classified as being in one of the progressive stages: Susceptible, Incubating, Contagious or Recovered. Deaths occur only from the Contagious stage. There is no compartimentalization such as by age or geography.
|
COVID-19 Coronavirus SICR progression for 2020 | |
Model | US COVID-19 Data.ana | covid, covid-19, coronavirus, corona, epidemic, death, infection | The New York Times has made data available to researchers on the number of reported cases and deaths in each US county, and state-wide, on each day the pandemic. This model reads in these files and transforms them into a form that is convenient to work with in Analytica.
Requires: You'll need to install GIT and then clone the NYT repository. The Description of the model gives instructions for getting set up. You'll also need to have the Analytica Enterprise or Optimizer edition. |
COVID-19 Case and Death data for US states and counties | |
Model | Voluntary vs mandatory testing.ana | covid, covid-19, coronavirus, corona, epidemic | A Navy wants to compare two COVID-19 testing policies. In the first, all crew members must take a COVID-19 test before boarding a ship, and those with a positive test cannot board. In the second policy, testing is encouraged but voluntary -- each sailor has an option of being tested before boarding. This model computes the rate of infection among those allowed to board under the two scenarios, based on prevalence rates, test accuracies and voluntary testing rates. It also examines the probability of achieving zero infections on board, and the sensitivity of the results to input parameter estimates. This model is described in a blog posting.
|
Mandatory vs Voluntary testing policies |
Enable comment auto-refresher