matrix with mixed data ?

10 ビュー (過去 30 日間)
LO
LO 2019 年 5 月 30 日
コメント済み: LO 2024 年 3 月 5 日
I have some variables of mixed type (categorical and numerical)
I would like to build a table or cell array (or a matrix in general) in which all of them are listed, one per column.
categorical values can be repeated for certain row ranges and can be equal, numerical data are individually different.
what type of matrix would be better to perform statistics ?
a table ? a cell array?
thanks !

採用された回答

Jos (10584)
Jos (10584) 2019 年 5 月 30 日
A table is the most obvious choice for this, especially if you want to do statistics. I suggest you read the manual on tables.
  3 件のコメント
ErikaZ
ErikaZ 2024 年 3 月 4 日
LO, were you able to run CATPCA in Matlab?
LO
LO 2024 年 3 月 5 日
No, but I ended up using a package for R-studio (Factominer) which was quite handy and easy to use. I would recommend trying: http://www.sthda.com/english/articles/31-principal-component-methods-in-r-practical-guide/115-famd-factor-analysis-of-mixed-data-in-r-essentials/

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by