.- help for ^adjmean^ [STB-24: sg33] .- Adjusted means -------------- ^adjmean^ yvar [^if^ exp]^,^ ^by(^xvar^)^ [^adj^ust^(^covlist^)^ ^m^odel ^p^lot graph_options] ^adjmean^ calculates and optionally plots adjusted means and 95% confidence intervals from linear regression estimates. By default, only the estimated means and confidence intervals are displayed. Optionally, model estimates and/or a plot may be displayed. Dummy variables are created from xvar and renamed x1, x2, etc. The highest category defaults to the reference group. Options ------- ^adjust(^covlist^)^ specifies the covariates. If this option is omitted, unadjusted estimates will be reported. ^by(^xvar^)^ specifies the nominal variable that defines the categories for the estimated proportions. This option is required. ^model^ requests the display of the logistic estimates ^plot^ requests a plot of proportions along with their 95% confidence intervals Examples -------- . ^adjmean chol, by(race) adjust(sys age)^ Calculates the mean cholesterol level by race category, adjusted for systolic blood pressure and age . ^adjmean chol, by(ses) adjust(sys age) model l2(Proportion of Deaths)^ ^plot xlabel(1,2,3) ylabel^ Calculates the mean cholesterol by levels of socio- economic status, adjusted for systolic blood pressure and age; displays model and plot . ^adjmean chol, by(grp) adjust(age race sex) plot xlabel(1,2,3,4,5,6) ylabel^ Calculates the mean cholesterol for 6 different groups of patients, adjusted for age, race, and sex; displays plot Note ---- Observations with missing values for yvar, xvar, or any covariates are dropped from the analysis before estimation. Covariates are set to their means based on observations used in the analysis. Author ------ Joanne Garrett, University of North Carolina FAX 919-966-2274 Also see -------- STB: sg33 (STB-24)