Patterns in static


apop_parts_wanted_settings Struct Reference

Data Fields

char covariance
char info
char predicted
char tests

Detailed Description

The default is for the estimation routine to give some auxiliary information, such as a covariance matrix, predicted values, and common hypothesis tests. Some uses of a model depend on these items, but if they are a waste of time for your purposes, this settings group gives a quick way to bypass them all.

Adding this settings group to your model without changing any default values—

Apop_model_add_group(your_model, apop_parts_wanted);

—will turn off all of the auxiliary calculations covered, because the default value for all the switches is 'n', indicating that all elements are not wanted.

From there, you can change some of the default 'n's to 'y's to retain some but not all auxiliary elements. If you just want the parameters themselves and the covariance matrix:

Apop_model_add_group(your_model, apop_parts_wanted, .covariance='y');
  • Not all models support this, although the models with especially compute-intensive auxiliary info do (e.g., the maximum likelihood estimation system). Check the model's documentation.
  • Tests may depend on covariance, so .covariance='n', .tests='y' may be treated as .covariance='y', .tests='y'.