Learn R Programming

datafsm (version 0.2.4)

Estimating Finite State Machine Models from Data

Description

Automatic generation of finite state machine models of dynamic decision-making that both have strong predictive power and are interpretable in human terms. We use an efficient model representation and a genetic algorithm-based estimation process to generate simple deterministic approximations that explain most of the structure of complex stochastic processes. We have applied the software to empirical data, and demonstrated it's ability to recover known data-generating processes by simulating data with agent-based models and correctly deriving the underlying decision models for multiple agent models and degrees of stochasticity.

Copy Link

Version

Install

install.packages('datafsm')

Monthly Downloads

194

Version

0.2.4

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Gilligan Jonathan M.

Last Published

May 29th, 2021

Functions in datafsm (0.2.4)

best_performance

Extracts performance
NV_games

Empirical prisoner's dilemma games from Nay and Vorobeychik
decode_state_mat

Decodes State Matrix
build_bitstring

Builds Bitstring
compare_fsm

Compares FSMs
add_interact_num

Add interaction numbers for panel data
datafsm

datafsm: A package for estimating FSM models.
action_vec

Extracts slot of action_vec
degeneracy_check

Determines if State Matrix is Degenerate for Given Data Set.
decode_action_vec

Decodes Action Vector
evolve_model_cv

Estimate Optimal Number of States of a Finite-state Machine Model
performance

Measure Model Performance
ga_fsm-class

estimation_details

Extracts slot relevant to estimating the fsm
evolve_model

Use a Genetic Algorithm to Estimate a Finite-state Machine Model
evolve_model_ntimes

Use a Genetic Algorithm to Estimate a Finite-state Machine Model n-times
varImp

Extracts slot of variable importances
states

Extracts number of states
find_wildcards

Find Indices for Non-identifiable Elements of State Matrix.
var_imp

Variable Importance Measure for A FSM Model
fitnessCPP

Fitness Function in C++