About 124,000 results
Open links in new tab
  1. python - Scaling and fitting to a log-normal distribution using a ...

    I have a log-normal distributed set of samples. I can visualize the samples using a histrogram with either linear or logarithmic x-axis. I can perform a fit to the histogram to get the PDF and then...

  2. How do I get a lognormal distribution in Python with Mu and Sigma?

    Jan 15, 2012 · 6 Known mean and stddev of the lognormal distribution In case someone is looking for it, here is a solution for getting the scipy.stats.lognorm distribution if the mean mu and …

  3. python - Log normal distribution - Stack Overflow

    Jan 11, 2019 · 0 If you know that you want 1000 values that are log-normally distributed distribution (i.e., log (x) gives you normal distribution), and you want your data to range from …

  4. Generate random numbers from lognormal distribution in python

    Jan 5, 2017 · 12 I need to generate pseudo-random numbers from a lognormal distribution in Python. The problem is that I am starting from the mode and standard deviation of the …

  5. python - Scaling the fitted PDF of a log-normal distribution to the ...

    I have a log-normal distributed set a samples and want to perform a fit to it. Then I want to plot both the histogram of the samples and the fitted PDF into one plot, and I'd like to use the …

  6. Is there a way to generate a lognormal distribution from a pre …

    Jan 31, 2023 · So am I understanding this correctly, the lognormal distribution is merely the mu value taken for the normal distribution with a logarithm applied to it, but the sd value for this …

  7. Fitting a lognormal distribution to negative values with scipy

    Nov 16, 2022 · However, as far as I know (and read) a lognormal distribution cannot have negative values by definition. The scipy implementation uses a generalized version with three …

  8. A lognormal distribution in python - Stack Overflow

    Oct 18, 2014 · I have seen several questions in stackoverflow regarding how to fit a log-normal distribution. Still there are two clarifications that I need known. I have a sample data, the …

  9. Generating blue noise with values sampled from a log normal …

    Jul 14, 2025 · The figure below shows the resulting log-normal amplitude distribution and +10 dB/decade (blue noise) PSD achieved using the IAAFT method. A Python script follows, which …

  10. Parameters for numpy.random.lognormal function - Stack Overflow

    Jun 29, 2022 · 2 I need to create a fictitious log-normal distribution of household income in a particular area. The data I have are: Average: 13,600 and Standard Deviation 7,900. What …