MathGroup Archive 1992

[Date Index] [Thread Index] [Author Index]

Search the Archive

Plotting probability distributions

  • To: mathgroup at
  • Subject: Plotting probability distributions
  • From: Colin Rose <colinr at>
  • Date: Mon, 26 Oct 92 17:44:45 EST

Sven Bohm asks:
    "How can I plot a propability distribution in mathematica? For example  
    if I have LogNormalDistribution[1.16329, 0.649846] how do I get a     
    plot with the frequency on the y axis?"                           

The following should do it....


    f[y_] := PDF[LogNormalDistribution[mu, sig], y]
    F[y_] := CDF[LogNormalDistribution[mu, sig], y]

    mu = 1.16329;  sig = 0.649846;

    Plot[f[y], {y, 0.01, 10}, PlotLabel -> "Probability Density Function"]
    Plot[F[y], {y, 0.01, 10}, PlotLabel -> "Distribution Function"]        



Colin Rose
Dept. of Economics
University of Sydney
colinr at

  • Prev by Date: ListPlot3D[] with Scaled Axes?
  • Next by Date: [no subject]
  • Previous by thread: ListPlot3D[] with Scaled Axes?
  • Next by thread: [no subject]