Gary King Homepage Previous: Algorithms for estsimp Up: Formulae - A Peek Next: Algorithms for simqi

Algorithms for setx

setx allows the user to choose real or hypothetical values for the explanatory variables (the $ X$s). The program employs standard formulae for the mean, the minimum, the maximum, percentiles, and other descriptive statistics. If the user is analyzing several imputed datasets, setx will calculate the average statistic across the datasets. For instance, the command setx x1 mean will calculate the mean of x1 in each dataset, and then set x1 equal to the average of those means. Similarly, the command setx x1 x1[3] will obtain the value of x1 in the third row of each imputed dataset, and then set x1 equal to the average of those values.



Gary King 2006-01-04