Hacer una regresion lineal multiple

8 vues (au cours des 30 derniers jours)
IGNACIO
IGNACIO le 14 Mai 2023
Réponse apportée : Eleida le 1 Juil 2025
Quiero hacer una regresion lineal multiple en la que la variable dependiente sea la puntuacion del informe PISA, la varibale independiente el MODELO de gasto educativo y las variables de control sean Secundaria, Primaria, GINI y GDP per capita

Réponses (2)

Arka
Arka le 18 Août 2023
Hi Ignacio,
MATLAB allows you to perform multiple linear regression using the "regress" function.
You can load your dataset into MATLAB using the "load" function, extract the variables from the dataset, and then perform the regression on the same variables.
You can learn more about "regress" and "load" using the MathWorks documentation links below:
  1. https://www.mathworks.com/help/stats/regress.html
  2. https://www.mathworks.com/help/matlab/ref/load.html
Hope this helps.
Thanks.

Eleida
Eleida le 1 Juil 2025
how to do on matlab Linearize the dataset and perform linear regression on the linearized dataset. Display the slope and intercept/offset of the linear regression model, as well as its coefficient of determination?

Community Treasure Hunt

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

Start Hunting!