Evaluates the log normal cumulative density function.

You're viewing an older version of this page (#5476). View the current version.

View versions (2)

Interface

#include <codecogs/statistics/distributions/continuous/lognormal/cdf.h>

using namespace Statistics::Distributions::Continuous::Lognormal;

This function evaluates the log normal cumulative density function.

1/lognormal_cdf-378.png

Example 1

#include <iostream>
#include <codecogs/statistics/distributions/continuous/lognormal/cdf.h>

int main()
{
  std::cout << "log normal CDF (0.3, 1, 2) = ";
  std::cout << Statistics::Distributions::Continuous::Lognormal::CDF(0.3, 1, 2) << std::endl;
  return 0;
}

Output:

log normal CDF (0.3, 1, 2) = 0.135234

Parameters

x
The argument of the CDF
m
The mean of the underlying normal distribution
s
The standard deviation of the underlying normal distribution
GPL Licence — free for non commercial use. See Licence details.

Interactive Calculator

x
m
s
Result