@@ -37,11 +37,40 @@ def plot(self, ax):
3737 def get_formula (self ):
3838 return r'f(x) = \frac{1}{2\pi|\Sigma|^{1/2}} \exp\left(-\frac{1}{2}(x-\mu)^T\Sigma^{-1}(x-\mu)\right)'
3939
40- def get_properties (self ):
41- return """
42- - Generalizes univariate normal to multiple dimensions
43- - Characterized by mean vector and covariance matrix
44- - Elliptical contours of constant density
45- - Marginal and conditional distributions are normal
46- - Linear combinations are normally distributed
47- """
40+ def get_properties (self , st ):
41+ st .write ("""
42+ The **Multivariate Normal Distribution** is a generalization of the univariate normal distribution to multiple dimensions.
43+ It is characterized by two parameters:
44+ - **μ (mean vector)**: determines the center of the distribution
45+ - **Σ (covariance matrix)**: determines the shape, spread and orientation of the distribution
46+
47+ Key Properties:
48+ - **Generalizes univariate normal to multiple dimensions**
49+ - **Characterized by mean vector and covariance matrix**
50+ - **Elliptical contours of constant density**
51+ - **Marginal and conditional distributions are normal**
52+ - **Linear combinations are normally distributed**
53+
54+ The probability density function (PDF) is given by:
55+ """ )
56+
57+ st .latex (r'f(x) = \frac{1}{(2\pi)^{n/2}|\Sigma|^{1/2}} \exp\left(-\frac{1}{2}(x-\mu)^T\Sigma^{-1}(x-\mu)\right)' )
58+
59+ st .write ("""
60+ where:
61+ - **x** is an n-dimensional vector
62+ - **μ** is the mean vector
63+ - **Σ** is the covariance matrix
64+ - **|Σ|** is the determinant of Σ
65+
66+ The cumulative distribution function (CDF) does not have a closed form for n>1, but can be expressed as:
67+ """ )
68+
69+ st .latex (r'F(x) = \int_{-\infty}^{x_1}\cdots\int_{-\infty}^{x_n} f(t_1,\ldots,t_n)dt_1\cdots dt_n' )
70+
71+ st .write ("""
72+ Important links:
73+ - [**Maximum Likelihood Estimation**](https://en.wikipedia.org/wiki/Multivariate_normal_distribution#Maximum_likelihood_estimation)
74+ - [**Properties**](https://en.wikipedia.org/wiki/Multivariate_normal_distribution#Properties)
75+ - [**Applications**](https://en.wikipedia.org/wiki/Multivariate_normal_distribution#Applications)
76+ """ )
0 commit comments