Monte Carlo, Markov Chains, Metropolis Hastings.
0.2359528875945374 standard error of theta, 0.07461485452924263 t = 0.04366883496526178 p value from t test is, 0.9660280570824347 P value is greater than 0.05, fail to reject null hypothesis: p(Head) = θ = 0.5, this is an unbiased coin. The second option is using quantile. First sort the 1000 θ,