S&P 500 under Democratic and Republican Presidents

I hear so many things about how investors prefer a Republican president I often  wonder if they have ever looked at the data.  Of course from just looking at a chart of the S&;P 500 since WWII  it is hard to see how the market has performed under different presidents.
Maybe this chart that shows the percent change under each president would make it a little clearer.
It shows that in the modern era the S&P 500 provided miserable returns under two administrations —
Nixon-Ford and Bush Jr.

But maybe the  best way is to look at a table of this data.  The table shows that since WW II the market increased 261.8 % under Republican presidents and 449.1% under Democratic presidents.  But Republicans have held office for 36 years while Democrats have  held the Presidency for 31.6 years — Truman was president for 7 years and 5 months while Obama still has 3 months to go to fill his first term. Taking the annual average to adjust for this, shows that the average annual returns under Republicans was 7.3%  and under Democrats it was 14.2%, or almost double the rate of return under Republicans.  If your well being depends heavily on stock returns, as most portfolio managers does, you are clearly better off now than you were four years ago.
 
To address possible objections to this analysis I could add Hoover and Roosevelt but that would just make the Democrats larger and reduce the Republicans average returns.  The data is for the monthly average from the month they took office until the next president took office.  I do not have daily prices back far enough to use daily prices and my data on total returns, including dividend reinvestment, only goes back to 1970.  Truman took office after V-E Day and just before V-J Day, so his  inauguration  marks a very good way to date the start of the post WW II era.