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
Remove redundant code in the Poisson distribution simulation
Content
Give some motivations to use different probability distributions
"One simple example is the uniform distribution, where $p(x_i) = 1/n$ for all $i$ "- > "One simple example is the uniform distribution, where $p(x_i) = 1/n$ for all $n$"
Add some explanations to randint in scipy (by adding a link).
the number of successes in $n$
independent trials with success probability $\theta$ -> the probability of successes in $n$
independent trials with success probability $\theta$.
"Continuous distributions are represented by a density function" -> "Continuous distributions are represented by a probability density function (PDF)"
"the set of all numbers" -> "the set of all real numbers"
$a \leq b$ -> $a < b$ or change the probability distribution functions.
"We can obtain the moments, PDF and CDF of the normal density as follows" -> "We can obtain the moments, PDF and CDF of the log-normal density as follows"
Bernoulli is a distribution for only two outcomes - make that more clear
Economic examples for the distributions(?) (Poisson, for example, - useful for calculating the odds of a certain event, or a link to another lecture where it is used / wikipedia)
Comparison between distributions
Use case in economics and examples
We could have the empirical distributions first and then go on to the theoretical distributions (switch the order of the lectures)
Idea: summary table at the end (mean, variance, cdf and pdf of each one)
"The the expectation of Poisson distribution" -> "The expectation of Poisson distribution"
Code
label x,y axis in figures
add mystnb figures wrappers
The text was updated successfully, but these errors were encountered:
* [prob_dist] update according to editorial suggestions
This commit update according to issue #402 .
In particular, it mainly updates the typos, and missing colons.
* [prob_dist] Update on parenthesis
* Update prob_dist.md
Feedback from @longye-tian (Thanks!)
Code
Content
randint
inscipy
(by adding a link).:
after the sentence before the codeindependent trials with success probability
independent trials with success probability
Comments by @mbek0605:
Content
Code
The text was updated successfully, but these errors were encountered: