FACTREF: Stata module to insert new observations with reference values for factors
factref is used with factext, descsave, parmby and parmest (q.v.). It takes, as input, a data set created by parmby or parmest, in which categorical variables (factors) have been created by descsave and factext. These factors are variables (numeric or string) representing categorical variables in the fitted model, represented by dummy variables such as those created by xi. factref adds to that data set a set of additional observations with reference values for these factors, copied from the omit characteristic for each factor. For each factor, factref creates one reference observation if there are non-missing values for the factor and there is no by-variable list, or one reference observation for each by-group where there are non-missing values of the factor if there is a by-variable list. After the reference observations have been added, the user may create a plot or table of confidence intervals for factor effects.
In order to set up a list of libraries that you have access to,
you must first login
or sign up.
Then set up a personal list of libraries from your profile page by
clicking on your user name at the top right of any screen.