capture log close log using icda01a-linear-rev, replace text // program: icda01a-linear-rev.do // task: Review 1 - Linear Regression // project: ICPSR CDA // author: your name \ today's date // #1 // program setup version 10 clear all set linesize 80 matrix drop _all // #2 // Load the data use icpsr_scireview3, clear // #3 // Examine data and select variables describe keep totpub faculty enrol phd // #4 // Drop cases with missing data and verify misschk dropmiss, obs describe tab1 faculty enrol phd, miss // #5 // Regression regress totpub faculty enrol phd // #6 // Standardized coefficients listcoef, help // #7 // Interpretations // #8 // Close log file and exit do file log close exit