명령어 설명 .help 도움말 .findit the broadest possible keyword search .summarize descriptive statistics .regress regression # interaction i categorical variable .type content of a file .do execute a do file .log save output *, //, /* */ comment .set matsize set variable limits .scalar store a single number or a string .display show variable content .matrix define create a matrix .quietly skip print log lines .return list list available types for r() r() result call e() estimate call .ereturn list list avaialbe types for e() .global global macro definition .local local macro definition .generate create a new variable .foreach [var] of [variable list] iterate a list value .forvalues [i]=1/4 iterate i from 1 to 4 .forvalues i=1(2)11 from 1 to 11 by step 2 'var' call local variable var .while `i`<=4 {...} continues unti a condition is no longer met .clear remove current dataset .save save a current dataset as .dta .use read a dta file