How to create general linear model fit?

1 回表示 (過去 30 日間)
andrew
andrew 2014 年 3 月 13 日
回答済み: Sean de Wolski 2014 年 3 月 13 日
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.

回答 (1 件)

Sean de Wolski
Sean de Wolski 2014 年 3 月 13 日
doc glmfit
doc fitlm
A few places to start

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by