terciles of a distribution

4 visualizaciones (últimos 30 días)
Danielle Leblance
Danielle Leblance el 22 de Oct. de 2018
Respondida: the cyclist el 22 de Oct. de 2018
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

Respuesta aceptada

the cyclist
the cyclist el 22 de Oct. de 2018
Use the quantile command.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by