distribution Questions

3

Solved

What function can I use in Python if I want to sample a truncated integer power law? That is, given two parameters a and m, generate a random integer x in the range [1,m) that follows a distributi...
Zing asked 4/7, 2014 at 18:21

4

Solved

This might have been asked lots of times, but still I couldn't find info on why are they needed. I use DEVELOPER prov profiles to test apps on my device, that makes sense. The Provisioning Portal ...

3

Solved

To plot a normal distribution curve in R we can use: (x = seq(-4,4, length=100)) y = dnorm(x) plot(x, y) If dnorm calculates y as a function of x, does R have a function that calculates x as a...
Sheya asked 25/10, 2013 at 11:56

1

Solved

The scipy.stats library has functions to find the mean and median of a fitted distribution but not mode. If I have the parameters of a distribution after fitting to data, how can I find the mode ...
Cipango asked 9/1, 2020 at 11:25

1

I have heard a lot about "breaking the symmetry" within the context of neural network programming and initialization. Can somebody please explain what this means? As far as I can tell, it has...
Intranuclear asked 8/1, 2020 at 2:32

3

Solved

I would like to calculate the probability given by a binomial distribution for predetermined x(successes), n(trials), and p(probability) - the later of which is given by a probability mass function...
Irvin asked 14/11, 2014 at 16:58

5

Can anyone help me out in fitting a gamma distribution in python? Well, I've got some data : X and Y coordinates, and I want to find the gamma parameters that fit this distribution... In the Scipy ...
Torpor asked 24/5, 2010 at 10:18

0

I have a support (supp_epsilon) and a probability mass function (pr_mass_epsilon) in Matlab, constructed as follows. supp_epsilon=[0.005 0.01; 0.01 0.015; 0.015 0.02; 0.02 0.025]; suppsize_e...
Lagan asked 30/10, 2019 at 18:37

1

Solved

I have a support (supp_epsilon) and a probability mass function (pr_mass_epsilon) in Matlab, constructed as follows. supp_epsilon=[0.005 0.01 0.015 0.02]; suppsize_epsilon=size(supp_epsilon,2); ...
Efficacious asked 29/10, 2019 at 12:6

5

There have been quite a few posts on handling the lognorm distribution (docs) with Scipy but i still don't get the hang of it. The lognormal is usually described by the 2 parameters \mu and \sigma ...
Tum asked 30/8, 2013 at 13:49

6

Solved

According to the question " How to get Linux distribution name and version? ", to get the linux distro name and version, this works: lsb_release -a On my system, it shows the needed output: No ...
Spivey asked 11/6, 2011 at 11:37

1

Solved

How can I distribute my Flutter app (both Android & iOS) Beta build. I was going through with Crashlytics Beta Distribution. But I think there is some problem distributing Android & iOS app...
Obovoid asked 29/8, 2019 at 5:38

2

Solved

I would like to find the t-value for 90% confidence interval with 17 observation. In Excel, I can do this calculation with t=T.INV.2T(.10, 16)=1.75 however in R I cannot find the correct way to ge...
Counterwork asked 26/8, 2019 at 10:43

1

Solved

I would like to compute the Earth Mover Distance between two 2D arrays (these are not images). Right now I go through two libraries: scipy (https://docs.scipy.org/doc/scipy/reference/generated/sc...
Enthrall asked 19/8, 2019 at 19:8

1

Solved

I have the following code that I wish to estimate the parameters of a custom distribution. For more details on the distribution. Then using the estimated parameters I want to see if the estimated P...
Demello asked 17/6, 2019 at 5:46

4

Solved

I have a simple table BIRDCOUNT below, showing how many birds were counted on any given day: +----------+ | NUMBIRDS | +----------+ | 123 | | 573 | | 3 | | 234 | +----------+ I would like to cre...
Corsage asked 24/2, 2013 at 19:18

1

Solved

I am trying to use mle() function in MATLAB to estimate the parameters of a 6-parameter custom distribution. The PDF of the custom distribution is and the CDF is where Γ(x,y) and &Gam...
Dipterocarpaceous asked 10/6, 2019 at 8:26

1

Solved

I am now working on copula in R and I wonder how to find the joint cumulative distribution in R? D = c(1,3,2,2,8,2,1,3,1,1,3,3,1,1,2,1,2,1,1,3,4,1,1,3,1,1,2,1,3,7,1,4,6,1,2,1,1,3,1,2,2,3,4,1,1,1,1...
Tollhouse asked 4/3, 2019 at 7:6

1

Solved

I want to implement equivalent of matlab icdf function in C++, I have already found this useful post: https://www.johndcook.com/blog/cpp_phi_inverse/. But I want it with optional mu and sigma param...
Nadabas asked 1/3, 2019 at 12:30

1

Solved

A distribution is beta-binomial if p, the probability of success, in a binomial distribution has a beta distribution with shape parameters α > 0 and β > 0. The shape parameters define the probabili...
Favata asked 3/2, 2019 at 16:46

2

I have a dataset and I am trying to see which is the best distribution its following. In the firs attempt I tried to fit it with a rayleigh, so y, x = np.histogram(data, bins=45, normed=True) pa...
Underbred asked 5/12, 2016 at 17:10

4

Solved

I am looking to find the peaks in some gaussian smoothed data that I have. I have looked at some of the peak detection methods available but they require an input range over which to search a...
Corporeal asked 9/2, 2016 at 1:29

1

I would like to sample from an arbitrary function in Python. In Fast arbitrary distribution random sampling it was stated that one could use inverse transform sampling and in Pythonic way to selec...
Hereto asked 10/3, 2018 at 16:1

1

Suppose X~exp(.67) , Y~exp(.45) and Z~exp(.8). Now X is correlated with Y with a correlation coefficient -0.6. Again, X is correlated with Z with a correlation coefficient -0.6. How can I incorpora...
Comedietta asked 25/11, 2017 at 5:10

1

Solved

I would like to add a standard normal pdf curve over a histogram built with seaborn. import numpy as np import seaborn as sns x = np.random.standard_normal(1000) sns.distplot(x, kde = False) A...
Couscous asked 20/10, 2018 at 18:38

© 2022 - 2024 — McMap. All rights reserved.