Di Stata kita bisa membuat berbagai macam grafik. Berikut beberapa jenis dan contoh grafik yang bisa dibuat dengan command nya.
Grafik | Syntax | |
scatter & line plots | scatter y1 x | ![]() |
range & area plots | twoway rarea y1 y2 x if in , options | ![]() |
bar graph | twoway bar y x | ![]() |
pie chart | graph pie, over(catvar1) | ![]() |
dot charts | graph dot v1 | ![]() |
distribution plots | histogram v1 | ![]() |
ROC analysis | roctab disease rating, graph | ![]() |
Regression fit plots | twoway lfit y x | ![]() |
survival graph | strate | ![]() |
time-series plots | corrgram y; ac y | ![]() |
VAR and VEC | fcast graph f_y1 | ![]() |
source: creating graph