Wolfram Language Paclet Repository (Under Development)

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • External Interfaces & Connections
    • Geographic Data & Computation
    • Graphs & Networks
    • Images
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Sound & Video
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
    • Using Paclets
    • Creating Paclets
    • New Definition Notebook
    • Random Paclet
    • Alphabetical List

CompartmentalModeling

Guides

  • CompartmentalModeling

Symbols

  • CompartmentalModelGraph
  • CompetitiveInhibitorKinetics
  • DefinePropensityFunction
  • DeriveTransitions
  • DynamicTransmissionModel
  • EnzymeReaction
  • EpidemiologyModelData
  • EpidemiologyModel
  • ForceOfInfection
  • HillKinetics
  • Incidence
  • KineticCompartmentalModel
  • KineticReactionNetworkModel
  • MichaelisMentenKinetics
  • NextGenerationMatrix
  • NoncompetitiveInhibitorKinetics
  • NullCompartment
  • ResolveCompartmentalModel
  • StochasticSolve
  • StoichiometryTable
  • StratifyModel
  • Transition
  • UncompetitiveInhibitorKinetics
  • VitalDemographicsModel
  • $C
  • $CompartmentalModelingVersion
  • $EpidemiologyColor
  • $EpidemiologyModelingVersion
  • $R
  • $SystemsBiologyModelingVersion
RobertNachbar`EpidemiologyModeling`
ForceOfInfection
​
ForceOfInfection
[lambda,infectiousCompartments,t,incidenceType]
returns a list of rules for the force of infection given the force of infection symbol
lambda
, the list of infectious compartments, the time symbol
t
, and the incidence type. The incidence type defaults to
"MassAction"
if omitted.
​
Details

Examples  
(4)
Basic Examples  
(1)
Load the paclet:
In[1]:=
Needs["RobertNachbar`EpidemiologyModeling`"]
A single infectious compartment with mass-action incidence:
In[2]:=
ForceOfInfection
[λ,{ℐ},t,"MassAction"]
Out[2]=
{λ[t]ℐ[t]}
For convenience,
"MassAction"
can be omitted:
In[3]:=
ForceOfInfection
[λ,{ℐ},t]
Out[3]=
{λ[t]ℐ[t]}
Two infectious compartments with mass-action incidence:
In[4]:=
ForceOfInfection
[λ,{ℐ,},t]
Out[4]=
{λ[t][t]+ℐ[t]}
Scope  
(1)

Generalizations & Extensions  
(1)

Options  
(1)

SeeAlso
DynamicTransmissionModel
RelatedGuides
▪
CompartmentalModeling
""

Powered by the Wolfram Cloud More about Wolfram Technology

© 2022 Wolfram Research, Inc. All rights reserved. Terms of Use Privacy Contact Us