Articles

Rendering Architecture

EN

Standard of Iron renders from published simulation snapshots. Gameplay state belongs to the simulation; the renderer receives a detached view of that state, resolves visibility and presentation, records draw work, and submits the result through a backend boundary...

Files and Dirs

EN

One of the fundamental skills is to navigate and manage files and directories effectively. Here, we focus on the crucial concepts that will facilitate your work within the file system...

Quizes

EN

Try answering each question before opening its answer. SQL exercises identify their dialect; syntax and guarantees vary between engines...

Stationarity

EN

Stationarity is a statement about a process across possible realizations, not a demand that one plotted path look flat. Imagine moving an observation window from one date to another. If the relevant probability laws stay the same after that common shift, information from one part of the record can d...

Forecast Evaluation

EN

A backtest recreates forecasting decisions at historical dates. At each date, hide the later observations, run the procedure using the information then available, and score the resulting predictions when their target observations become available. This evaluates a forecasting process rather than how...

Autoregressive Models

EN

An autoregressive model predicts the next observation from observed values of the same series. If high demand tends to be followed by high demand, lagged demand contains predictive information. An AR equation assigns coefficients to that information and adds a new shock for the part the past did not...

Frequency Domain Analysis

EN

A time plot tells us when values rise and fall. Frequency-domain analysis asks which oscillation rates contribute to those movements. A repeating annual pattern in monthly data appears near 1/12 cycles per month; shorter and longer patterns appear at different frequencies. This view can separate ove...

Stochastic Processes and White Noise

EN

Imagine observing daily demand over the same month under many possible sequences of customer arrivals. Each possible sequence is a path. At a fixed date, the different possible demands form a random variable. A stochastic process specifies how those random variables fit together across dates, includ...

Dynamic Regression

EN

Suppose electricity demand depends on temperature, but errors from a temperature-only regression stay positive for several days in a row. The predictor explains one source of movement; the residual runs suggest another. Dynamic regression represents both the predictor relationship and the remaining ...

Invertibility

EN

An MA(1) equation tells us how a current shock and a previous shock combine to form an observation. In practice, however, we observe the combination, not the shocks. To estimate residuals and forecast recursively, we need to work backward from observations to a plausible shock history. Invertibility...

Multivariate Time Series

EN

Related series can carry predictive information for one another. A demand series may respond to earlier prices, while prices respond to earlier demand. Modeling each series separately ignores those cross-lag relationships. A multivariate time-series model writes equations for the variables jointly, ...

Random Walk

EN

A random walk says that the current level is the previous level plus a new increment. If today's shock raises the level by 2, tomorrow starts from that raised level. There is no mean-reverting term that gradually pulls the effect back toward a fixed baseline. Each shock therefore appears once in the...

Difference Equations

EN

Suppose a quantity retains 70% of its previous value and receives an addition of 2 at every step. The rule determines tomorrow's value from today's value; an initial value determines which particular path follows that rule. A difference equation formalizes this kind of discrete-time evolution...

Financial Time Series Models

EN

A price level, its return, and the uncertainty of that return answer different questions. The price records a cumulative level. A return measures proportional change over an interval. A volatility model describes how large an unexpected return is likely to be, even when its sign remains hard to pred...

State Space Models

EN

A noisy measurement need not equal the underlying quantity we want to track. Daily observations can jump because the true level changed, because measurement error changed, or both. A state-space model writes one equation for the hidden state and another for the observation, making those sources of v...

Autocovariance Function

EN

Take two observations from the same series, subtract the appropriate mean from each, and multiply the deviations. A positive product means that both observations are on the same side of their means; a negative product means that they are on opposite sides. Autocovariance is the expectation of this p...

Autocorrelation Function

EN

If today's value is high, does that help predict tomorrow's value? What about the value two periods later? The autocorrelation function (ACF) measures the overall linear association at each separation. The partial autocorrelation function (PACF) asks what remains at a separation after the intermedia...

Arima Models

EN

ARMA, ARIMA, and SARIMA describe related mechanisms at increasing levels of structure. An ARMA model combines feedback from past observations with the effects of current and past shocks around a stable mean. ARIMA first takes differences to remove an integrated level, then models the changes with AR...

Seasonality and Trends

EN

A series can rise over several years while repeatedly dipping at the same time each year. The rise and the repeating dip describe different structure. Trend summarizes persistent movement in level or slope; seasonality describes a pattern associated with a fixed known period. A cycle with an evolvin...

Regression with Arma Errors

EN

A regression can explain the response's relationship with observed predictors while leaving persistent departures around that relationship. Regression with ARMA errors models those departures as a time series. Its two equations distinguish the predictor contribution from the dynamic error; the final...

Forecasting

EN

A forecast answers a dated question: what can be said about a specified future quantity using the information available now? Predicting next month's total sales from today's data is different from predicting tomorrow's sales, and both differ from estimating a past trend with the full record availabl...

Moving Average Models

EN

A moving-average model explains an observation through a short history of shocks. A temporary disruption may affect today's measurement and leave a smaller effect tomorrow, then disappear. An MA(1) encodes that pattern with one current shock and one lagged shock; an MA(q) extends the direct response...

Time Series

EN

A time series records observations in an order that matters. A week of unusually high demand followed by a week of low demand tells us something different from the same values alternating each day. An unordered sample preserves the values but loses that pattern, even though the pattern may determine...

Yule Walker Equations

EN

An AR equation predicts the next value from earlier values. The Yule-Walker equations describe what that prediction rule implies for covariance across lags. Multiply the model by an earlier centered observation, take expectations, and use the innovation's lack of covariance with the past. The result...

Backward Shift Operator

EN

The symbol B means “take the previous observation.” It acts on a sequence: BXₜ = Xₜ₋₁, and applying it twice gives B²Xₜ = Xₜ₋₂. It is useful because a long equation involving many lags can then be written as a polynomial acting on the whole sequence...

Series

EN

A time-series model often says that today's observation contains the effects of many earlier shocks. Writing those effects as an infinite sum is convenient, but it raises a concrete question: does including more history settle on a definite answer, or does the approximation keep changing without lim...

Time Series Modeling

EN

Fitting a time-series model means more than finding coefficients for an equation. The procedure chooses a target, decides how trend and seasonality enter, handles missing observations, estimates dynamic parameters, and produces forecasts from a defined information set. Any of those decisions can aff...

Statistical Moments and Time Series

EN

A mean or variance summarizes a distribution, but a time series adds two questions: which date's distribution, and how are values at different dates related? A single average of the whole record cannot answer both. A rising level can be hidden by that average, and two sequences with identical histog...

Randomness Tests

EN

A noisy-looking plot can still contain structure. Consecutive values may cluster on one side of the mean, changes may alternate unusually often, or large residuals may arrive together. A diagnostic test turns one such observation into a defined statistic and compares it with a reference distribution...

Kod Bajtowy

PL

Kod bajtowy (ang. bytecode) w Pythonie to pośrednia, niskopoziomowa reprezentacja kodu źródłowego, która jest zrozumiała dla wirtualnej maszyny Pythona (Python Virtual Machine, PVM). Kiedy uruchamiamy skrypt Pythona, interpreter nie wykonuje bezpośrednio kodu źródłowego; zamiast tego, najpierw kompi...

Pip i Pypi

PL

PIP (Python Package Installer) to menedżer pakietów dla języka Python, który ułatwia zarządzanie pakietami z repozytorium PyPI (Python Package Index). PIP pozwala na łatwą instalację, aktualizację i usuwanie pakietów, co jest nieocenione przy rozbudowie projektów i zarządzaniu zależnościami...

Enum

PL

Enum (od angielskiego słowa "enumerate" - numerować) to specjalny typ danych w Pythonie, który pozwala na definiowanie uporządkowanych zestawów nazwanych wartości. Wartości te są unikalne i niemodyfikowalne, co czyni je idealnymi do reprezentowania stałych w kodzie...

Project Structure

EN

A useful project structure lets a developer locate a feature, change it, test it, and deploy it without guessing which files own which behavior. Organize a project for its current requirements, then refactor when responsibilities become unclear. There is no universally correct folder tree, and renam...

Protocols

EN

In today’s connected world, front-end developers do far more than style web pages and craft user interfaces. They also need to understand the underlying network protocols that shape how data travels between their applications and the servers that power them. By mastering the inner workings of protoc...

Ux

EN

UX, or User Experience, focuses on designing products and services that meet user needs, preferences, and behaviors. The goal is to make important tasks useful, understandable, accessible, and effective; evaluate these outcomes with users rather than assuming any interface is universally intuitive...