You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/specs/stdlib_stats_distribution_exponential.md
+8-7
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,12 @@ Experimental
14
14
15
15
### Description
16
16
17
-
An exponential distribution is the distribution of time between events in a Poisson point process. The inverse scale parameter `lambda` specifies the average time between events ($\lambda$), also called the rate of events.
17
+
An exponential distribution is the distribution of time between events in a Poisson point process.
18
+
The inverse scale parameter `lambda` specifies the average time between events (\(\lambda\)), also called the rate of events.
18
19
19
-
Without argument, the function returns a random sample from the standard exponential distribution $E(\lambda=1)$.
20
+
Without argument, the function returns a random sample from the standard exponential distribution \(E(\lambda=1)\).
20
21
21
-
With a single argument, the function returns a random sample from the exponential distribution $E(\lambda=\text{lambda})$.
22
+
With a single argument, the function returns a random sample from the exponential distribution \(E(\lambda=\text{lambda})\).
22
23
For complex arguments, the real and imaginary parts are sampled independently of each other.
23
24
24
25
With two arguments, the function returns a rank-1 array of exponentially distributed random variates.
@@ -64,7 +65,7 @@ The probability density function (pdf) of the single real variable exponential d
For a complex variable $z=(x + y i)$ with independent real $x$ and imaginary $y$ parts, the joint probability density function is the product of the corresponding real and imaginary marginal pdfs:[^2]
68
+
For a complex variable \(z=(x + y i)\) with independent real \(x\) and imaginary \(y\) parts, the joint probability density function is the product of the corresponding real and imaginary marginal pdfs:[^2]
For a complex variable $z=(x + y i)$ with independent real $x$ and imaginary $y$ parts, the joint cumulative distribution function is the product of corresponding real and imaginary marginal cdfs:[^2]
111
+
For a complex variable \(z=(x + y i)\) with independent real \(x\) and imaginary \(y\) parts, the joint cumulative distribution function is the product of corresponding real and imaginary marginal cdfs:[^2]
[^1] Marsaglia, George, and Wai Wan Tsang. "The ziggurat method for generating random variables." _Journal of statistical software_ 5 (2000): 1-7.
142
+
[^1]: Marsaglia, George, and Wai Wan Tsang. "The ziggurat method for generating random variables." _Journal of statistical software_ 5 (2000): 1-7.
142
143
143
-
[^2] Miller, Scott, and Donald Childers. _Probability and random processes: With applications to signal processing and communications_. Academic Press, 2012 (p. 197).
144
+
[^2]: Miller, Scott, and Donald Childers. _Probability and random processes: With applications to signal processing and communications_. Academic Press, 2012 (p. 197).
Copy file name to clipboardexpand all lines: doc/specs/stdlib_stats_distribution_normal.md
+9-8
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,12 @@ Experimental
14
14
15
15
### Description
16
16
17
-
A normal continuous random variate distribution, also known as Gaussian, or Gauss or Laplace-Gauss distribution. The location `loc` specifies the mean or expectation ($\mu$). The `scale` specifies the standard deviation ($\sigma$).
17
+
A normal continuous random variate distribution, also known as Gaussian, or Gauss or Laplace-Gauss distribution.
18
+
The location `loc` specifies the mean or expectation (\(\mu\)). The `scale` specifies the standard deviation (\(\sigma\)).
18
19
19
-
Without argument, the function returns a standard normal distributed random variate $N(0,1)$.
20
+
Without argument, the function returns a standard normal distributed random variate \(N(0,1)\).
20
21
21
-
With two arguments, the function returns a normal distributed random variate $N(\mu=\text{loc}, \sigma^2=\text{scale}^2)$. For complex arguments, the real and imaginary parts are independent of each other.
22
+
With two arguments, the function returns a normal distributed random variate \(N(\mu=\text{loc}, \sigma^2=\text{scale}^2)\). For complex arguments, the real and imaginary parts are independent of each other.
22
23
23
24
With three arguments, the function returns a rank-1 array of normal distributed random variates.
24
25
@@ -65,7 +66,7 @@ The probability density function (pdf) of the single real variable normal distri
For a complex varible $z=(x + y i)$ with independent real $x$ and imaginary $y$ parts, the joint probability density function is the product of the the corresponding real and imaginary marginal pdfs:[^2]
69
+
For a complex varible \(z=(x + y i)\)with independent real \( x \)and imaginary \( y \) parts, the joint probability density function is the product of the the corresponding real and imaginary marginal pdfs:[^2]
69
70
70
71
$$f(x + y \mathit{i}) = f(x) f(y) = \frac{1}{2\sigma_{x}\sigma_{y}} \exp{\left[-\frac{1}{2}\left(\left(\frac{x-\mu_x}{\sigma_{x}}\right)^{2}+\left(\frac{y-\mu_y}{\sigma_{y}}\right)^{2}\right)\right]}$$
71
72
@@ -109,7 +110,7 @@ Cumulative distribution function of the single real variable normal distribution
For the complex variable $z=(x + y i)$ with independent real $x$ and imaginary $y$ parts, the joint cumulative distribution function is the product of the corresponding real and imaginary marginal cdfs:[^2]
113
+
For the complex variable \(z=(x + y i)\)with independent real \( x \)and imaginary \( y \) parts, the joint cumulative distribution function is the product of the corresponding real and imaginary marginal cdfs:[^2]
[^1] Marsaglia, George, and Wai Wan Tsang. "The ziggurat method for generating random variables." _Journal of statistical software_ 5 (2000): 1-7.
147
+
[^1]: Marsaglia, George, and Wai Wan Tsang. "The ziggurat method for generating random variables." _Journal of statistical software_ 5 (2000): 1-7.
147
148
148
-
[^2] Miller, Scott, and Donald Childers. _Probability and random processes: With applications to signal processing and communications_. Academic Press, 2012 (p. 197).
149
+
[^2]: Miller, Scott, and Donald Childers. _Probability and random processes: With applications to signal processing and communications_. Academic Press, 2012 (p. 197).
0 commit comments