lass="level1">
<h1>Diagnostic Mode</h1>
<p>Stan’s diagnostic mode runs a Stan program with data, initializing parameters either randomly or with user-specified initial values, and then evaluates the log probability and its gradients. The gradients computed by the Stan program are compared to values calculated by finite differences.</p>
<p>Diagnostic mode may be configured with two parameters.</p>
<p><strong>Diagnostic Mode Configuration Table.</strong> <em>The diagnostic model configuration parameters, co