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 CenterFile Exchange에서 Multivariate Distributions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by