----------------------------------------------- lines 6-49 of file: example/csv/cov_both_xam.py ----------------------------------------------- {xrst_begin csv.cov_both_xam} {xrst_spell haqi } Example and Test of covariate_both ################################## Covariates ********** This example has two covariates, haqi and income. haqi ==== This covariate only depends on age and time; i.e., it is the same for all nodes and both sexes. income ====== This covariate depends on age, time, and sex. It is the same for all nodes. covariate_table *************** The covariate table is shuffled, after it is created, to demonstrate the fact that the order of its rows does not matter. haqi ==== This covariate is the same for all nodes and both sexes. income ====== This covariate is different for each sex, but given sex it is the same for all nodes. Source ****** {xrst_literal # BEGIN_SOURCE # END_SOURCE } {xrst_end csv.cov_both_xam}