简体   繁体   English

减少变量逻辑回归-MATLAB

[英]Reduce variables logistic regression - MATLAB

I have a very large matrix with 37 subjects and 1770 variables that has two possible outcomes (0/1). 我有一个包含37个主题和1770个变量的非常大的矩阵,该矩阵有两个可能的结果(0/1)。 I am trying to perform logistic regression, but naturally the model is overparameterized. 我正在尝试执行逻辑回归,但是自然地,该模型过于参数化了。 I have tried forward selection with sequentialfs, and I have also tried Lasso (even though this is not a good approach, since the data in each column is not normally distributed). 我已经尝试了使用sequencefs进行正向选择,也尝试了Lasso(尽管这不是一个好方法,因为每一列中的数据不是正态分布的)。

Does anyone have a good idea to what methods, I can use in MATLAB to remove the redundant variables and complete my logistic regression? 有谁知道我可以在MATLAB中使用哪些方法来删除冗余变量并完成逻辑回归?

Cheers! 干杯!

您可以使用SVD或PCA通过删除相关变量来减少参数数量。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM