About 7,010,000 results
Open links in new tab
  1. python - scipy.stats seed? - Stack Overflow

    61 I am trying to generate scipy.stats.pareto.rvs (b, loc=0, scale=1, size=1) with different seed. In numpy we can seed using numpy.random.seed (seed=233423). Is there any way to seed the …

  2. RVS in SCIPY Python - Stack Overflow

    Oct 30, 2016 · In scipy.stats most of distribution have rvs method, which provides random samples. But I didn't find explanation random samples of what? probability? No, because it …

  3. python - SciPy skewnormal fitting - Stack Overflow

    May 3, 2018 · I am trying to fit data into a skew normal distribution using the SciPy Skewnorm package. However, I am failing to understand the usage properly as I cannot find proper …

  4. What are the arguments for scipy.stats.uniform? - Stack Overflow

    Jun 15, 2017 · uniform.rvs(loc=5, scale=45) Even though it's possible to call the distribution directly with parameters, scipy.stats has the following logic:

  5. scipy - How to implement a mixture of gamma distributions in …

    May 27, 2024 · I am trying to create examples to compare and contrast Bayesian MCMC (e.g. HMC) with non-Bayesian equivalents. One of the cases I am finding difficult is creating a …

  6. scipy - How can I use skewnorm to produce a distribution with the ...

    Apr 12, 2018 · The rvs method appears incapable of handling it, since the parameter alpha is an imaginary number whenever skewness > 1. How can I fix it so that I can generate distributions …

  7. python - Scipy lognorm fitting to histogram - Stack Overflow

    Jan 31, 2017 · I'm fitting a lognormal pdf to some binned data, but my curve doesn't quite match the data, see image below. My code is: import numpy as np import matplotlib.pyplot as plt from …

  8. Fitting a Normal distribution to 1D data - Stack Overflow

    Nov 22, 2001 · I have a 1 dimensional array. I can compute the "mean" and "standard deviation" of this sample and plot the "Normal distribution" but I have a problem: I want to plot the data …

  9. python - How to use norm.ppf ()? - Stack Overflow

    norm.ppf(0.95, loc=0, scale=1) Because I know it's calculating the area of the curve to the right of the confidence interval (95%, 97.5% etc...see image below), but when I have a mean and a …

  10. python - Understanding scipy.stats.norm.rvs ()? - Stack Overflow

    Jun 9, 2017 · In scipy.stats.norm.rvs() the argument scale denotes standard deviation but in the below piece of code sigma_list refers to an array. How does the code actually work?