datafsm: Estimating Finite State Machine Models from Data

Share:

Our method automatically generates 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.

Author
Nay John J. [cre, aut], Gilligan Jonathan M. [aut]
Date of publication
2015-09-08 00:25:33
Maintainer
Nay John J. <john.j.nay@gmail.com>
License
MIT + file LICENSE
Version
0.1.0
URLs

View on CRAN

Man pages

action_vec
Extracts slot of action_vec
best_performance
Extracts performance
build_bitstring
Builds Bitstring
compare_fsm
Compares FSMs
datafsm
datafsm: A package for estimating FSM models.
decode_action_vec
Decodes Action Vector
decode_state_mat
Decodes State Matrix
degeneracy_check
Determines if State Matrix is Degenerate for Given Data Set.
estimation_details
Extracts slot relevant to estimating the fsm
evolve_model
Use a Genetic Algorithm to Estimate a Finite-state Machine...
evolve_model_cv
Estimate Optimal Number of States of a Finite-state Machine...
evolve_model_cv
Estimate Optimal Number of States of a Finite-state Machine...
find_wildcards
Find Indices for Non-identifiable Elements of State Matrix.
fitnessCPP
Fitness Function in C++
ga_fsm-class
An S4 class to return the results of using a GA to estimate a...
states
Extracts number of states
var_imp
Variable Importance Measure for A FSM Model
var_imp
Variable Importance Measure for A FSM Model
varImp
Extracts slot of variable importances

Files in this package

datafsm
datafsm/inst
datafsm/inst/CITATION
datafsm/inst/doc
datafsm/inst/doc/datafsmVignette.html
datafsm/inst/doc/datafsmVignette.R
datafsm/inst/doc/datafsmVignette.Rmd
datafsm/tests
datafsm/tests/testthat.R
datafsm/tests/testthat
datafsm/tests/testthat/test_mainfunc.R
datafsm/tests/testthat/test_varImp.R
datafsm/src
datafsm/src/RcppExports.cpp
datafsm/src/fitnessCPP.cpp
datafsm/NAMESPACE
datafsm/R
datafsm/R/class_def.R
datafsm/R/compare_fsm.R
datafsm/R/var_imp.R
datafsm/R/evolve_model.R
datafsm/R/decode_action_vec.R
datafsm/R/evolve_model_cv.R
datafsm/R/datafsm.R
datafsm/R/build_bitstring.R
datafsm/R/RcppExports.R
datafsm/R/decode_state_mat.R
datafsm/R/degeneracy_check.R
datafsm/vignettes
datafsm/vignettes/datafsmVignette.Rmd
datafsm/MD5
datafsm/build
datafsm/build/vignette.rds
datafsm/DESCRIPTION
datafsm/man
datafsm/man/states.Rd
datafsm/man/ga_fsm-class.Rd
datafsm/man/find_wildcards.Rd
datafsm/man/evolve_model.Rd
datafsm/man/decode_action_vec.Rd
datafsm/man/fitnessCPP.Rd
datafsm/man/datafsm.Rd
datafsm/man/degeneracy_check.Rd
datafsm/man/decode_state_mat.Rd
datafsm/man/action_vec.Rd
datafsm/man/var_imp.Rd
datafsm/man/evolve_model_cv.Rd
datafsm/man/compare_fsm.Rd
datafsm/man/best_performance.Rd
datafsm/man/build_bitstring.Rd
datafsm/man/varImp.Rd
datafsm/man/estimation_details.Rd
datafsm/LICENSE