* Hypothetical Data * Create uncorrelated X Vars version 16 clear input X1 X2 freq 0 0 125 0 1 125 1 0 125 1 1 125 end expand freq drop freq set seed 123456789 gen Y = (4.5 * X1) + (4.5 * X2) - 4.0 + rlogistic() > 0 order Y X1 X2 sort X1 X2 Y corr Y X1 X2 * nested.ado does the actual analyes nested Y i.X1 i.X2, stub(Hypothetical) description(Hypothetical Data)