필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Plot multivatiate regression model

조회 수: 2 (최근 30일)
Sarah Yun
Sarah Yun 2019년 12월 31일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello,
I have a simple multivariate linear regression model
3 variables
y variable is profit
2 x-variables, sales and refunds
% Group x variables
G = [sales, profit]
model = fitlm(G, profit);
plot(G, profit)
% The plot is not working.
Any ideas? Thank you.
  댓글 수: 1
Image Analyst
Image Analyst 2019년 12월 31일
편집: Image Analyst 2019년 12월 31일
Can you attach your data for y, sales, and refunds in a .mat file. Make it easy for people to help you, not hard. Thanks. And what sort of model do you want?

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by