Questions tagged [probability]
Consider if your question would be better at stats.stackexchange.com. Probability touches upon uncertainty, random phenomena, random numbers, random variables, probability distributions, sampling, combinatorics.
3,375
questions
0
votes
0answers
15 views
Calibrating probabilities of neural network
I would like to calibrate the probabilites of my CNN classification model. I have a custom cross-validation and in each cross-validation run I'm dowing the following:
from sklearn.calibration import ...
2
votes
3answers
57 views
R: How would I repeatedly simulate how many attempts before a success on a 1/10 chance? (and record how many attempts it took?)
R and probability noob here. I'm looking to create a histogram that shows the distribution of how many attempts it took to return a heads, repeated over 1000+ simulated runs on the equivalent of an ...
-1
votes
0answers
21 views
Transition probability matrix of a Markov chain with 2D state variables in python
I'm working on a time-series problem and I want to estimate the transition probability matrix of a 2D time-series data (n_samples=997, state height= 5, state width= 3) and there are only 5 possible ...
-1
votes
0answers
11 views
Probibility of sum of two random variables [closed]
If X and Y are two uniformly distributed random
variables in (0, 10) and (0, 20) respectively, then
P(X + Y > 20) is
-1
votes
0answers
28 views
How do I use probability as a factor of selecting an item from a list using choice()? [duplicate]
I want to select an item from the list using their probability as a determining factor. Below is as far as I have gotten.
import random
Nothing = {'Chance': 0.5}
Valuable = {'Chance': 0.1}
Junk = {'...
0
votes
2answers
44 views
Probability of a point taken from a certain normal distribution will be less than or equal to than a point taken from another?
Suppose we have two independent normal distributions
How do I calculate the probability of a certain point taken from distribution X1 being less than or equal to a certain point taken from ...
0
votes
1answer
47 views
+50
Multiple ngrams in transition matrix, probability not adding to 1
I'm trying to find a way to make a transition matrix using unigrams, bigrams, and trigrams for a given text using python and numpy. Each row's probabilities should equal to one. I did this first with ...
0
votes
0answers
14 views
continues density plot seaborn with lower limit
I have been using this code for my continues parameters to plot the probability distributions. However, my parameter now is price that cant be below zero, I have been reading to see if I can customize ...
-2
votes
1answer
47 views
How to solve an R problem with both exponential and poisson distribution?
I have come across questions in R which deal with exponential and poisson distributions separately, but I am unsure about how to go about it when you need to use both in the same question
The number ...
0
votes
0answers
10 views
Can I calculate absolute probabilities from probability ratio output?
I'm using the MIAmaxent package to run a maxent analysis for a species distribution model. I have presence-only data for one species, with three habitat variables (raster format). I can provide sample ...
0
votes
0answers
21 views
What's the probability of drawing four different suits when picking five cards?
Considering an infinite and perfectly random deck of cards (or just repositioning the cards and shuffling a normal deck after every drawn card), how do I calculate the probability that exactly x suits ...
0
votes
0answers
20 views
Predict the total goasl of a football game after half time
I am doing a sports analytics project, and I want to predict the total goal of a football game after a given time (e.g. half time).
I was thinking about collecting data with the same half-time results,...
-2
votes
0answers
12 views
I am trying to solve this question, maybe someone help me find the solution for B and C? [closed]
enter image description here
statistics and probability question I need the solution for the B and C!
0
votes
0answers
27 views
standard deviation in openoffice / libreoffice, but with probabilities associated
I would like to calculate the standard deviation of a set of datas with probabilities associated to values. I use openoffice, but a solution in libreoffice would be OK to me too.
Exemple :
Values : 1 -...
-2
votes
0answers
22 views
How to Estimate Teta from a sample using Newton Rapson - Distribution Cauchi in R [closed]
I have a data that seen like this -
> dput(asnum)
c(7.16523478153752, 5.66659652818595, 4.47575534893755, 4.84970857977856,
15.2276296414708, -0.573093658844655, 4.97980673868322, 2.73969325233614,...