Section 1##### Stata Tips and Tricks - Commands

1

Stata Version

2

do file, log file and Stata Workflow

3

setup stata

4

help

5

input data

6

load, import, export data

7

copy and paste data from Excel and SPSS

8

date

9

convert data type

10

format

11

list

12

save

13

display

14

codebook

15

describe

16

count

17

tabulate

18

summarize

19

inspect

20

label data, label variable

21

label value

22

notes

23

numlabel

24

sort

25

order

26

lookfor

27

_n and _N

28

assert

29

generate

30

egen lesson 1

31

egen lesson 2

32

replace

33

recode

34

rename

35

drop keep

36

compress

37

round ceil floor

38

isid

39

append

40

merge

41

joinby

42

reshape

43

append merge joinby reshape

44

inlist

45

inrange

46

duplicates

47

compare

48

cf – compare database

49

sample splitesample

50

quietly noisily

51

mrtab

52

personage

53

univar

Section 2##### Stata Tips and Tricks - How to

1

How to recode continuous to categorical

2

How to add comments in do file

3

How to check colorstyle, palette, scheme

4

How to customize function keys

5

How to debug error messages

6

How to handle and understand missing value

7

How to explore missing value

8

How to pause for large long output

9

How to set memory usage

10

How to export output as excel

11

How to export output as word (asdoc)

12

How to save interactive commands as do file

13

How to recover data from a graph

14

How to edit graph and standardize graph using graph recorder

15

How to combine graphs

16

How to have multiple axes on a graph

17

How to recover graph code

Section 3##### Stata Tips and Tricks - Data Visualization

1

Bar graph

2

Box plot

3

Histogram

4

Line graph

5

Pie chart

6

Scatter plot

7

Dot plot

8

Drop line (lollipop)

9

Diagnostic plot

10

Range Area graph

11

Radar

12

Violin plot

13

catplot

14

tabplot

15

spineplot

16

slideplot

17

corrtable

18

histogram with a boxplot (histbox)

19

variance-covariance matrix (plotmatrix)

Section 4##### Stata Tips and Tricks - Meta Programming

Section 5##### Stata Ebooks

1

Statistics with STATA Version 12 by Lawrence C. Hamilton

2

Data Analysis Using Stata, Third Edition by Ulrich Kohler, Frauke Kreuter

3

Seventy-six Stata Tips 2e, H. Joseph Newton, Nicholas J. Cox

4

A Visual Guide to Stata Graphics by by Michael N. Mitchell

5

The Mata Book A Book for Serious Programmers and Those Who Want to Be by William W. Gould

X

X

## Questions

My Question