Margin of Error (The Wire)  "Margin of Error" is the sixth episode of the fourth season of the HBO original series "The Wire". Written by Eric Overmyer from a story by Ed Burns & Eric Overmyer, and directed by Dan Attias, it originally aired on October 15, 2006. On Sunday morning, Mayor Royce and Councilmen Gray and Carcetti attend church to win support from the ministers as the election approaches. Later, while Carcetti and Wilson are campaigning downtown, State Delegate Watkins shows a flier linking Carcetti to a notorious slumlord. Wilson recognizes the flier as a last-minute smear tactic by Royce, but Carcetti becomes agitated that the attack might work. Carcetti, Wilson, D'Agostino, and Gerry discuss how to respond to the flier. At Wilson's urging, Carcetti appears on several radio talk shows, which helps to get his mind off Royce's campaign flyer. Senator Davis offers to hold off his usual election-day support of Royce in exchange for $20,000. Carcetti reluctantly agrees. Sydnor and Herc watch as Marlo meets with his lieutenants. Marlo makes a phone call about picking up a "skinny girl from New York," which Herc interprets as an arrangement to pick up a supply of cocaine. Herc follows Marlo to Penn Station and has him arrested when he meets a woman who turns out not to be carrying drugs - Marlo has engineered the incident to draw out the police. Meanwhile, Greggs learns that a prisoner has offered information on the dead state's witness. However, Rawls tells Landsman to detail Greggs and Norris to uniformed duty at the polls, stalling the witness case until after the election. At school, Prez offers to help Dukie get clean clothes. Donnelly and Grace remove Namond from regular class and put him in Colvin and Parenti's study program along with nine other students. When Donnelly threatens Randy with expulsion over a potential sexual assault case, he reveals that he knows about a murder. Prez appeals to her to let him hand Randy's confession on to someone that he trusts in the police. In the Western District, a murder warrant is issued for Omar for the shooting of the delivery woman. McNulty is skeptical that Omar would kill someone not involved in the drug trade. Prez appeals to Daniels to help prevent Randy from getting chewed up by the system.