Questions tagged [distribution]
This tag concerns statistical distributions, their implementations, and properties.
distribution
3,169
questions
-1
votes
1
answer
44
views
R: ggplot distribution diagram with 'more than limit' bar and geom_vline
colleagues.
I am trying to build a distribution diagram that will satisfy the following conditions:
Shows percentage of the values lying in each bin.
Bin size is specified by user.
All the bars are ...
-1
votes
0
answers
29
views
What distribution should I use? [closed]
I'm new to statistics and need to create a probability distribution with the following study:
*Note: Due to proprietary reasons the example given below is the best representation of the real data.
...
-2
votes
0
answers
27
views
Hash function distribution [closed]
Hey considering an Hash function f(x), that distribute evenly, 1/m, for array size m.
Why the probability of two element when x1!=x2, to collide meaning f(x1)=f(x2) is 1/m and not 1/m^2 ?
my ...
0
votes
0
answers
23
views
Runtime Error in getBar1SizeOfGpu when initializing pytorch RPC
I’m encountering a runtime error while using PyTorch with the RPC backend on my system. The error message is as follows:
Could anyone tell me why this problem has happened and how to solve it ? Thank ...
0
votes
0
answers
26
views
Is there a way to modelize a partial predictor in a classification problem with an unbalanced target?
I would like to share with you a classification issue I faced during the modelling process. I have to create a model for an unbalanced binary target by 4 predictors where one of them has 45% of wrong ...
0
votes
2
answers
101
views
how to generate specific distribution?
I have a metric with 900K users, and I can't generate a distribution that would roughly repeat the existing one. I need this to quickly generate samples for AA AB tests (with guaranteed uplift).
Here ...
0
votes
1
answer
32
views
How to find average per day using pivot table?
I have following data that shows distribution of fruits on each date.
I want to achieve the following format via Pivot Table, that shows percentage of Apple on each day and show the average at the ...
0
votes
1
answer
36
views
Converting np.random.logistic to scipy.stats.fisk
I cannot figure out how to convert np.random.logistic to scipy.stats.fisk, here's my code:
import numpy as np
import numpy.random as npr
import scipy.stats as ss
import matplotlib.pyplot as plt
SEED =...
-1
votes
1
answer
69
views
How can I calculate the distribution of a project cost according to execution date in Python?
I´m working on an energy investment projects dataframe (DF). In this DF, I have two datetime type columns with 'initial_data' and 'final_data' and one float type column 'total_cost'.
I need to create ...
1
vote
1
answer
34
views
Scipy NLLF Loss has high values for distribution fitting
I'm trying to check if my data is distributed according to some distribution, however I always get NLLF values that doesn't make sense.
For example, here I'm generating 10K data points using a normal ...
0
votes
1
answer
71
views
Weibull Three Parameters Estimation using Maximum Likelihood and optimization methods
I'm having a problem estimating the Weibull three parameters using ML and optimization methods. My results in some of the methods do not look right. However, when a plot the curve looks fine with the ...
1
vote
1
answer
76
views
Estimate Dirichlet parameters from multinomial regression
I am trying to use the predicted probabilities from a multinomial regression using multinom function from the nnet package in R to estimate the parameters for a Dirichlet distribution while taking ...
2
votes
0
answers
47
views
How to implement a mixture of gamma distributions in Python without Bayes'?
I am trying to create examples to compare and contrast Bayesian MCMC (e.g. HMC) with non-Bayesian equivalents. One of the cases I am finding difficult is creating a mixture of gamma distributions.
I ...
0
votes
1
answer
51
views
How do you use a custom distribution in a GARCH-model with rugarch in R?
I want to use a distribution that is not built in to the rugarch package in R. More specifically, the EGB2 distribution. If I have the PDF of the distribution, is it then possible to use this ...
0
votes
0
answers
16
views
why there is wrong data from lognorm.fit?
I wrote code to get distribution for lognorm from 8 data and I got 8 graph. Just one of them look like having some problem(don't fit well to histogram) and the parameter from lognorm.fit is so ...