Regression model for multiple data sets
15 views (last 30 days)
Show older comments
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 Comments
Sam Chak
on 20 Apr 2022
Can you attach a sample of the data?
This may help to suggest a suitable regression method.
Answers (1)
Akshat Dalal
on 22 Nov 2023
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:
- 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
- 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
- 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
- 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.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!