Skip to content
Pusat Penelitian, Pengabdian kepada Masyarakat dan Publikasi Internasional
twitter
youtube
instagram
Pusat Penelitian, Pengabdian kepada Masyarakat dan Publikasi Internasional
Call Support 0822-7473-7806
Email Support [email protected]
Location Jl. Kolam No. 1 Medan Estate
  • Beranda
  • Tentang
    • Profil
    • Visi dan Misi
    • Struktur Organisasi
    • Pimpinan Pusat
    • Program Kerja
    • Sasaran, Program Strategis dan IK
  • Berita Kegiatan
  • Layanan & Informasi
    • Aplikasi
      • UMA
        • Penjaminan Mutu
        • Himpunan Aplikasi Online
        • Jurnal Ilmiah Online
        • Repositori UMA
        • Open Access Public Catalog
      • Unit
        • Aplikasi Penelitian & Pengabdian (LIPAN)
        • SWAMP-D
        • SUSITAO
        • SINTA Verifikator
        • BIMA Kemdiktisaintek
    • Arsip Digital
    • Helpdesk
    • Pendanaan
      • Penelitian
        • Penelitian Pendanaan Nasional
        • Penelitian Kerjasama Internasional
      • Pengabdian Kepada Masyarakat
        • PKM Pendanaan Nasional
    • Publikasi
      • Internasional Bereputasi
    • Reviewer Penelitian dan PKM
  • Kerjasama
  • Jadwal Kegiatan

Regression Analysis: Predicting the Future with Data

Posted on June 10, 2025June 29, 2025 by Fachrur Rozi
0

In the world of data science, understanding relationships between variables is key to making informed predictions. One of the most fundamental and widely used techniques to achieve this is regression analysis. From forecasting sales to estimating the impact of pricing strategies, regression helps businesses and researchers turn raw data into meaningful insight.


What is Regression Analysis?

Regression analysis is a supervised learning technique used to model and analyze the relationship between a dependent variable (target) and one or more independent variables (predictors). The goal is to predict a continuous outcome.

📌 Examples:

  • Predicting house prices based on location, size, and age
  • Estimating income based on education level and years of experience
  • Forecasting demand for products

Types

  1. Linear
    • Models the relationship with a straight line
    • Equation: Y = β0 + β1X + ε
  2. Multiple Linear
    • Extends linear regression to multiple predictors
    • Equation: Y = β0 + β1X1 + β2X2 + ... + βnXn + ε
  3. Polynomial
    • Fits a nonlinear relationship using higher-degree terms
    • Useful when the data shows curves
  4. Ridge & Lasso
    • Regularized versions of linear regression
    • Handle multicollinearity and overfitting by penalizing large coefficients
  5. Logistic
    • Despite its name, it’s used for classification, not regression
    • Predicts the probability of a binary outcome
  6. Support Vector Regression (SVR)
    • Powerful for non-linear regression using kernels
  7. Decision Tree / Random Forest
    • Tree-based models for capturing complex, nonlinear relationships

Linear: A Simple Example in Python

from sklearn.linear_model import LinearRegression
from sklearn.model_selection import train_test_split
import pandas as pd

# Example data
data = pd.DataFrame({
    'experience': [1, 2, 3, 4, 5],
    'salary': [30, 35, 45, 50, 60]
})

X = data[['experience']]
y = data['salary']

# Train-test split
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)

# Fit model
model = LinearRegression()
model.fit(X_train, y_train)

# Predict
predictions = model.predict(X_test)
print("Predicted Salaries:", predictions)

Evaluating Models

To measure how well a regression model performs, we use metrics such as:

  • R² (R-squared): Proportion of variance explained by the model (1 is best)
  • Mean Absolute Error (MAE): Average absolute difference between prediction and actual
  • Mean Squared Error (MSE): Average squared error
  • Root Mean Squared Error (RMSE): Square root of MSE, penalizes large errors

Real-World Applications

Domain Use Case
Real Estate Predicting house prices
Marketing Estimating customer lifetime value (CLV)
Finance Forecasting stock prices or loan defaults
Agriculture Yield prediction based on weather data
Healthcare Predicting hospital stay duration

Challenges

  • Multicollinearity: When predictors are highly correlated
  • Outliers: Can distort predictions and reduce accuracy
  • Overfitting: The model learns the noise, not the signal
  • Assumption Violations: Linearity, homoscedasticity, normality of errors

Conclusion

Its a cornerstone of predictive modeling. Its versatility, interpretability, and statistical foundation make it a must-have tool in any data professional’s toolkit. Whether you’re building a simple linear model or a complex ensemble regressor, regression empowers you to make data-driven predictions with confidence.

Tags: Dosen Terbaik, Kampus Unggulan, Mahasiswa Berprestasi, Sustainable University, UMA Keren, UMA Terbaik, Universitas Swasta, Universitas Terbaik

Berita Terbaru
UMA Kukuhkan Posisi sebagai Kampus Swasta Terbaik di Sumut Versi SJR
Universitas Medan Area kembali mencatatkan pencapaian membanggakan di tingkat nasional dengan meraih predikat sebagai perguruan tinggi swasta terbaik di Sumatera...
UMA Terima Kunjungan STIE Graha Kirana: Perkuat Kolaborasi Tridharma dan Pengelolaan HKI
Medan, 24 April 2026 — Universitas Medan Area (UMA) menerima kunjungan akademik dari Sekolah Tinggi Ilmu Ekonomi (STIE) Graha Kirana...
KAMPUS I
Jalan Kolam Nomor 1 Medan Estate / Jalan Gedung PBSI, Medan 20223
(061) 7360168 CALL CENTER : 0811-6013-888
[email protected]
KAMPUS II
Jalan Sei Serayu No. 70 A / Jalan Setia Budi No. 79 B, Medan 20112
(061) 42402994
[email protected]

Statistik Pengunjung

  • 1
  • 49
  • 41
  • 21,777
  • 23,734
@Copyright 2026 BPDI | Universitas Medan Area

This will close in 10 seconds