\(F(x) = p(X <= x)\)
n <- 365
y1 <- 100
var <- n * .25
sd <- (sqrt(var))
mean <- 0
a = pnorm(100-100, mean, sd)
a
## [1] 0.5
b = 1- pnorm(110-100, mean, sd)
b
## [1] 0.1475849
c = 1-pnorm(120-100, mean, sd)
c
## [1] 0.01814355
reference= https://onlinecourses.science.psu.edu/stat414/node/72
Moment Generating Function: \[g(t) = E(e^{tX}) = \sum\limits_{k=0}^\infty\frac{\mu_k*t^k}{k!} = E (\sum\limits_{k=0}^\infty\frac{X^ktk}{k!}) = \sum\limits_{j=1}^\infty e^{tx_j}p(x_j)\]
expected value: The rth moment about the origin can be found by evaluating the rth derivative of the moment-generating function at t = 0. That is:
\(M^{(r)}(0)=E(X^r)\)
variance: The variance of X can be found by evaluating the first and second derivatives of the moment-generating function at t = 0. That is:
\(σ^2=E(X^2)−[E(X)]^2=M″(0)−[M′(0)]^2\)
probability density function: \(\lambda e ^{-\lambda x}\)
moment generating function for the probability density function: \(g(t) = \frac{\lambda}{\lambda - 1}\) for \(t < \lambda\)
I’m sort of lost from here!