How to create general linear model fit?

1 visualización (últimos 30 días)
andrew
andrew el 13 de Mzo. de 2014
Respondida: Sean de Wolski el 13 de Mzo. de 2014
I created the following scatter plot:
gscatter(new_data.Income,new_data.ObesityRate,new_data.race,'bgrkm','osx*+',...
8,'on','Median Income','Obesity Percentage');
figure(gcf)
I was wondering how i can create a linear model fit with this? Note: I am trying to do a multiple linear regression.

Respuestas (1)

Sean de Wolski
Sean de Wolski el 13 de Mzo. de 2014
doc glmfit
doc fitlm
A few places to start

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by