Documentation

Chapter 19 settings and symbol index

This page lists every SAEM/importance-sampling control used by nlmx fit before the detailed theory. Confirm the installed build with nlmx fit --help and $ESTIMATION records.

Purpose Control stream Command line Default
SAEM selection METHOD=SAEM --approximation saem method from $EST; otherwise command default
Maximum burn-in NBURN= --saem-burn 1000 with stationarity test
Stationarity test CTYPE=>0 no dedicated switch on unless explicit NBURN without CTYPE
Accumulation NITER= --saem-iter 300
Chains/subject ISAMPLE= --saem-chains 2
Prior-kernel draws ISAMPLE_M1= control stream only 2
Full random-walk draws ISAMPLE_M2= control stream only 2
Component sweeps ISAMPLE_M3= control stream only 2
Target acceptance IACCEPT= control stream only 0.4
Master random seed SEED= --seed 11456
IMP draws/subject following METHOD=IMP ISAMPLE= --is-samples 300
Worker threads — --threads all cores
Estimation limit MAXEVAL= where applicable --max-iterations 300 classical; SAEM phase controls govern SAEM
Covariance $COVARIANCE --cov-step, --no-cov-step, --cov-matrix control stream

Important symbols: \(J_i(\eta)\) is the full conditional objective; \(J_i^y\) excludes the ETA prior; \(C\) is chain count; \(S_1,S_2\) are stochastic first/second moments; \(\gamma_k\) is step size; \(Q\) is sampled complete-data objective; \(q_i(\eta)\) is the importance proposal; \(M\) is importance draws; ESS is effective sample size.

Results are designed to be bit-identical across thread counts because each subject owns a random stream and sums use fixed order. Seeds do not make a poor chain mix well; they make its stochastic path reproducible.

Next: Why SAEM exists.