stata [Stata][Statistics]分位数で変数を作成するコマンド
分位数やパーセントタイルで変数を作成
pctileやxtileを用いる。リンクはこちら。
pctileについて
pctileコマンドは以下の様に用いる。
pctile qrt1 = myvar, nq(n)...
stata
paper
math
AtCoder
math
math
math
AtCoder
books
math