SAMPLE 1 11 READ Y X 0 3 0 4 0 4 0 6 0 3 0 4 0 4 0 6 1 5 1 7 1 7 * LOGIT estimation for the population. LOGIT Y X * Now consider choice-based sampling -- only use half of the * 0 observations. The sample will then have a higher proportion * of the observations at 1 relative to the population. * Specify a weight variable W to contain the sample replication factor. SAMPLE 1 7 READ Y X W 0 3 2 0 4 2 0 4 2 0 6 2 1 5 1 1 7 1 1 7 1 * LOGIT estimation with a biased sample. LOGIT Y X * Now implement weighted estimation to replicate the results * that were obtained with LOGIT estimation for the population. LOGIT Y X / WEIGHT=W NONORM STOP