Multivariate logistic Regression with binary predictors
15 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Geedigit
el 5 de Nov. de 2019
Respondida: Mateus Bringel Oliveira Duarte
el 18 de Nov. de 2020
I have a dataset of 10 independent variables describing whether a symptom of a disease is present or not and then the binary dependent variable of whether the specific disease is present or not. There are approximately 1000 samples, however some of them are missing values for some of the independent variables.
Is it possible to perform multivariate logistic regression with this dataset to predict disease presence or absence? If so, how would I go about doing that in MATLAB?
Thanks in advance!
0 comentarios
Respuestas (2)
Shashank Gupta
el 11 de Dic. de 2019
Hi,
In my opinion you can apply multivariant logistic regression, but you need to take care of the blank or missing values in between, In order to train the model, either you can ignore that particular sample if it has missing value or you can ignore the specific dimension. Also, If you have any prior knowledge of what could be the missing value, you can fill up the data by interpolating it,
There is function “mnrfit”, it’s a multinomial logistic regression function, May be this function can give you a head start where to look for.
I hope it helps.
0 comentarios
Mateus Bringel Oliveira Duarte
el 18 de Nov. de 2020
Hi,
In General Matlab has some difficult to handle with some typical problems in medical research.
Logistic regression is considered a geneleralized linear model, so you can try the function fitglm (https://www.mathworks.com/help/stats/fitglm.html). Note that to extract the OR you can Exponentiate the Variables Estimates ,EXP("x"), It's is crucial you also report the Confidence intervals, and P-value.
Best,
0 comentarios
Ver también
Categorías
Más información sobre Regression en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!