4. Probability Distributions: Practical 4
Keypoints
Keypoints
-
you can calculate probabilities and visualise probability distributions for a Gaussian random variable, using the commands dnorm, pnorm & qnorm
-
you can calculate probabilities and visualise probability distributions for a binomial random variable, using the commands dbinom, pbinom & qbinom
-
random data with a uniform, normal or binomial distribution with specified parameters can be generated with the commands runif(), rnorm() and rbinom()
-
the nature of random variables can be interpreted through the probability distribution of a random variable with a histogram and an empirical cumulative probability plot
-
you can calculate the mean and variance of individual random variables or combinations of two random variables with the theoretical formula's but also check the results by using randomly generated data