distribution Questions
2
Solved
I am trying to use Boost to generate random numbers according to the beta distribution using C++. I have seen many examples online for generating random numbers according to distributions in random...
Topliffe asked 15/11, 2010 at 4:28
4
Solved
I have a simple question.
I would like to sum of two non-parametric distributions.
Here is an example.
There are two cities which have 10 houses. we know energy consumption for each house. (edited...
Pumice asked 8/12, 2015 at 22:51
2
Solved
I have been doing some data analysis in R and I am trying to figure out how to fit my data to a 3 parameter Weibull distribution. I found how to do it with a 2 parameter Weibull but have come up sh...
Impostor asked 5/8, 2012 at 16:1
1
I have a distance vector of a sample program. I am trying to quantify how similar they are. I was using Euclidean distance between sample groups (each value belongs to a bucket, we compare bucket b...
Housebreaking asked 24/9, 2018 at 1:54
4
I need a uniform distribution of points on a 4 dimensional sphere. I know this is not as trivial as picking 3 angles and using polar coordinates.
In 3 dimensions I use
from random import random
...
Avner asked 8/4, 2013 at 13:28
2
Solved
I am now using the extRemes package to build a non-stationary GP model, and I find it difficult to extract the parameters.
Non-stationary scale parameter
library(extRemes)
data(Fort)
fit1 <- f...
Instrument asked 31/8, 2018 at 22:7
3
I have a spark job with skewed data. The data needs to be partitioned based on a column. I would like to tell spark to start processing the biggest partitions first so that I get to use the availab...
Gainsborough asked 16/8, 2018 at 18:23
7
I have created an ad hoc archive and a .ipa file for the application I am trying to distribute. I have also created a distributing provisioning profile with the UDIDs of the devices that I plan on ...
Yetah asked 4/3, 2012 at 4:3
6
Solved
Say I want to distribute y items to x buckets evenly. If x is a multiple of y this distribution will be even, if not I can end up with 0 items in each bucket. For ex:
For ex: I have 3 buckets and ...
Turnkey asked 11/2, 2014 at 21:40
2
Solved
Does anyone know how to plot a skew normal distribution with scipy?
I supose that stats.norm class can be used but I just can't figure out how.
Furthermore, how can I estimate the parameters descr...
Suet asked 4/5, 2011 at 14:13
3
Solved
I intend for part of a program I'm writing to automatically generate Gaussian distributions of various statistics over multiple raw text sources, however I'm having some issues generating the graph...
Suffruticose asked 13/10, 2012 at 23:3
5
Solved
I have been looking into the ways of distributing an iOS application internally in our company. One thing I cant really find any information on is in the Enterprise program, what do they mean when ...
Dole asked 6/12, 2011 at 15:38
1
I have a neural network which is organized as follows:
conv1 - pool1 - local reponse normalization (lrn2) - conv2 - lrn2 - pool2 -
conv3 - pool3 - conv4 - pool4 - conv5 - pool5 - dense layer (loc...
Suzerainty asked 12/6, 2017 at 2:22
3
Solved
EDIT:
My question is: rand()%N is considered very bad, whereas the use of integer arithmetic is considered superior, but I cannot see the difference between the two.
People always mention:
low b...
Foreside asked 17/4, 2018 at 14:6
1
Is it possible in python to generate a truncated normal distribution with a given expected value? I know that scipy.stats.truncnorm can give a truncated normal distribution that takes the mean of t...
Moustache asked 28/3, 2018 at 12:57
3
Solved
I have a module that sits in a namespace. Should tests and data the tests rely on go in the namespace or in the top level where setup.py sites?
./company/__init__.py
./company/namespace/__init__.p...
Serendipity asked 17/3, 2011 at 15:11
2
Solved
Following simple code:
import numpy as np
import seaborn as sns
dist = np.random.normal(loc=0, scale=1, size=1000)
ax = sns.kdeplot(dist, shade=True);
Yields the following image:
I would like...
Ballottement asked 4/3, 2018 at 19:56
8
Solved
I am developing cross-platform Qt application.
It is freeware though not open-source. Therefore I want to distribute it as a compiled binary.
On windows there is no problem, I pack my compiled exe...
Dominicdominica asked 1/6, 2009 at 14:1
1
Solved
I have some data and want to find the distribution that fits them well. I found one post inMATLAB and one post in r. This post talks about a method in Python. It is trying different distributions a...
Unproductive asked 26/1, 2018 at 2:32
2
Solved
The man page claims that the random function in the C standard library "returns a value between 0 and RAND_MAX."
Unfortunately, it does not say what the distribution is for this random function. E...
Czernowitz asked 26/1, 2018 at 0:24
5
Solved
I'm working on a data mining algorithm where i want to pick a random direction from a particular point in the feature space.
If I pick a random number for each of the n dimensions from [-1,1] and...
Atc asked 8/6, 2011 at 17:53
4
Solved
Javascript's Math.random() returns a psuedo-random number with "uniform" distribution.
I need to generate a random number in the range [0,1] that is skewed to either side.
(Meaning, higher chance ...
Aluminothermy asked 19/4, 2013 at 17:56
1
Solved
I would like to include in MATLAB (using the Statistics toolbox) some simple ways to create new probability distributions from existing ones. For example: finite mixtures or compound distributions....
Dowager asked 30/3, 2016 at 12:21
2
In scipy the negative binomial distribution is defined as:
nbinom.pmf(k) = choose(k+n-1, n-1) * p**n * (1-p)**k
This is the common definition, see also wikipedia:
https://en.wikipedia.org/wiki/N...
Cornejo asked 28/11, 2016 at 14:44
5
Solved
I'm developing a python framework that would have "addons" written as separate packages. I.e.:
import myframework
from myframework.addons import foo, bar
Now, what I'm trying to arrange is so th...
Kristankriste asked 18/1, 2009 at 5:17
© 2022 - 2024 — McMap. All rights reserved.