Collected examples of modeling
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
149-roundtrip.c
149-truncate.c
150-update.c
153-rng_est.c
154-demand_curve.c
154a-demand_curve.c
156-find.c
156-search.c
156-search_fns.c
156-weibull.c
158-fexact.c
158-fexact2.c
158-fscaled.c
160-logit.c
160-make_plots
161-make_matrix.c
162-pca.c
163-de_xtab.c
163-xtab
165-boot-threaded.c
167-regex.sh
169-intercoder.c
169-kappa_and_pi.c
169-kappa_and_pi.h
171-a_logit_script
173-ademo.jl
173-data.txt
README.md
amash_vote_analysis.csv
apop.jl
makefile
p_i.R

README.md

modeling examples

Hi, my name is Ben Klemens, and I've been writing a lot of snippets of sample code for modeling lately. Some are intended to demonstrate interesting narrative models, and some to demonstrate the mechanics of writing C and using the Apophenia library. These examples have appeared in three places:

This repository is intended to make it easy for readers of any of the above to quickly download and experiment with the source code.

Assuming you've installed Apophenia (which means that you've got a system with basic POSIX-compliance, and the development libraries for the GNU Scientific Library and SQLite installed), then the included makefile is likely to work for you: e.g., just type make 150-update and that program should compile. make all is an option.

Also, I use this repository as part of Apophenia's extended test suite, so everything here has been tested against the latest version of the Apophenia library. If your programs mostly compile but hit a few glitches, maybe download the latest copy of the library.