A new poll shows voters giving Rep. Paul RyanPaul Davis RyanTrump backs down in rare reversal Trump, GOP launch full-court press on compromise immigration measure Meadows gets heated with Ryan on House floor MORE (R-Wis.) a slight edge when asked which VP candidate is better qualified to serve as president. 

The new survey from conservative-leaning outlet Rasmussen shows that 42 percent say the House Budget Chairman and Mitt Romney running mate would be more qualified to be commander-in-chief. Forty percent pick Vice President Joe BidenJoseph (Joe) Robinette BidenBiden: Trump family separation policy could make the US a pariah Elizabeth Warren can unify Democrats and take back the White House Giuliani doubles down on Biden comments: 'I meant that he’s dumb' MORE, with 18 percent undecided. 

Ryan’s two-point edge, however, is within the poll’s 3-percent margin of error.

The survey comes after a difficult week for the vice president.

On Tuesday, he told a racially mixed audience at a campaign rally in Virginia that Republican policies toward Wall Street would "put y'all back in chains," a comment that brought swift condemnation from Republicans. 

The Obama campaign defended Biden and said that his remark was taken out of context.

Yet the latest in a series of gaffes from the vice president, led to media speculation that he might be forced off the ticket, despite the Obama administration’s repeated statements that Biden would run with the president in 2012.

On Thursday, White House press secretary Jay Carney said Republicans were trying to "distract attention" and said Obama had no intention of getting rid of Biden as his running mate. 

Obama campaign press secretary Ben LaBolt also denied a report in a new book, The Amateur, by Ed Klein, that officials had urged Obama to replace Biden with Secretary of State Hillary ClintonHillary Diane Rodham ClintonTrump mocks 'elites' at campaign rally Trump backs down in rare reversal Election Countdown: Family separation policy may haunt GOP in November | Why Republican candidates are bracing for surprises | House Dems rake in record May haul | 'Dumpster fire' ad goes viral MORE on the ticket. 

On Friday, LaBolt said any talk of replacing Biden was just press-driven and called the vice president "absolutely essential to our ticket."

The new Rasmussen poll numbers will also be welcome news at Romney headquarters after other polls in Ryan's first week on the campaign trail suggested he had received a lukewarm response from voters.

A USA Today/Gallup poll on Monday, though, found that the seven-term Wisconsin lawmaker was viewed as a “fair” or “poor” choice by 42 percent, with 39 naming him an “excellent” or “pretty good” choice. 

That survey found Ryan was the worst performing VP pick immediately after his introduction since Vice President Dan Quayle in 1988.  Quayle was viewed as a “fair” or “poor” choice by 52 percent of the public in that year.

Another Rasmussen poll this week, though, found voters viewing Ryan more favorably after his selection by Romney. 

In that poll released Tuesday, 50 percent surveyed said they had a favorable view of the GOP veep pick, including 29 percent who held a “very favorable” view. Thirty-two percent viewed him unfavorably, with 13 percent holding a “very unfavorable” view. 

Overall, 43 percent said he was the right pick for Romney.

The Rasmussen poll on Biden and Ryan's relative qualifications for the presidency was conducted from Aug. 14 to 15.