I have a list of trials where I pick balls at random from a bag containing different color balls. My focus right now is on a specific color say RED such that
Trial = {RED, NoRED, RED, NoRED, NoRED, NoRED, NoRED, RED, NoRED, NoRED}
From this data N = 10, p=numberOfRed/n = 3/10 = 0.3, q=1-p=0.7
Now I have a new data point. What is the probability of the ball being RED? Here is how I am trying to solve this problem.
P(X=RED) = N!/(N-X)!*X!*(p^N*q^(N-X))
P(X=RED) = 10!/(10-1)!*1!*(0.3^10*0.7^9)
In this case, for a new data point I am putting X=1. I think that is not correct. Can somebody help in calculating the probability of a new data point being a RED ball ? Thanks