본문 바로가기
Stata

[stata] stripplot tutorial - combining CDF, qunatile plot, box plot, beanplot

2017. 9. 5.

ssc inst stripplot


. stripplot rent




. stripplot rent_house rent_office



. stripplot rent_house rent_office, cumul

* This is CDF!

Different y-axis according to group size




. stripplot rent_house rent_office, cumul cumprob

same y-axis scale

CDF



 horizontal -> vertical


. stripplot rent_house rent_office, cumul cumprob verti



Add box plot
. stripplot rent_house rent_office, cumul box   ysize(2)



Stack

. stripplot rent_house rent_office,  box ysize(2) stack




Height (default is 0.8)

. stripplot rent_house rent_office,  box ysize(2) cumul  height(1)




Center

stripplot rent_house rent_office,  box ysize(2) cumul  center



refline (default is mean)

. stripplot rent_house rent_office, verti  cumul  center refline xsize(3)



댓글