distribution Questions
5
Solved
I have a dataframe with a column that has numerical values. This column is not well-approximated by a normal distribution. Given another numerical value, not in this column, how can I calculate its...
Levileviable asked 29/6, 2017 at 12:18
7
Solved
I want to generate random numbers according some distributions. How can I do this?
Tourist asked 18/8, 2010 at 9:5
3
Solved
I have measured the body heights of all my children. When I plot all heights along an axis of lengths, this is what the result looks like:
Every red (boys) or violet (girls) tick is one child. I...
Pluralism asked 11/12, 2014 at 8:35
3
Solved
I'm trying to implement the following formula in Julia for calculating the Gini coefficient of a wage distribution:
where
Here's a simplified version of the code I'm using for this:
# Takes a...
Lemos asked 9/7, 2015 at 15:24
3
Solved
I can't figure out how to do a Two-sample KS test in Scipy.
After reading the documentation of scipy kstest, I can see how to test whether a distribution is identical to standard normal distributio...
Irina asked 4/6, 2012 at 16:25
9
Solved
I am working on a simple desktop java application. I would like to make it as seamless to install for end users as possible. E.g. similar to how Minecraft is distributed - a simple executable for O...
Zweig asked 27/10, 2011 at 11:38
3
Solved
Can I use Inno Setup to import a .cer file (a certificate)?
How can I do it?
I need to create a certificate installer for Windows XP, Windows Vista and Windows 7.
Centaur asked 5/10, 2012 at 21:31
2
I cannot find any article that describes the advantages of using datadog histogram compared to datadog distribution for apps that run on multi instance. Would someone kindly help me on deciding the...
Loess asked 26/1, 2020 at 0:22
3
I need to do data fitting to find the distribution of a given data.
I need to find the pdf function of the distribution.
I can use data fitting functions in matlab and python.
It looks like a t...
Starryeyed asked 15/3, 2014 at 15:7
3
Solved
Given mean and variance of a Gaussian (normal) random variable, I would like to compute its probability density function (PDF).
I referred this post: Calculate probability in normal distributio...
Leadwort asked 1/7, 2016 at 9:34
7
Solved
Hello fellow software developers.
I want to distribute a C program which is scriptable by embedding the Python interpreter.
The C program uses Py_Initialize, PyImport_Import and so on to accomplis...
Institute asked 22/3, 2010 at 17:43
4
In scipy there is no support for fitting a negative binomial distribution using data
(maybe due to the fact that the negative binomial in scipy is only discrete).
For a normal distribution I would...
Serriform asked 22/5, 2014 at 20:31
21
Solved
I want to know if the JavaScript function Math.random uses a normal (vs. uniform) distribution or not.
If not, how can I get numbers which use a normal distribution? I haven't found a clear answer...
Stacte asked 30/8, 2014 at 13:30
2
Solved
I am plotting Cumulative Distribution Functions, with a large number of data points. I am plotting a few lines on the same plot, which are identified with markers as it will be printed in black and...
Maladjusted asked 11/1, 2010 at 6:34
8
Solved
I was wondering if there were statistics functions built into math libraries that are part of the standard C++ libraries like cmath. If not, can you guys recommend a good stats library that would h...
Dinh asked 24/2, 2010 at 17:58
3
Solved
I would like to define my own distributions to use with the fitdistrplus function to fit my monthly precipitation data from now on refered as "month". I am using the “lmomco” function to help me de...
Fluctuate asked 27/4, 2015 at 13:53
6
Solved
I have a dataset from sklearn and I plotted the distribution of the load_diabetes.target data (i.e. the values of the regression that the load_diabetes.data are used to predict).
I used this beca...
Philippa asked 27/5, 2016 at 15:58
2
Solved
Following this post, I tried to create a logit-normal distribution by creating the LogitNormal class:
import numpy as np
import matplotlib.pyplot as plt
from scipy.special import logit
from scipy....
Propound asked 13/3, 2020 at 11:0
3
Solved
Suppose I have the variable x that was generated using the following approach:
x <- rgamma(100,2,11) + rnorm(100,0,.01) #gamma distr + some gaussian noise
head(x,20)
[1] 0.35135058 0.127842...
Pelota asked 6/8, 2017 at 20:20
13
INTRODUCTION: I have a list of more than 30,000 integer values ranging from 0 to 47, inclusive, e.g.[0,0,0,0,..,1,1,1,1,...,2,2,2,2,...,47,47,47,...] sampled from some continuous distribution. The ...
Trituration asked 8/7, 2011 at 6:0
2
In scipy there is no support for fitting discrete distributions using data. I know there are a lot of subject about this.
For example if i have an array like below:
x = [2,3,4,5,6,7,0,1,1,0,1,8,10...
Suitcase asked 12/12, 2019 at 15:57
4
Is it possible to make the PyTorch distributions create their samples directly on GPU.
If I do
from torch.distributions import Uniform, Normal
normal = Normal(3, 1)
sample = normal.sample()
Th...
Proustite asked 4/12, 2019 at 15:38
2
Solved
I was looking here: numpy
And I can see you can use the command np.random.standard_cauchy() specifying an array, to sample from a standard Cauchy.
I need to sample from a Cauchy which might have x_...
Lacilacie asked 17/7, 2017 at 8:51
1
Solved
For example, if I provide a probability array of [0.5, 0.5], both functions will sample the index [0,1] with equal probability?
Hex asked 1/10, 2021 at 8:50
2
Solved
distplot was deprecated in favour of displot.
The previous function had the option to draw a normal curve.
import seaborn as sns
import matplotlib.pyplot as plt
from scipy import stats
ax = sns.di...
Fructification asked 4/9, 2021 at 21:37
1 Next >
© 2022 - 2024 — McMap. All rights reserved.