Related Experiment Video
Updated: Jan 6, 2026

O-cresol Concentration Online Measurement Based On Near Infrared Spectroscopy Via Partial Least Square Regression
Published on: November 8, 2019
Predicting CO2 emissions in Morocco: exploring the use of ridge regression with data preprocessing and feature impact
Yassine Dani1, Naoual Belouaggadia2, Mustapha Jammoukh2
1Laboratory of Modeling and Simulation of Intelligent Industrial Systems, Higher Normal School of Technical Education, Hassan II University of Casablanca, Mohammedia, Morocco. yassinedani98@gmail.com.
Ridge regression accurately predicts Morocco's CO2 emissions, driven by oil consumption. Increasing renewable energy deployment offers significant potential for climate change mitigation.
Area of Science:
- Environmental Science
- Econometrics
- Climate Modeling
Background:
- Morocco faces challenges in managing CO2 emissions influenced by energy, economic, and demographic factors.
- Accurate prediction of carbon dioxide (CO2) emissions is crucial for effective climate change mitigation strategies.
Purpose of the Study:
- To apply and evaluate ridge regression (RR) for predicting CO2 emissions in Morocco.
- To compare the performance of RR against LASSO, ElasticNet, and linear regression models.
- To identify key drivers of CO2 emissions and assess the impact of renewable energy policies.
Main Methods:
- Utilized time-series data from 1965-2021 for Morocco, incorporating ten variables.
- Applied ridge regression (RR), LASSO regression, ElasticNet regression, and linear regression.
- Performed feature importance analysis and policy scenario testing for renewable energy targets.
Main Results:
- The RR model achieved the highest prediction accuracy (R² = 0.994), outperforming other methods.
- Oil consumption was identified as the primary driver of CO2 emissions (129% standardized effect), followed by coal (9%).
- Renewable and hydro energy generation demonstrated a negative correlation with emissions, indicating a mitigating effect.
Conclusions:
- Ridge regression is a reliable tool for environmental modeling and CO2 emission prediction.
- Achieving Morocco's 2030 renewable energy target could reduce annual emissions by approximately 0.67 Mt.
- Expanding renewable energy deployment is strategically vital for Morocco's climate mitigation efforts.
Related Concept Videos
Regression Analysis
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:
Calculating and Interpreting the Linear Correlation Coefficient
Multiple Regression
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...
Residual Plots
When the residual values are plotted against the variable x, it is called a residual...
Residuals and Least-Squares Property
If the observed data point lies above the line, the residual is positive, and the line underestimates the actual data value for y. If the observed data point lies below the line, the residual is negative, and the line overestimates the actual data value for y.
The process of fitting the best-fit...
Correlation and Regression

