Gary King Homepage Previous: EIMODELS Up: EIMODELS Next: Purpose:

Format:

dbufdef = eimodels_def(dbufdef,num,t,x,n,zb,zw);, where dbufdef is an input meta data buffer which contains all the model specifications previously defined as separate EI data buffers (or "" for the first run), and to which the current model definition will be added, num is the scalar integer model number to be assigned to the current model definition, and the rest are defined as in ei: t, x, and n are $ p\times 1$ vectors, zb is a scalar 1 for no covariates or a $ p\times k^b$ matrix of covariates, and zw is the scalar 1 for no covariates or a $ p\times k^w$ matrix of covariates (do not include a constant term). The output, dbufdef, is an updated meta data buffer which contains the current model definition along with the previously stored ones.

dbufrun = eimodels_run(dbufdef);, where an input, dbufdef, is the output meta data buffer from eimodels_def which contains multiple model definitions. The output, dbufrun, is another meta data buffer, containing one data buffer for each data buffer of model specifications in dbufdef.

dbufavg = eimodels_avg(dbufrun);, where dbufrun is the output meta data buffer from eimodels_run containing the results of ei run for multiple models. dbufavg is a regular output data buffer.



Gary King 2006-09-13