.- help for ^meanscor^ (STB-58: sg156) .- Meanscore method for missing covariate data in logistic regression models ------------------------------------------------------------------------- ^meanscor^ depvar [indepvars] [^if^ exp] [^in^ range] [^, first(^varlist^) second(^varlist^) odd(^#^)^ ] Description ------------ ^meanscor^ performs a weighted logistic regression using the mean score method. This function requires the complete covariate(s) to be categorical, and the default output contains the regression coefficient estimates and their standard errors in odds-ratio form. An important area of application of this function is in the analysis of data from a two-stage study. In this type of study, some variables are incomplete due to only a subset of the study subjects being sampled at the second stage. Options ------- ^first(^varlist^)^ specifies the complete covariates (i.e, measured at the first stage). ^second(^varlist^)^ specifies the incomplete covariates (i.e, measured at the second stage). ^odd(^#^)^ specifies whether the odds-ratio (^odd^=1) or regression coefficients (^odd^=0) format is reported. The default value is 1. Examples -------- . ^use sim_miss^ . ^meanscor y x,first(z) second(x)^ . ^use ectopic^ . ^meanscor y gonn-chlam, first(gonn-sexptn) second(chlam)^ Authors ------- Marie Reilly Dept. of Epidemiology & Public Health marie.reilly@@ucc.ie Agus Salim Dept. of Statistics University College Cork, Cork, Ireland Also see -------- STB: STB-58: sg156 Manual : [R] logit, glm On-line: help for @logit@, @glm@, @msnprev@