Individual Based Model Population Simulation
Gompertz–Makeham intensity function.
Search for a given string in event types
Function for internal use
Function for internal use
Function for internal use
Function for internal use
Function for internal use
Function for internal use
Check the intensity code.
Check the interaction code.
Check the kernel code.
Check characteristics-events compatibility
Check population-model compatibility
Death table
Autogenerate cpp details documentation
Autogenerated documentation for intensity code
Autogenerated documentation for interaction code
Autogenerated documentation for kernel code
Autogenerated documentation for event type
Exposure table
Returns names and C types of the characteristics.
Generic method for get_characteristics
Function for internal use
Function for internal use
Creating an event with intensity of type interaction
Summarizing an event
Summary logs
Summary of a model
Summary population
Summary simulation output
Age pyramid from a population data frame at some given times.
Add characteristic to a population
Generic method for add_characteristic
Age pyramid from a population at a given time.
Generic method for age_pyramid
Generic method for age_pyramids
IBMPopSim: Individual Based Model Population Simulation
Complete a population id
Linear interpolation function.
Returns the maximum of a function of class stepfun
.
A function returning a merged dataframe from a list of population data...
Creating an event with intensity of class individual
Creating inhomogeneous Poisson class event
Creating Poisson class event
Function for internal use
Creates a model for IBMPopSim.
Extract types (R and C++) of the parameters
Function for internal use
Function for internal use
Function for internal use
Function for internal use
Function for internal use
Function for internal use
Function for internal use
Piecewise real function.
Piecewise real function of two variables.
Plot the age pyramid of a population data frame (at a given time).
Plot an age pyramid.
Sample a population from an age pyramid (at a given time).
Generic method for popsample
Weibull function.
Simulation of a model.
Returns a population of individuals alive.
Generic method for population_alive
Class population
Print Event
Printing of a model
Printing population
Class pyramid
Step Function.
Simulation of the random evolution of heterogeneous populations using stochastic Individual-Based Models (IBMs) <doi:10.48550/arXiv.2303.06183>. The package enables users to simulate population evolution, in which individuals are characterized by their age and some characteristics, and the population is modified by different types of events, including births/arrivals, death/exit events, or changes of characteristics. The frequency at which an event can occur to an individual can depend on their age and characteristics, but also on the characteristics of other individuals (interactions). Such models have a wide range of applications. For instance, IBMs can be used for simulating the evolution of a heterogeneous insurance portfolio with selection or for validating mortality forecasts. This package overcomes the limitations of time-consuming IBMs simulations by implementing new efficient algorithms based on thinning methods, which are compiled using the 'Rcpp' package while providing a user-friendly interface.
Useful links