Questions tagged [distribution]

This tag concerns statistical distributions, their implementations, and properties.

In scientific software for statistical computing and graphics, many common statistical distributions are supported. See the documentation from ?Distribution. Additionally, the CRAN task review for distributions lists numerous packages for addition features.

3139 questions
19
votes
1 answer

Finding alpha and beta of beta-binomial distribution with scipy.optimize and loglikelihood

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 probability of success. I want to find the values for α and β…
HJA24
  • 410
  • 2
  • 11
  • 33
19
votes
1 answer

Interpreting Tensorboard Distributions - Weights not Changing, only Biases

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 (local1) - local2 - softmax After looking into the…
I. A
  • 2,252
  • 26
  • 65
19
votes
8 answers

Create DMG file

I am developing an application in Cocoa. I need to create a DMG file to install my application like Adium (which provides a nice UI to drag the app file to Application folder). Is there a tool for this?
MobX
  • 2,640
  • 7
  • 33
  • 54
18
votes
8 answers

How to make binary distribution of Qt application for Linux

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 along with MinGW's and Qt's DLLs and everything goes…
Michael
  • 903
  • 1
  • 8
  • 16
18
votes
1 answer

Creating Python pip bundle with my projects

I am developing some apps which depends on one of them. I see pip can create bundles. I have all my projects source in one dir. How to create bundle for these projects and then install in other Ubuntu system? probably I should use virtualenv. Is it…
marcinpz
  • 675
  • 7
  • 15
18
votes
4 answers

Enabling Apple Push Notifications for ad hoc distribution environment

I have successfully implemented APN for development Environment. But i am facing problems while implementing the same for ad-hoc distribution environment. Can anybody please suggest me do i need to create different App Id , Certificate and…
18
votes
1 answer

setting distance matrix and clustering methods in heatmap.2

heatmap.2 defaults to dist for calculating the distance matrix and hclust for clustering. Does anyone now how I can set dist to use the euclidean method and hclust to use the centroid method? I provided a compilable code sample bellow. I tried:…
jonas87
  • 672
  • 2
  • 8
  • 22
18
votes
2 answers

Apple enterprise program distribution questions

This question relates to the Apple iOS Developer Enterprise Program I am trying to determine the limits and relationships between the following 4 entities: Apple Enterprise Program distribution licenses, DUNS numbers, distribution certificates, and…
Rayfleck
  • 12,116
  • 8
  • 48
  • 74
18
votes
3 answers

Why does scipy.norm.pdf sometimes give PDF > 1? How to correct it?

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 distribution given mean, std in Python, Also the scipy docs:…
Ébe Isaac
  • 11,563
  • 17
  • 64
  • 97
18
votes
3 answers

Generate a random number less than 4 digits but the probability of it having 1, 2, or 3 digits is equal

I'm currently using 1 + (int)(rand() * 999.0 / RAND_MAX) to generate a random number between 1 and 999 inclusive but the two and one digit numbers don't occur as often as the three digit numbers. How can I fix this? Note that although the original…
user6300394
18
votes
1 answer

Three phase commit

I understand that three phase commit was made to solve the problem of "two phase commit" when in the second phase the coordinator and the cohort fails at the same time it is impossible to know if the coordinator had decided on a commit…
Ken
  • 365
  • 1
  • 6
  • 16
17
votes
4 answers

How to create a private key for iPhone Distribution Certificate?

In iPhone Developer Program Portal, there's a video to demonstrate how to create a development certificate and assign a private key Now I have finished the development process and starting to distribute I have created a "Distribution Certificate",…
Unreality
  • 4,111
  • 11
  • 48
  • 67
17
votes
3 answers

Test if a data distribution follows a Gaussian distribution in MATLAB

I have some data points and their mean point. I need to find whether those data points (with that mean) follows a Gaussian distribution. Is there a function in MATLAB which can do that kind of a test? Or do I need to write a test of my own? I tried…
Arnkrishn
  • 29,828
  • 40
  • 114
  • 128
16
votes
3 answers

C++, how to use a subset of all types

I'm writing a function which I want to accept a distribution as a parameter. Let's say the following: #include #include using namespace std; random_device rd; mt19937 gen(rd()); void print_random(uniform_real_distribution<>& d)…
Haffi112
  • 553
  • 5
  • 18
16
votes
4 answers

Is there something like bsdiff/Courgette for jar files?

Google uses bsdiff and Courgette for patching binary files like the Chrome distribution. Do any similar tools exist for patching jar files? I am updating jar files remotely over a bandwidth-limited connection and would like to minimize the amount of…
Ken Liu
  • 22,503
  • 19
  • 75
  • 98