Publications by Selcuk Disci

Modeling with Interaction Terms, and Waffle Chart for Comparing: Immigration Flow to the West

31.05.2022

There has been a massive debate about the refugee crisis in Turkey for a long time. Turkish people blame immigrants (mostly from Syria) for the worsening economy, and they believe that the immigrants are in wealthy conditions while they themselves suffer from bad economic conditions. I want to check the accuracy of these claims. First, we will co...

2419 sym R (4281 sym/3 pcs) 6 img

Food Crisis Analysis and, Forecasting with Neural Network Autoregression

30.06.2022

The war between Russia and Ukraine has affected the global food supply other than many vital things. Primarily cereal crop products have been affected the most because the imports have been provided to the world mainly through Ukraine and Russia. Let’s check the situation we’ve mentioned for G20 countries. library(tidyverse) library(fpp3) lib...

2309 sym R (3385 sym/6 pcs) 6 img

Comparing Plastic Pollution: Modeling with Tidymodels and Variable Importance

29.07.2022

Plastic wastes are one of the most dominant pollution factors in the environment as we live in an era where modern industries exist. The most dangerous part of this kind of pollution is mismanaged plastic waste, which ends up mixing into the ocean in the end. Our World in Data, which we’ll be taking the data for this article, claims that lower-...

1831 sym R (4309 sym/4 pcs) 4 img

Trend Forecasting Models and Seasonality with Time Series

02.03.2020

Gasoline prices always is an issue in Turkey; because Turkish people love to drive where they would go but they complain about the prices anyway. I wanted to start digging for the last seven years’ prices and how they went. I have used unleaded gasoline 95 octane prices from Petrol Ofisi which is a fuel distribution company in Turke...

6951 sym R (4087 sym/22 pcs) 84 img

Trend Forecasting Models and Seasonality with Time Series

11.03.2020

Gasoline prices always is an issue in Turkey; because Turkish people love to drive where they would go but they complain about the prices anyway. I wanted to start digging for the last seven years’ prices and how they went. I have used unleaded gasoline 95 octane prices from Petrol Ofisi which is a fuel distribution company in Turkey. I arrange...

6914 sym R (4085 sym/22 pcs) 84 img

Testing the Correlation between Time Series Variables

17.03.2020

In the previous article, we examined trends and seasonality in gasoline prices in Turkey. This time we will examine whether the gasoline prices are related to the variables that are thought to affect gasoline prices the most by the Turkish people. One of the variables is the Brent crude oil prices that are averaged monthly in dollars; the other i...

3478 sym R (1492 sym/7 pcs) 30 img

Turkey vs. Germany: COVID-19

31.05.2020

In Turkey, some parts of society always compare Turkey to Germany and think that we are better than Germany for a lot of issues. The same applies to COVID-19 crisis management; is that reflects to true? We will use two variables for compared parameters; the number of daily new cases and daily new deaths.First, we will compare the mean of new cas...

3995 sym R (3420 sym/7 pcs) 72 img

Model Selection: Adjusted Coefficient of Determination-Variance Tradeoff

10.07.2020

In my previous article, we analyzed the COVID-19 data of Turkey and selected the cubic model for predicting the spread of disease. In this article, we will show in detail why we selected the cubic model for prediction and see whether our decision was right or not. When we analyze the regression trend models we should consider overfitting and unde...

3321 sym R (1345 sym/5 pcs) 28 img

Time Series Forecasting: KNN vs. ARIMA

29.09.2020

It is always hard to find a proper model to forecast time series data. One of the reasons is that models that use time-series data often expose to serial correlation. In this article, we will compare k nearest neighbor (KNN) regression which is a supervised machine learning method, with a more classical and stochastic process, autoregressive inte...

7392 sym R (2621 sym/10 pcs) 38 img

Approaches to Time Series Data with Weak Seasonality

23.10.2020

In the previous article, we have tried to model the gold price in Turkey per gram. We will continue to do that to find the best fit for our data. When we chose the KNN and Arima model, we saw the traditional Arima model was much better than the KNN, which is a machine learning algorithm. This time we will try the regression model as a machine lea...

5079 sym R (1827 sym/5 pcs) 50 img