Regression model for multiple data sets
17 次查看(过去 30 天)
显示 更早的评论
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
2022-4-20
Can you attach a sample of the data?
This may help to suggest a suitable regression method.
回答(1 个)
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:
- 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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!