49 views

Estimate probability from sample frequency in a binomial distribution [duplicate]

If I get $s$ successes out of $n$ trials in a binomial distribution, what is the probability $p$ of getting a success in each individual trial? Presumably $p = s/n$, but what if $s = 0$ or $s = n$? ...
25 views

Bayes: posterior density, mean and mode [duplicate]

The likelihood function is $f(n_1|\alpha,n) = [\frac{n!}{n_1!(n-n_1)!}]\alpha^{n_1}(1-\alpha)^{n-n_1}$ The prior for $\alpha$ $g(\alpha)=(\alpha(1-\alpha))^{-1}$ for $\alpha$ between 0 and 1. ...
170k views

What is the intuition behind beta distribution?

Disclaimer: I'm not a statistician but a software engineer. Most of my knowledge in statistics comes from self-education, thus I still have many gaps in understanding concepts that may seem trivial ...
21k views

What is an “uninformative prior”? Can we ever have one with truly no information?

Inspired by a comment from this question: What do we consider "uninformative" in a prior - and what information is still contained in a supposedly uninformative prior? I generally see the prior in ...
66k views

What is the difference in Bayesian estimate and maximum likelihood estimate?

Please explain to me the difference in Bayesian estimate and Maximum likelihood estimate?
5k views

Choosing between uninformative beta priors

I am looking for uninformative priors for beta distribution to work with a binomial process (Hit/Miss). At first I thought about using $\alpha=1, \beta=1$ that generate an uniform PDF, or Jeffrey ...
16k views

Bayesian logit model - intuitive explanation?

I must confess that I previously haven't heard of that term in any of my classes, undergrad or grad. What does it mean for a logistic regression to be Bayesian? I'm looking for an explanation with a ...
794 views

Whence the beta distribution?

As I'm sure everyone here knows already, the PDF of the Beta distribution $X \sim B(a,b)$ is given by $f(x) = \frac{1}{B(a,b)}x^{a-1}(1-x)^{b-1}$ I've been hunting all over the place for an ...
14k views

How do I choose parameters for my beta prior?

Suppose today I'm going to flip a coin. I believe that 9 of 10 flips will come up heads. I flip the coin and 8 of 10 are heads. Is my distribution of belief beta(9+8, 1+2) beta(1+9+8, 1+1+2) beta(...
2k views

Posterior vs conditional probability

When talking about events, there is the following formula called Bayes' rule, where $A$ and $B$ are random events: $$P(A|B)=\frac{P(B|A)P(A)}{P(B)}$$ Now let's say that for now only $A$ happened. I ...
199 views

Estimation derived from ignorance

Is something wrong with the following reasoning? Mostly I wonder how could one derive uniformly random arrival from ignorance. But even if that derivation is invalid generally, it seems reasonable ...
Below (in R), I have two INDEPENDENT groups of scores that are binomially distributed. These two groups of scores are known to have different probability of success (i,e., $p_1 \neq p_2$). Let's ...