In a certain factory, microchips are made by two machines. Machine makes a proportion of the chips, where , and machine makes the rest. A proportion of the chips made by machine are perfect, and a proportion of those made by machine are perfect, where and . The chips are sorted into two groups: group 1 contains those that are perfect and group 2 contains those that are imperfect.
In a large random sample taken from group 1, it is found that were made by machine . Show that can estimated as
Subsequently, it is discovered that the sorting process is faulty: there is a probability of that a perfect chip is assigned to group 2 and a probability of that an imperfect chip is assigned to group 1. Taking into account this additional information, obtain a new estimate of .