STATA 기본 명령어 일람

명령어설명
.help도움말
.finditthe broadest possible keyword search
.summarizedescriptive statistics
.regressregression
#interaction
icategorical variable
.typecontent of a file
.doexecute a do file
.logsave output
*, //, /* */comment
.set matsizeset variable limits
.scalarstore a single number or a string
.displayshow variable content
.matrix definecreate a matrix
.quietlyskip print log lines
.return listlist available types for r()
r()result call
e()estimate call
.ereturn listlist avaialbe types for e()
.globalglobal macro definition
.locallocal macro definition
.generatecreate a new variable
.foreach [var] of [variable list]iterate a list value
.forvalues [i]=1/4iterate i from 1 to 4
.forvalues i=1(2)11from 1 to 11 by step 2
'var'call local variable var
.while `i`<=4 {...}continues unti a condition is no longer met
.clearremove current dataset
.savesave a current dataset as .dta
.useread a dta file

댓글

이 블로그의 인기 게시물

Bradley-Terry Model: paired comparison models

xlwings tutorial - 데이터 계산하여 붙여 넣기

R에서 csv 파일 읽는 법