Statistics Notes

Moving Average Models ๐Ÿ‡บ๐Ÿ‡ธ

Moving Average (MA) models are part of time series analysis in statistics, used for forecasting and understanding past data. They are crucial for analyzing data points by creating a series of averages of different subsets of the full data set...

Introduction to Distributions ๐Ÿ‡บ๐Ÿ‡ธ

A distribution is a function that describes the probability of a random variable. It helps to understand the underlying patterns and characteristics of a dataset. Distributions are widely used in statistics, data analysis, and machine learning for tasks such as hypothesis testing, confidence interva...

Total Probability ๐Ÿ‡บ๐Ÿ‡ธ

The law of total probability allows for the computation of the probability of an event A based on a set of mutually exclusive and exhaustive events. It's particularly useful when the overall sample space is divided into several distinct scenarios, or partitions, that cover all possible outcomes. The...

Stationarity ๐Ÿ‡บ๐Ÿ‡ธ

Stationarity is a fundamental concept in time series analysis. A time series is considered stationary if its statistical propertiesโ€”such as mean, variance, and autocovarianceโ€”remain constant over time. Stationary processes are crucial in time series modeling because many methods, such as ARIMA and A...

Seasonality and Trends ๐Ÿ‡บ๐Ÿ‡ธ

Seasonality and trends are fundamental components in time series data that significantly impact analysis and forecasting. Understanding and correctly modeling these elements are crucial for accurate predictions and effective time series modeling...

Autocovariance Function ๐Ÿ‡บ๐Ÿ‡ธ

Autocovariance functions describe how values of a time series relate to their lagged counterparts, measuring the joint variability between a series at time $t$ and its value at a previous time $t-k$ (where $k$ is the lag). In autoregressive models, these relationships are expressed through coefficie...

Series ๐Ÿ‡บ๐Ÿ‡ธ

A sequence is an ordered list of numbers that can be viewed as a function mapping each natural number $n$ to a specific value $a_n$. More formally, a sequence ${a_n}$ is a function whose domain is the set of natural numbers, and the values are called the terms of the sequence...

Difference Equations ๐Ÿ‡บ๐Ÿ‡ธ

A difference equation (also known as a recurrence relation) defines each term of a sequence based on previous terms. In some cases, the general term of a sequence is given explicitly (e.g., $a_n = 3n + 2$, resulting in the sequence $5, 8, 11, \dots$). However, more commonly, a difference equation pr...

Autocorrelation Function ๐Ÿ‡บ๐Ÿ‡ธ

In time series analysis, understanding the relationships between observations at different time lags is crucial for model identification and forecasting. Two essential tools for analyzing these relationships are the Autocorrelation Function (ACF) and the Partial Autocorrelation Function (PACF)...

Yule Walker Equations ๐Ÿ‡บ๐Ÿ‡ธ

The Yule-Walker equations are a set of linear equations that relate the autocorrelations of an autoregressive (AR) process to its parameters. These equations are crucial for estimating the parameters of AR models and for understanding the autocorrelation structure of the process...

Autoregressive Models ๐Ÿ‡บ๐Ÿ‡ธ

Autoregressive (AR) models are fundamental tools in time series analysis, used to describe and forecast time-dependent data. An AR model predicts future values based on a linear combination of past observations. The order of an AR model, denoted as ( p ), indicates how many lagged past values are us...

Random Walk ๐Ÿ‡บ๐Ÿ‡ธ

The random walk is a fundamental and widely used time series model, often applied in finance to represent stock prices and other economic indicators. The idea behind the random walk is that the value of the process at time $t$ is the sum of its value at time $t-1$ and a random shock (or noise). Esse...

Backward Shift Operator ๐Ÿ‡บ๐Ÿ‡ธ

The backward shift operator (denoted by $B$) is a powerful tool in time series analysis, used to simplify the notation and manipulation of time series models. The operator shifts the time index of a time series back by one period, making it useful in autoregressive, moving average, and mixed models...

Time Series ๐Ÿ‡บ๐Ÿ‡ธ

Time series data consists of sequential observations collected over a period of time. This kind of data is prevalent in a range of fields such as finance, economics, climatology, and more. Time series analysis involves the exploration of this data to identify inherent structures such as patterns or ...

Invertibility ๐Ÿ‡บ๐Ÿ‡ธ

In time series modeling, invertibility is the property of a model that allows the innovation process (also called the noise or disturbance process) to be expressed as a function of the observed series and its past values. This is particularly relevant for Moving Average (MA) models...

Logistic Regression ๐Ÿ‡บ๐Ÿ‡ธ

Logistic regression is a statistical method used for modeling the probability of a binary outcome based on one or more predictor variables. It is widely used in various fields such as medicine, social sciences, and machine learning for classification problems where the dependent variable is dichotom...

Correlation ๐Ÿ‡บ๐Ÿ‡ธ

Correlation is a statistical measure that quantifies the strength and direction of the linear relationship between two variables. It is a fundamental concept in statistics, enabling researchers and analysts to understand how one variable may predict or relate to another. The most commonly used corre...

Conditional Probability ๐Ÿ‡บ๐Ÿ‡ธ

Conditional Probability is the likelihood of an event occurring given that another event has already occurred. It is denoted as $P(A|B)$, representing the probability of event $A$ happening, assuming event $B$ has already taken place. This concept is crucial in understanding dependent events in prob...

Introduction to Probability ๐Ÿ‡บ๐Ÿ‡ธ

Probability theory offers a structured approach to assessing the probability of events, allowing for logical and systematic reasoning about their likelihood...

Descriptive Statistics ๐Ÿ‡บ๐Ÿ‡ธ

Descriptive statistics offer a summary of the main characteristics of a dataset or sample. They facilitate the understanding and interpretation of data by providing measures of central tendency, dispersion, and shape. In this section, we will discuss the essential concepts and measures in descriptiv...

Standard Error and Lln ๐Ÿ‡บ๐Ÿ‡ธ

Expected Value (E), also known as the mean, is the long-run average of a random variable, representing the value we anticipate on average from repeated random draws from a population...

Bayes Theorem ๐Ÿ‡บ๐Ÿ‡ธ

Bayes' theorem provides a way to update our probability estimates for an event based on new evidence. It connects the conditional and marginal probabilities of events, allowing us to revise our predictions or hypotheses in light of additional information. The theorem is stated mathematically as...

Axioms of Probability ๐Ÿ‡บ๐Ÿ‡ธ

Probability theory is based on a set of principles, or axioms, that define the properties of the probability measure. These axioms, first formalized by the Russian mathematician Andrey Kolmogorov, are the foundation upon which the entire framework of probability is built...

Metrics ๐Ÿ‡บ๐Ÿ‡ธ

Evaluation metrics are essential tools for assessing the performance of statistical and machine learning models. They provide quantitative measures that help us understand how well a model is performing and where improvements can be made. In both classification and regression tasks, selecting approp...

Forecasting ๐Ÿ‡บ๐Ÿ‡ธ

Time series forecasting is a technique used to predict future values based on historical data. It is widely used in various fields, such as finance, economics, and meteorology. In this section, we will discuss the basics of time series forecasting...

Binomial Distribution ๐Ÿ‡บ๐Ÿ‡ธ

A discrete random variable X follows a binomial distribution if it represents the number of successes in a fixed number of Bernoulli trials with the same probability of success. The binomial distribution is denoted as $X \sim \text{Binomial}(n, p)$, where n is the number of trials and p is the proba...

Geometric Distribution ๐Ÿ‡บ๐Ÿ‡ธ

A discrete random variable X follows a geometric distribution if it represents the number of trials needed to get the first success in a sequence of Bernoulli trials. The geometric distribution is denoted as $X \sim \text{Geometric}(p)$, where p is the probability of success on each trial...

Negative Binomial Distribution ๐Ÿ‡บ๐Ÿ‡ธ

A discrete random variable X follows a negative binomial distribution if it represents the number of trials required to achieve a specified number of successes in a sequence of independent Bernoulli trials. The negative binomial distribution is often denoted as $X \sim \text{NegBinomial}(r, p)$, whe...

Poisson Distribution ๐Ÿ‡บ๐Ÿ‡ธ

A discrete random variable X follows a Poisson distribution if the events occur independently and at a constant average rate. The Poisson distribution is denoted as $X \sim \text{Poisson}(\lambda)$, where $\lambda$ is the average rate (or mean) of events occurring in a given interval...

Student T Distribution ๐Ÿ‡บ๐Ÿ‡ธ

The Student's t-distribution, or simply t-distribution, is a continuous probability distribution that arises when estimating the mean of a normally distributed population in situations where the sample size is small and the population standard deviation is unknown. The t-distribution is denoted as ...

F Distribution ๐Ÿ‡บ๐Ÿ‡ธ

The F-distribution, also known as the Fisher-Snedecor distribution, is a continuous probability distribution that arises in hypothesis testing when comparing the variances of two normally distributed populations. The F-distribution is denoted as $X \sim F(d_1, d_2)$, where $d_1$ and $d_2$ are the de...

Exponential Distribution ๐Ÿ‡บ๐Ÿ‡ธ

The exponential distribution is a continuous probability distribution that models the time between events in a Poisson point process. The exponential distribution is denoted as $X \sim \text{Exp}(\lambda)$, where $\lambda$ is the rate parameter...

Chi Square Distribution ๐Ÿ‡บ๐Ÿ‡ธ

A chi-square distribution is a continuous probability distribution of the sum of the squares of k independent standard normal random variables. The chi-square distribution is denoted as $X \sim \chi^2(k)$, where k is the number of degrees of freedom...

Gamma Distribution ๐Ÿ‡บ๐Ÿ‡ธ

A continuous random variable X follows a gamma distribution if it is used to model the time until an event occurs a specific number of times. The gamma distribution is a two-parameter family of continuous probability distributions and is often denoted as $X \sim \text{Gamma}(\alpha, \beta)$, where ...

Uniform Distribution ๐Ÿ‡บ๐Ÿ‡ธ

A continuous random variable X follows a uniform distribution over an interval [a, b] if it has a constant probability density over that interval. The uniform distribution is denoted as $X \sim \text{Uniform}(a, b)$...

Beta Distribution ๐Ÿ‡บ๐Ÿ‡ธ

A continuous random variable X follows a beta distribution if it is used to model the behavior of random variables that are constrained to intervals of finite length, often [0,1]. The beta distribution is characterized by two shape parameters, $\alpha$ and $\beta$, and is denoted as $X \sim \text{Be...

Normal Distribution ๐Ÿ‡บ๐Ÿ‡ธ

A continuous random variable X follows a normal distribution, denoted as $X \sim \mathcal{N}(\mu,\,\sigma^{2})$. The normal distribution is characterized by its bell shape and symmetry. The majority of the values are concentrated around the mean, and there are no extreme values. It can be viewed as ...

Log Normal Distribution ๐Ÿ‡บ๐Ÿ‡ธ

A continuous random variable X follows a log-normal distribution if its natural logarithm is normally distributed. The log-normal distribution is useful in modeling continuous random variables that are constrained to be positive. It is denoted as $X \sim \text{LogNormal}(\mu, \sigma^2)$, where $\mu...

Central Limit Theorem ๐Ÿ‡บ๐Ÿ‡ธ

The Central Limit Theorem (CLT) is a fundamental concept in statistics, explaining why the distribution of sample means approximates a normal distribution, often known as the bell curve, as the sample size becomes larger, irrespective of the population's original distribution...

Normal Curve and z Score ๐Ÿ‡บ๐Ÿ‡ธ

A normal distribution (often referred to as the normal curve or Gaussian distribution) is a continuous probability distribution that is symmetric about the mean, where most of the observations cluster around the central peak and taper off symmetrically towards both ends. Many real-world datasets suc...

Multiple Regression ๐Ÿ‡บ๐Ÿ‡ธ

Multiple linear regression is a statistical technique used to model the relationship between a single dependent variable and two or more independent variables. It extends the concept of simple linear regression by incorporating multiple predictors to explain the variability in the dependent variable...

Covariance ๐Ÿ‡บ๐Ÿ‡ธ

Covariance is a fundamental statistical measure that quantifies the degree to which two random variables change together. It indicates the direction of the linear relationship between variables...

Simple Linear Regression ๐Ÿ‡บ๐Ÿ‡ธ

Simple linear regression is a fundamental statistical method used to model the relationship between a single dependent variable and one independent variable. It aims to find the best-fitting straight line through the data points, which can be used to predict the dependent variable based on the indep...

Introduction to Statistics ๐Ÿ‡บ๐Ÿ‡ธ

Statistics is an empirical science, focusing on data-driven insights for real-world applications. This guide offers a concise exploration of statistical fundamentals, aimed at providing practical knowledge for data analysis and interpretation...

Bayesian vs Frequentist ๐Ÿ‡บ๐Ÿ‡ธ

Bayesian and frequentist statistics are two distinct approaches to statistical inference. Both approaches aim to make inferences about an underlying population based on sample data. However, the way they interpret probability and handle uncertainty is fundamentally different...

Probability Tree ๐Ÿ‡บ๐Ÿ‡ธ

Probability trees are a visual representation of all possible outcomes of a probabilistic experiment and the paths leading to these outcomes. They are especially helpful in understanding sequences of events, particularly when these events are conditional on previous outcomes...

Geometric Probability ๐Ÿ‡บ๐Ÿ‡ธ

Geometric probability is a fascinating branch of probability theory where outcomes are associated with geometric figures and their measuresโ€”such as lengths, areas, and volumesโ€”rather than discrete numerical outcomes. It often deals with continuous random variables and employs integral calculus to ca...