Memuat
Memuat
Moving Average and Smoothing for Human Resource Management
0 views
Apply Moving Average and Smoothing to synthetic data to forecast monthly job applicants with vacancies and graduation season and measure the error on test data. A moving average averages values over a time window to damp random fluctuation and reveal the trend. It is used when exploring a time series or as a simple benchmark forecast.

Apply Moving Average and Smoothing to synthetic data to forecast monthly job applicants with vacancies and graduation season and measure the error on test data.
| Role | Variable | Unit |
|---|---|---|
| Main | Number of applicants | orang |
| Supporting 1 | Number of vacancies | lowongan |
| Supporting 2 | Graduation season index | indeks |
A window-7 moving average smooths Number of applicants with an RMSE of 13.697 against the raw series and removes 42.2% of short-run variation.
Computed from illustrative synthetic data, not from a real study.
A moving average averages values over a time window to damp random fluctuation and reveal the trend. It is used when exploring a time series or as a simple benchmark forecast.
Explain how window width affects smoothness and lag, then report the MAE of the simple forecast. Stress that the method does not model seasonality explicitly.
A short starting script with this project's variable names. The delivered version is adapted to your data and fully commented.
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
rng = np.random.default_rng(10)
n = 120
number_of_vacancies = np.arange(n)
number_of_applicants = pd.Series(50 + 0.3 * number_of_vacancies + 5 * np.sin(2 * np.pi * number_of_vacancies / 12) + rng.normal(0, 3, n))
ma3 = number_of_applicants.rolling(3).mean()
ma12 = number_of_applicants.rolling(12).mean()
ema = number_of_applicants.ewm(span=12, adjust=False).mean()
# One-step forecast: the MA of the previous window predicts the next value
for w in (3, 6, 12):
fc = number_of_applicants.rolling(w).mean().shift(1)
mae = (number_of_applicants - fc).abs().mean()
print("Window", w, "MAE:", round(mae, 3))
plt.figure(figsize=(9, 4))
plt.plot(number_of_vacancies, number_of_applicants, alpha=0.4, label="Raw")
plt.plot(number_of_vacancies, ma3, label="SMA 3")
plt.plot(number_of_vacancies, ma12, label="SMA 12")
plt.plot(number_of_vacancies, ema, "--", label="EMA 12")
plt.xlabel("Time"); plt.legend()
plt.show()Choose how much help you need. Each higher package includes everything in the lower ones. Prices exclude 11% VAT.
Package 1
US$19
excl. 11% VAT
Duration: 3 working days
Output: Python files + result figures
Deliverables
Package 2 · most chosen
US$56
excl. 11% VAT
Duration: 7 working days
Output: Code + analysis + interpretation notes
Includes all of Package 1, plus
Package 3
US$125
excl. 11% VAT
Duration: 12-15 working days
Output: Code + analysis + guidance until ready to present
Includes all of Packages 1 & 2, plus
Yes. Moving Average and Smoothing is commonly used at this level in Human Resource Management. We adapt the analysis to your research question, your own data and your supervisor's requirements.
No. The sheet is computed from illustrative synthetic data so you can see the kind of output Python gives. For your order we run the same method on your own data.
That is the point of the packages. Every script is commented, and Package 3 includes two coaching sessions plus practice questions so you can explain the method and the results at your seminar and defence.
Each project has three packages: Package 1 (code and explanation) US$19, Package 2 (your data analysis and interpretation) US$56 and Package 3 (full guidance) US$125, excluding 11% VAT. Larger datasets, extra methods or tight deadlines adjust the quote after a short consultation.
The result sheet uses illustrative synthetic data. Python is a trademark of the Python Software Foundation.
Back to Python portfolio