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
1
vote
1 answer

Signing AIR Applications

Can I sign my Adobe AIR app with my iOS development certificate? I saw on Adobe's website that a company called Thawt is a valid CA. Beneath their name, I saw Apple listed. Does this mean that I can sign my app with Apple's iOS dev certificate? If…
Moshe
  • 57,511
  • 78
  • 272
  • 425
1
vote
1 answer

R: qqplot using cauchy

I have asked this question elsewhere I want to verify if my data follows a normal or any other type of distribution (like cauchy for example). I really want to understand how to use qqplot =] Even though the qqnorm works…
kaihami
  • 815
  • 7
  • 18
1
vote
0 answers

Calculate minimum of two independent and piecewise defined function random variable

I want to calculate Cumulative distribution function of Y, when Y is a Random Variable (Y=min{X,X'}) and X is a piecewise defined function Random variable. CDF of X is something like this code: if (0
1
vote
1 answer

Sampling a specific age distribution from a dataset

Suppose I have a dataset with 1,000,000 observations. Variables are age, race, gender. This dataset represents the whole US. How can I draw a sample of 1,000 people from this dataset, given a certain age distribution? E.g. I want this datset with…
F. Weingand
  • 21
  • 1
  • 1
  • 4
1
vote
2 answers

Generate characters with given distribution

I've got two questions about generating numbers/single characters with given distributions. How can I implement Laplace distribution in C++? I know it's available in boost library, but let's say i can't use it. Also, i don't see it in the standard…
peter Schiza
  • 387
  • 7
  • 23
1
vote
1 answer

sklearn's `RandomizedSearchCV` not working with `np.random.RandomState`

I am trying to optimize a pipeline and wanted to try giving RandomizedSearchCV a np.random.RandomState object. I can't it to work but I can give it other distributions. Is there a special syntax I can use to give RandomSearchCV a…
O.rka
  • 29,847
  • 68
  • 194
  • 309
1
vote
3 answers

Drawing from two distributions with a probability in R

I am trying to draw from two different distributions with a probability 100000 times. Unfortunately I can't see what is wrong with my for loop, however, it only adds 1 value to simulated_data instead of the desired 100,000 values. Question 1: How…
Ollie
  • 624
  • 8
  • 27
1
vote
2 answers

Waiting time distribution of passengers Matlab

I know my question is probably very basic but I have been blocked for 2 days on this... I need to compute a waiting time distribution for passengers in Matlab, like this one. I have the following data: WT, a vector of waiting times of length L PAX,…
Anita
  • 13
  • 3
1
vote
1 answer

Android: Contributor for Distributing app on android market?

as we all see Google was increased his country list on android market on ( 30 countries for selling) and I saw some talks here about this theme , but I did not find quality answer .. My question is there any company or person etc. who make…
Nezir
  • 6,727
  • 12
  • 54
  • 78
1
vote
1 answer

Fit triangular distribution

I have the following data dat<-c(16.254884, 14.077510, 12.851675, 19.152597, 11.511230, 16.122911, 16.099962, 9.670949, 12.523661, 15.257432, 13.603848, 14.118873, 12.632340, 15.413753, 5.426383, 11.369880, 12.895920, 13.635134,…
ACBe
  • 33
  • 5
1
vote
1 answer

multiple distribution plots (different variables) as facets in the same plot

I want to put distribution plots of different variables into a single image file. Every distribution plot (subplot) contain similar groups separated by colors. Currently I'm using plotting each variable separately using ggplot. Then I use …
Tara Sutjarittham
  • 366
  • 1
  • 6
  • 18
1
vote
2 answers

How to extract x,y data from kdensity plot from matplotlib for python

I am trying to figure out how to make a 3d figure of uni-variate kdensity plots as they change over time (since they pull from a sliding time window of data over time). Since I can't figure out how to do that directly, I am first trying to get the…
Jeremy Schutte
  • 352
  • 1
  • 3
  • 13
1
vote
1 answer

Filling an evenly distributed matrix of arrays with PHP

I have an array of objects, containing lists of times. I have to stick this in a Matrix-alike array, in order to put it in a table. This is a part of my earlier SO question on how to build calendar tables $node->sessions = array( 1286452800, //…
berkes
  • 26,996
  • 27
  • 115
  • 206
1
vote
0 answers

Define a Specific Probability Distribution Object in Matlab

I'm trying to create a specific distribution in Matlab to sample from. I want to model some processes that are distributed as ARG (Autoregressive Gamma). A process v is said to be ARG(a, b, c) if it is of the form v ~ Gamma(a + zt, c) where zt, ~…
beeba
  • 422
  • 9
  • 33
1
vote
1 answer

Estimating p-value thresholds from a distribution plot

My data is in the following format and includes a particular statistic site LRStat 1 3.580728 2 2.978038 3 5.058644 4 3.699278 5 4.349046 This is just a sample of the data. I then obtained…
Paul
  • 1,077
  • 3
  • 14
  • 27
1 2 3
99
100