/* This program demonstrates how you to produce correlation and regression results usinf Stata. To use these programs you need to: 1. Create a directory on your hard drive called "Regression" 2. Replace the text *****YOUR DRIVE AND PATH NAME HERE***** in the Stata command below with the complete location of this directory. You need the drive and directory. For example, on my home computer I use "c:\data\Regression\". */ * cd "*****YOUR DRIVE AND PATH NAME HERE*****\Examining_Data\" /* HW#4: Regression */ do "SOCY699C-HW4-REGRESS-SETUP.do" /* Create new variables */ do "SOCY699C-HW4-REGRESS-CORR.do" /* Correlations */ do "SOCY699C-HW4-REGRESS-EXAMPLES.do" /* Regression examples */ do "SOCY699C-HW4-REGRESS-POSTESTIMATE.do" /* Postestimation work */ do "SOCY699C-HW4-REGRESS-MARGINS.do" /* Using adjust */ do "SOCY699C-HW4-REGRESS-MARGINSPLOT.do" /* Using margins */ do "SOCY699C-HW4-REGRESS-ESTOUT.do" /* Publication tables */ do "SOCY699C-HW4-REGRESS-XML_TAB.do" /* Spreadsheet table output */