death 1 M married marriage 1 M single
birth 1 F single 0 death 1 M single marriage 1 M single
input_file test1 input_file testruns/test1
segments 1 segments 78
sex_ratio 0.5112 sex_ratio 0.3333
hetfert 1 hetfert 0
bint 9 bint 24
duration 10 duration 1200
birthtarget 2 100 birthtarget 1 1500
death 1 M married death 1 F divorced
birth 1 F married 0 birth 1 F married 14
transit 1 F married 2 transit 3 M single 2
include rates.segment1 include mortality.seg4
execute ls execute generate_rates 1 5 0 >mortality.seg4 execute sleep 10 execute date execute echo this section isn't very clear
run
daughter->fmult = alpha * mother->fmult + (1 - alpha) * fertmult();
alpha .1
daughter->fmult = 2.5 * exp(beta*log(daughter->fmult/2.5));
beta 1.05
factor birth 1 single 1.1 factor death 1 M single .9 factor transit1 2 M single .9
lc_init 1 F 1938 lc_init 1 M 2030
lc_ax 1 F single
kt_value[i+1] = kt_value[i] + lc->mean + lc->std_dev * normal();The linear continuation after the last value is read is similar, without the standard deviation term.
lc_k_val 1 F -3.5123
lc_k_mean 1 F -.31
lc_k_std_dev 1 F 0
lc_k_start_list 1 M
done