EDMONTON -- Recent polling data suggests that Democratic hopeful Joe Biden has a significant and steady lead over U.S. President Donald Trump in both the popular vote and some key swing-state surveys heading into Tuesday鈥檚 election.

But if Hillary Clinton鈥檚 2016 electoral upset is any indication, Biden winning the White House is far from a sure thing based on national poll numbers alone.

According to pollster Nik Nanos, there may still be a path to victory for Trump through the Electoral College. And, like in 2016, the national polls may be doing a poor job reflecting the state-by-state polls the very factor pollsters failed to account for in 2016.

鈥淢ost of the major pollsters were within the margin of error, predicting (Hillary) Clinton to win the popular vote鈥 in 2016, Nanos explained on Friday鈥檚 episode of CTV鈥檚 Trend Line podcast.

鈥淭he failure was actually in the most important thing, which was the Electoral College, because it's not a proportional democracy in America. It is the Electoral College that actually picks the president.鈥

As Nanos explains, because Clinton was consistently ahead in popularity for most of the campaign鈥攋ust as Biden is now鈥攊t was wrongly interpreted that would translate to a win in the Electoral College.

As 2016 demonstrated, national leads aren鈥檛 always an accurate snapshot of the state-by-state horse race between candidates.

While most of the pollsters in 2016 were within the margin of error predicting Clinton to win the popular vote, several factors played into Trump鈥檚 surprise win.

, polls in some key Midwestern battleground states overstated support for Clinton and understated support for Trump, after having too many college graduates in their samples. Undecided voters in key states also swung toward Trump in the race鈥檚 final days when there were no polls in the field.

In today鈥檚 race, Trump trails Biden by an average of eight points nationally, and is behind in every important battleground state鈥攁 very similar margin compared to 2016.

Nanos points to sites like , which creates statistical models of electoral projections based on polling data. As of Oct. 29, Biden has a lead of just over 9.0 percentage points in the popular vote.

鈥淲hat people don't realize is that for these things, forty thousand, fifty thousand simulations are run. And then in those simulations, Biden, for example, wins 80 per cent of the time. But Trump still wins 17 per cent of the time,鈥 Nanos explained.

鈥淚t鈥檚 kind of like the weather鈥 we read the weather and when there's zero chance of rain it's usually right. But as soon as there's any chance of rain, five percent, 10 percent, 15 percent, 20 percent, that means it can rain.鈥

In other words, an 80 per cent chance of Biden winning doesn鈥檛 mean it鈥檚 a guarantee.

鈥淚t means that he's more likely on the balance of probability, but that Trump can still win the Electoral College vote and the election,鈥 said Nanos.

HOW DO YOU POLL FOR AN ELECTORAL COLLEGE WIN?

Although Biden has a narrow advantage in critical battlegrounds that could decide the race, there are several states where Trump is ahead or within the margin of error for an Electoral College win.

In 2016, Trump lost the popular vote but had a comfortable margin in the Electoral College, where each state gets a number of votes based on their population.

But polling for an Electoral College win has its challenges, especially because high-quality state-level polling remains sparse.

鈥淲hen you look at the in the national polling scene and the mainstream media, that they hire major companies that have great track records and they do a good job at the polling and predicting national party support,鈥 said Nanos.

鈥淏ut when you get to the state level, there's a diversity of firms and organizations commissioning polls.鈥

As Nanos explains, accounting for state projections is especially difficult during this year鈥檚 race, noting that Republican strongholds, like Florida, are turning into toss up states.

鈥淲e even have the Democratic vice presidential candidate going to Texas鈥攖he Democrats haven't won Texas in a long time. But the gap is narrowing even in that state. So, there are toss up states where the numbers are within the margin of error,鈥 he explained.

鈥淭hey're based on state polls that I will say are wobbly. And we should be very careful in some of these Electoral College predictions because they're very susceptible to a quick change if just one or two percentage points swing in one direction or another.鈥