Multiple imputation regression analysis (diagnostic phase)

TITLE:

section 8.15 data analysis example 2: multiple regression (diagnostic phase);

DATA:

file = employee.dat;

VARIABLE:

! id = employee id;

! age = employee age;

! tenure = years on the job;

! female = gender (0 = male, 1 = female);

! wbeing = psychological well-being;

! jobsat = job satisfaction

! jobperf = job performance;

! turnover = turnover intentions (0 = no, 1 = yes);

! iq = iq score;

names = id age tenure female wbeing jobsat jobperf turnover iq;

! select variables for analysis;

usevariables = age - iq;

! specify missing value code;

missing = all (-99);

ANALYSIS:

! bayesian estimation;

estimator = bayes;

! random number seed for the mcmc algorithm; 

bseed = 48932;

MODEL:

! estimate means;

[age - iq];

! estimate variances;

age - iq;

! estimate covariances;

age - iq with age - iq;

OUTPUT:

! tech8 gives the potential scale reduction factor convergence diagnostic;

tech8;

PLOT:

! time series (and other) plots;

type = plot2;

Questions or suggestions? Email Craig Enders