/* These Stat files demonstrate how to create and analyze dummy variables and interaction terms using the GSS data. */ capture clear use "C:\data\gss-98-06.dta" /* Create new measures, recodes, etc. */ do SOCY602-Dummy-CREATE_VARS.do /* Compare t-tests and dummy variable analyses */ do SOCY602-Dummy-TTEST-DMY.do /* Simple interaction term */ do SOCY602-Dummy-INTERACT.do /* Using the adjust postestimation command */ do SOCY602-Dummy-ADJUST.do /* Dummy variables with more than two categories */ do SOCY602-Dummy-DUMMULT.do /* A more complete exmaple */ do SOCY602-Dummy-BIGEXAMPLE.do /* Outputting formatted regression results to the screen */ do SOCY602-Dummy-ESTTAB.do /* Outputting formatted regression results to a file */ do SOCY602-Dummy-ESTOUT.do