Author: haroonkhan

  • An application: the newsvendor problem again

    In Example 6.9 we have considered and solved numerically a hypothetical instance of the newsvendor problem. The procedure was based on brute force and did not provide us with any valuable insight into the structure of the problem itself. Furthermore, if we approximate the distribution of demand by a continuous distribution, which makes sense for high sale…

  • Quantiles for discrete random variables

    Computing quantiles for a discrete random variable by applying Definition 7.1 would require inverting the CDF. However, this is a piecewise constant function, featuring jumps at each value of the distribution support, which makes its inversion impossible in general. Example 7.4 Consider random demand for a spare part, sold in low volumes, over the next time period. There…

  • Median and quantiles for continuous random variables

    Roughly speaking, the median is a value splitting a dataset into two equal parts. When dealing with continuous random variables, we find that the median is a value mX such that Geometrically, the median splits the PDF in two parts with an area equal to 0.5. In descriptive statistics, the median can be regarded as a specific…

  • MODE, MEDIAN, AND QUANTILES

    The descriptive statistics, we have introduced concepts like mode, median, and percentiles. We have also remarked that some concepts, in particular the percentiles, are somewhat shaky in the sense that there are slightly different definitions and ways of calculating them using observed data. In this section we examine probabilistic counterparts of these concepts, and how…

  • EXPECTED VALUE AND VARIANCE

    Given a continuous random variable X and its PDF fX(x), its expected value is defined as follows: Quite often, we use the short-hand notation μX = E[X]. Again, this is straightforward extension of the discrete case, where E[X] ≡ ∑i xipX(xi). Example 7.2 As an illustration, let us consider the expected value of a uniform random variable on [a, b]. Symmetry suggests that…

  • CUMULATIVE DISTRIBUTION AND PROBABILITY DENSITY FUNCTIONS

    A full characterization of discrete random variables can be given in terms of PMF or CDF. They are related, as the CDF can be obtained from the PMF by summing, and we can go the other way around by taking differences. For the reasons we have mentioned, in the continuous case the role of the…

  • BUILDING INTUITION: FROM DISCRETE TO CONTINUOUS RANDOM VARIABLES

    The most natural way to characterize a discrete distribution is by its PMF, which can be depicted as a set of bars whose height is the probability of each value. What happens when we consider a random variable that may take any real value on an interval? A starting point to build intuition is getting…

  • Introduction

    We have gained the essential intuition about random variables in the discrete setting. There, we introduced ways to characterize the distribution of a random variable by its PMF and CDF, as well as its expected value and variance. Now we move on to the more challenging case of a continuous random variable. There are several…

  • Poisson distribution

    The Poisson random variable arises naturally when we have to count the number of events occurring over a specific time interval. We see that this kind of distribution is intimately related to exponential random variables, which are dealt with in Section 7.6.3, and with the Poisson stochastic process, introduced in Section 7.9. For now, the best way…

  • Binomial distribution

    The binomial distribution arises as yet another variation on Bernoulli trials. We run n independent and identical experiments and let X be a random variable counting the number of successes. The support of the resulting random variable is {1, 2,…, n}, and its probability distribution depends on two parameters: the probability of success p and the number of experiments n. Since events are independent, it…