befehle Flashcards
zusammenfassen
summarize
outreg2
age detailiert zusammenfassen wenn 1999 geboren
summarize age if year==1999, detail
comments in do files
comment with one line *
comments of more than one line /* text */
comments within one line // text
line-join indicator: /// at the end of the command, if command is longer than one line
find out working directory
pwd
center of the data
what would be a typical observation
mean
-> sum of observations / number of observations
variability of data
how is the data spread around the centre
standard deviation
value lables, numerical value in same summary
fre
ssc install fre, replace
value lables shown in summary
tabulate
show distribution of var1 in a graphic
-> histogramm
hist var1, frequency
select if the variable has the value 0
if x==0
select if the variable does not have the value 0
if x != 0
select if the variable has a value less than 0
if x< 0
select if the variable has a value greater than or equal to 0 and less than 1
if x >= 0 & x<1
select if the variable has a balue greater than or queal to 0 or a value less than 1
if x >= 0|x<1