terciles of a distribution

4 ビュー (過去 30 日間)
Danielle Leblance
Danielle Leblance 2018 年 10 月 22 日
回答済み: the cyclist 2018 年 10 月 22 日
Hi,
A is a 10000 x1 vector of numbers. I want to transform the vector to a vector of only 3 values: 1 , 2 , 3 where 1 refers to the lowest Tercile, 3 refers to the upper Tercile ans 2 to the observations in the middle. How can I do the transformation?
Best, Wassim

採用された回答

the cyclist
the cyclist 2018 年 10 月 22 日
Use the quantile command.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultivariate Distributions についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by