Application of random-effects pattern mixture models for missing data in longitudinal studies and implementation of SAS