The problem
A psychic uses a five-card deck to demonstrate ESP, claiming to be able to guess a card correctly with $0.5$ probability (of course, ordinary guessing is $0.2$). A single experiment consists of making five guesses, reshuffling the deck after each guess. The experiment is executed and the the psychic guess correctly $3$ out of $5$ times. Assuming that the only two possibilities are "ESP" and "not-ESP" how high must the a priori probability that the psychic really has ESP be, in order for the a posteriori probability that the psychic has ESP to be at least $0.7$?
Thoughts
Let
$X = \#$ of correct guess after $5$ attempts.
My understanding is that the prior distribution has to be a function of a parameter $\theta$
$\theta = $ probability that the psychic has SP
Q1: Is this the correct parameter or should I choose a different one?
Assuming that this is the case, I need to choose a distribution for $\theta$.
Q2: Is the uniform distribution $Unif(0,1)$ an appropriate distribution?
My understanding is that $f(x|\theta) \sim Bin(5, \theta)$ (but please correct me if there is motivation for a better choice for the distribution).
Putting all this together:
$$ f(\theta | X = 3) \propto f(X = 3 | \theta) f(\theta) $$
I am not sure, though, how all this is supposed to help me find the desired probability. I think that part of the confusion is from the terminology a prior and a posteriori probability in this particular context.
I would appreciate any hints, suggestions, clarifications about this problem. Thank you very much in advance.
The way you have written it, "$\theta$ = probability that the psychic has ESP", $\theta$ essentially is your prior distribution. There are only two possibilities, ESP and not-ESP, so the full statement of the prior is (I write $e$ for ESP and $\neg$ for negation):
Writing $d$ for the observed data (3 out of 5 guesses correct), the inference is: $$ P(e\mid d) = \frac{P(e) P(d\mid e)}{P(d)} $$
I take "ordinary guessing" (independently at $0.2$) to mean $P(d\mid\neg e)$, and the denominator $P(d)$ has to be taken as $P(d\wedge e) + P(d\wedge\neg e)$, which can be expressed in terms of your unknown and the given binomial probabilities as follows: $$ P(d) = P(d\mid e)P(e) + P(d\mid \neg e)(1 - P(e)) $$ The only unknown is $\theta = P(e)$. Solve the inequality $P(e\mid d)\geq 0.7$.
("Prior" means just "prior to data" or "prior to this particular experiment". The question here is: how inclined you need to be to believe that this psychic is genuine, before this experiment, for this experiment to convince you at least that much.)