X
∼
N
(
μ
,
σ
2
)
X\sim N(\mu,\sigma^2)
X∼N(μ,σ2)
Y
=
X
−
μ
σ
∼
N
(
0
,
1
)
Y = \frac{X-\mu}{\sigma}\sim N(0,1)
Y=σX−μ∼N(0,1)
f
(
x
)
=
1
2
π
σ
exp
(
−
(
x
−
μ
)
2
2
σ
2
)
f(x)=\frac{1}{\sqrt{ 2\pi }\sigma} \exp (-\frac{(x-\mu)^2}{2\sigma^2})
f(x)=2πσ1exp(−2σ2(x−μ)2)
μ
\mu
μ均值
σ
\sigma
σ标准差
nd.random.normal(loc=3,scale=0.5,shape=(1,10))
loc均值
scale标准差
shape