Consider if your question would be better at the statistics stackexchange. Probability touches upon uncertainty, random phenomena, random numbers, random variables, probability distributions, sampling, combinatorics.
6
votes
0answers
196 views
Minimizing NExpectation for a custom distribution in Mathematica
This relates to an earlier question from back in June.
Calculating expectation for a custom distribution in Mathematica
I have a custom mixed distribution defined using a second custom distribution ...
2
votes
0answers
107 views
Weighted random selection in Cocoa (frequently changing the weights)
I have an array (could make it into a set I think) of around 1000-2000 dictionaries. Each one of those has a key whose value (a float... they don't add up to anything specific) I want to use as a ...
1
vote
0answers
68 views
Bayes Rule Using SQL
Wanted to confirm the technique i am using to calculate the a-posterior probabilities of the following disease is correct for the following Bayes Network ...
1
vote
0answers
257 views
Handling Underflow with HMM Forward-Algorithm
I'm trying to implement the Forward-Algorithm for a Hidden Markov Model (HMM) and I'm facing the underflow issue when filling the alpha table. I normalized the alpha values using the method described ...
1
vote
0answers
179 views
Cumulative frequency on normal probability plot
How do I get the cumulative frequency for each unique X value plotted on a normal probability (non linear) y axis. Have used probplot(x) but it doesn't accumulate identical values. My data is a data ...
1
vote
0answers
108 views
Bingo Probability
I was attempting the programming challenge Bingo Probability, and the solutions all seem to involve generating a bingo card, then running through iterations to determine the probability. Is there a ...
1
vote
0answers
88 views
Fokker-Planck: convection in two directions
I'm trying to simulate a Fokker-Planck process with the particles moving in direction A for fraction x of the time and direction B for (1-x). How do I set up the equation? Or is it possible for me to ...
1
vote
0answers
532 views
Probabilities computation for Naïve Bayes classifier under Weka
I want to understand how the Naive Bayes classifier works with text classification, in particular, how is the calculation of probabilities?
Class
Attribute ...
1
vote
0answers
287 views
code to solve the “Theater Row” brain teaser
I was reading a book called "Fifty Challenging Problems in Probability", which is filled with lots of probability-related brain teasers. I wasn't able to solve one of the problems there, and wasn't ...
1
vote
0answers
62 views
Use scripting language to generate Zipf-like samples
Is there any scripting language function (like in python or bash) that samples from a zipf-like distribution, for exponent 0<a<=1. Zipf-like distribution p(a) can be found, here.
PS: I am ...
1
vote
0answers
302 views
Generate a random sample with a contaminated log-normal distribution
I would like generate a random sample with a contaminated lognormal distributed in Matlab. An example of a contaminated lognormal distributed sample could be bimodal lognormal distribution where you ...
0
votes
0answers
33 views
Need Help Implementing a Basic Binary Symmetric Channel In Matlab
I am working through Cover, Thomas "Elements of Information Theory" and want to try and implement a simple example of a binary symmetric channel. That is to say, I can specify a message "1001", an ...
0
votes
0answers
36 views
Deconvolution in R with Non-Gaussian noise
I have a process that generates the data: y = x + noise. The situation is similar to the question: Deconvolution with R (decon and deamer package). In my case, the distribution of noise - the ...
0
votes
0answers
20 views
Is there any third party CUDA-based API to calculate the density of a probability distribution?
I know gsl_rng has some functions to calculate the density of a wide range of probability distributions (uniform, gaussian, Dirichlet...). cuRAND can generate most of random distributions, but it ...
0
votes
0answers
15 views
Number of ways in which students can be arranged in a row during examination
Assume there is a examination hall. Students of computer stream are to be sitted and arranged in only row "B". Let "n" be the number of desks in row "B" .What is the number of ways in which at least ...