Regression model for multiple data sets

조회 수: 22 (최근 30일)
Amir Hessari
Amir Hessari 2022년 4월 20일
답변: Akshat Dalal 2023년 11월 22일
Hi, I have 54 cases of data with 6 independent variable which i have extracted from my simulations. one of my variables is the range which is simply 720-1440 but the other variables are assigned values for my simulation. I'm having a hard time finding the suitable regression method which allows me to find the expression for the parameter expressed by the variables.If someone could point me toward the right direction that would be much appreciated
  댓글 수: 2
Sam Chak
Sam Chak 2022년 4월 20일
Can you attach a sample of the data?
This may help to suggest a suitable regression method.
Amir Hessari
Amir Hessari 2022년 4월 20일
X is always the given values, but V1-V5 change per case. Basicaly each case that values of V1-V5 a whole graph is generated were x and y values are the X and Y respectively and I'm looking find the relation between the changes in V1-V5 and Y value

댓글을 달려면 로그인하십시오.

답변 (1개)

Akshat Dalal
Akshat Dalal 2023년 11월 22일
Hi Amir,
I understand that you have multiple independent variables and want a suitable regression method to fit your model. When dealing with multiple independent variables, you can use multivariate regression methods to determine the expression for the parameter. Here are a few possible approaches to consider:
  1. Multiple Linear Regression: If you have multiple independent variables and a single dependent variable, multiple linear regression can be a good starting point. This method models the relationship between the independent variables and the dependent variable as a linear equation. You could refer the following documentation to learn more: https://www.mathworks.com/help/stats/regress.html
  2. Polynomial Regression: If the relationship between the independent variables and the dependent variable is nonlinear, you can consider polynomial regression. This method extends linear regression to fit a polynomial equation to the data. You could refer the following documentation to learn more: https://www.mathworks.com/help/matlab/ref/polyfit.html
  3. Ridge Regression: If you have many independent variables and multicollinearity among the variables, ridge regression can be useful. This method adds regularization to the regression model to handle multicollinearity and prevent overfitting. You could refer the following documentation to learn more: https://www.mathworks.com/help/stats/ridge.html
  4. Lasso Regression: This method also adds regularization to the regression model. It is like Ridge regression, and both often yield better results than traditional linear regression models. You could refer the following documentation to learn more: https://www.mathworks.com/help/stats/lasso.html
I hope this helps.

카테고리

Help CenterFile Exchange에서 Linear Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by