130 likes | 290 Views
User Guide of Regression in STATA. ENCE688I Class Document. Data Preprocessing. Saving .xlsx file as .csv file. Interface of STATA. Import .csv file into STATA. Import .csv file into STATA. Import .csv file into STATA. Regression Model Command. Regression Model Command.
E N D
User Guide of Regression in STATA ENCE688I Class Document
Data Preprocessing Saving .xlsx file as .csv file
Regression Model Command Example : Dependent Variable: log of household vehicle miles Independent Variables: ln(fuelcost_per mile), ln(income), ln(income)*ln(fuelcost_per mile), ln(fuelcost_per mile)*substitute, ln(vehicle count), substitute, resp_male, worker_count, driver_count, children_count, msacat_1, msacat_2, msacat_3