[Python] How to get function signature

How to get function signature in Python

Use:

import inspect
function_signature = inspect.signature(function_reference)

Full Example

#
# [Python] How to get function signature
#
import inspect

def myfunc(a, b, multiplier=1.0):
    return multiplier*(a + b)

print("myfunc(1,2) is:", myfunc(1,2))

sig = inspect.signature(myfunc)

msg = "function signature is: " + str(sig)
print(msg)

Note that the signature sig above is not a string (a Python str object). Must be cast to a Python str to concatenate with a string as shown in computing msg.

Python demonstration code output

(C) 2022 by John F. McGowan, Ph.D.

About Me

John F. McGowan, Ph.D. solves problems using mathematics and mathematical software, including developing gesture recognition for touch devices, video compression and speech recognition technologies. He has extensive experience developing software in C, C++, MATLAB, Python, Visual Basic and many other programming languages. He has been a Visiting Scholar at HP Labs developing computer vision algorithms and software for mobile devices. He has worked as a contractor at NASA Ames Research Center involved in the research and development of image and video processing algorithms and technology. He has published articles on the origin and evolution of life, the exploration of Mars (anticipating the discovery of methane on Mars), and cheap access to space. He has a Ph.D. in physics from the University of Illinois at Urbana-Champaign and a B.S. in physics from the California Institute of Technology (Caltech).

[Python] How to plot text in normalized coordinates in matplotlib

Normalized coordinates refers to plot coordinates where the horizontal and vertical axes run from 0.0 to 1.0 or zero percent to 100 percent of the plot dimensions. One often wants to position text labels or annotations in this way. This is NOT the default for the plt.text(…) function in matplotlib, the plotting add on module for Python that emulates MATLAB style plotting.

The key functions in matplotlib for normalized coordinates are:

ax = plt.gca()  # get the current axes of the plot
plt.text(x, y, "my text", transform=ax.transAxes, fontsize)

This is a short program showing the full use of these two function in context.

# How to plot text in normalized coordinates (0, 1) in matplotlib
# ax = plt.gca()  # get current plot axes object
# plt.text(x, y, string_message, transform = ax.transAxes, fontsize)

import numpy as np
import matplotlib.pyplot as plt
x = np.linspace(0.0, 10.0, 100)
y = 10*x**2
fig = plt.figure()
plt.title("How to plot text in normalized coordinates in matplotlib", fontsize=8)
plt.plot(x, y, 'g-', label='parabola')
# Plot text in normalized (0.0, 1.0) coordinates in matplotlib
ax = plt.gca()  # get current plot axes object
# NOTE: lowercase first letter of transAxes below
Y_POS = 0.91  # in range 0.0 to 1.0 (100%)
this_text = f"plt.text(0.01, {Y_POS}, \"this text\", transform=ax.transAxes"
plt.text(0.01, 0.95, "ax = plt.gca()", transform=ax.transAxes)
plt.text(0.01, Y_POS, this_text, transform=ax.transAxes)
#
plt.minorticks_on()
plt.grid(True, which='major', color='k')
plt.grid(True, which='minor')
plt.xlabel('X')
plt.ylabel('Y')
plt.show()
fig.savefig('matplotlib_normalized_coordinates.jpg', dpi=72)
Output Plot with key function text positioned in normalized coordinates

(C) 2022 by John F. McGowan, Ph.D.

About Me

John F. McGowan, Ph.D. solves problems using mathematics and mathematical software, including developing gesture recognition for touch devices, video compression and speech recognition technologies. He has extensive experience developing software in C, C++, MATLAB, Python, Visual Basic and many other programming languages. He has been a Visiting Scholar at HP Labs developing computer vision algorithms and software for mobile devices. He has worked as a contractor at NASA Ames Research Center involved in the research and development of image and video processing algorithms and technology. He has published articles on the origin and evolution of life, the exploration of Mars (anticipating the discovery of methane on Mars), and cheap access to space. He has a Ph.D. in physics from the University of Illinois at Urbana-Champaign and a B.S. in physics from the California Institute of Technology (Caltech).

[Python] How to combine two column vectors into a single column vector

How to combine two column vectors into a single column vector in Python and NumPy

Use the NumPy vstack(…) function as show below:

import numpy as np
one = np.array([[1], [2]])
two = np.array([[3], [4]])
blatz = np.vstack((one, two))
print(blatz)
[[1]
[2]
[3]
[4]] 
How to combine two column vectors into a single column vector in Python and NumPy using vstack

(C) 2022 by John F. McGowan, Ph.D.

About Me

John F. McGowan, Ph.D. solves problems using mathematics and mathematical software, including developing gesture recognition for touch devices, video compression and speech recognition technologies. He has extensive experience developing software in C, C++, MATLAB, Python, Visual Basic and many other programming languages. He has been a Visiting Scholar at HP Labs developing computer vision algorithms and software for mobile devices. He has worked as a contractor at NASA Ames Research Center involved in the research and development of image and video processing algorithms and technology. He has published articles on the origin and evolution of life, the exploration of Mars (anticipating the discovery of methane on Mars), and cheap access to space. He has a Ph.D. in physics from the University of Illinois at Urbana-Champaign and a B.S. in physics from the California Institute of Technology (Caltech).

[Video] How to Copy Table Data from a Web Page in FireFox

Uncensored Video Links: BitChute NewTube ARCHIVE

Seven minute video on how to copy a data table from a web page into a spreadsheet, text editor or other program using the FireFox Web Browser on MS Windows.

About Us:

Main Web Site: https://mathematical-software.com/
Censored Search: https://censored-search.com/
A search engine for censored Internet content. Find the answers to your problems censored by advertisers and other powerful interests!

Subscribe to our free Weekly Newsletter for articles and videos on practical mathematics, Internet Censorship, ways to fight back against censorship, and other topics by sending an email to: subscribe [at] mathematical-software.com

Avoid Internet Censorship by Subscribing to Our RSS News Feed: http://wordpress.jmcgowan.com/wp/feed/

Legal Disclaimers: http://wordpress.jmcgowan.com/wp/legal/

Support Us:
PATREON: https://www.patreon.com/mathsoft
SubscribeStar: https://www.subscribestar.com/mathsoft

Rumble (Video): https://rumble.com/c/mathsoft
BitChute (Video): https://www.bitchute.com/channel/HGgoa2H3WDac/
Brighteon (Video): https://www.brighteon.com/channels/mathsoft
Odysee (Video): https://odysee.com/@MathematicalSoftware:5
NewTube (Video): https://newtube.app/user/mathsoft
Minds (Video): https://www.minds.com/math_methods/
Archive (Video): https://archive.org/details/@mathsoft

(C) 2022 by John F. McGowan, Ph.D.

About Me

John F. McGowan, Ph.D. solves problems using mathematics and mathematical software, including developing gesture recognition for touch devices, video compression and speech recognition technologies. He has extensive experience developing software in C, C++, MATLAB, Python, Visual Basic and many other programming languages. He has been a Visiting Scholar at HP Labs developing computer vision algorithms and software for mobile devices. He has worked as a contractor at NASA Ames Research Center involved in the research and development of image and video processing algorithms and technology. He has published articles on the origin and evolution of life, the exploration of Mars (anticipating the discovery of methane on Mars), and cheap access to space. He has a Ph.D. in physics from the University of Illinois at Urbana-Champaign and a B.S. in physics from the California Institute of Technology (Caltech).

[Video] Murder Math: Do Executions Deter Serial Killers?

Uncensored Video Links: BitChute NewTube ARCHIVE

Ten minute video on the deterrent effect of executions on serial killers in the United States.

Text Article: http://wordpress.jmcgowan.com/wp/murder-math-do-executions-deter-serial-killers/

About Us:

Main Web Site: https://mathematical-software.com/
Censored Search: https://censored-search.com/
A search engine for censored Internet content. Find the answers to your problems censored by advertisers and other powerful interests!

Subscribe to our free Weekly Newsletter for articles and videos on practical mathematics, Internet Censorship, ways to fight back against censorship, and other topics by sending an email to: subscribe [at] mathematical-software.com

Avoid Internet Censorship by Subscribing to Our RSS News Feed: http://wordpress.jmcgowan.com/wp/feed/

Legal Disclaimers: http://wordpress.jmcgowan.com/wp/legal/

Support Us:
PATREON: https://www.patreon.com/mathsoft
SubscribeStar: https://www.subscribestar.com/mathsoft

Rumble (Video): https://rumble.com/c/mathsoft
BitChute (Video): https://www.bitchute.com/channel/HGgoa2H3WDac/
Brighteon (Video): https://www.brighteon.com/channels/mathsoft
Odysee (Video): https://odysee.com/@MathematicalSoftware:5
NewTube (Video): https://newtube.app/user/mathsoft
Minds (Video): https://www.minds.com/math_methods/
Archive (Video): https://archive.org/details/@mathsoft

(C) 2022 by John F. McGowan, Ph.D.

About Me

John F. McGowan, Ph.D. solves problems using mathematics and mathematical software, including developing gesture recognition for touch devices, video compression and speech recognition technologies. He has extensive experience developing software in C, C++, MATLAB, Python, Visual Basic and many other programming languages. He has been a Visiting Scholar at HP Labs developing computer vision algorithms and software for mobile devices. He has worked as a contractor at NASA Ames Research Center involved in the research and development of image and video processing algorithms and technology. He has published articles on the origin and evolution of life, the exploration of Mars (anticipating the discovery of methane on Mars), and cheap access to space. He has a Ph.D. in physics from the University of Illinois at Urbana-Champaign and a B.S. in physics from the California Institute of Technology (Caltech).

Murder Math: Do Executions Deter Serial Killers?

Introduction

The 1980’s were the decade of serial killers. Serial killers were in the news, Hollywood movies, bestselling novels like Thomas Harris’s Red Dragon and Silence of the Lambs, and True Crime books. The serial killer craze overlapped with fears of missing children, hysteria about the Dungeons and Dragons role playing game, and tales of Satanic Ritual Abuse — themes exploited in Netflix’s hit 80s nostalgia show Stranger Things.

The craze started in the 1970s with high profile serial killer cases such as Ted Bundy and John Wayne Gacy and continued into the early 1990s with the hit Silence of the Lambs movie starring Jodie Foster (the fifth highest grossing movie in 1991) and the notorious Jeffrey Dahmer cannibal serial killer case.

The Silence of the Lambs Movie Poster (1991)

In the last three decades serial killers have waned in the news and public consciousness. The 1980s is often remembered for a Satanic Panic, a supposedly entirely unfounded hysteria about Satanism, ritual abuse in day care centers and Satanic serial killers. Henry Lee Lucas’s once widely repeated claims to have killed six-hundred people as a contract killer for a Satanic cult have been largely dismissed as fantasy.

A US Senate committee and the FBI produced an estimate in 1983 of about 3,600 Americans possibly murdered in 1981 by serial killers, rounded up to 4-5,000 in some news media reports. In 1984 the FBI rolled the number back to about ten percent of all murders, or about 540 Americans possibly murdered by serial killers in a year. Scholars challenged the FBI and government figures as grossly exaggerating the number of murders by serial killers. (see Using Murder: The Social Construction of Serial Homicide by Philip Jenkins for an in depth discussion of the statistics.)

Was the 1980s Serial Killer Wave Real?

Was there even a wave of serial killer cases or was the serial killer wave the product of news coverage and clever marketing by the FBI’s Behavioral Sciences Unit? Have serial killer cases declined in frequency and — if so — why?

Wikipedia’s List of serial killers in the United States purports to be a comprehensive list of known serial killers in the United States with names, dates, and numbers of proven and possible victims from the 1700s to the present (data table downloaded on August 21, 2022).

Indeed this Wikipedia database shows a dramatic surge in serial killers peaking in the early to mid 1980’s and declining back to historically very low levels in the 1990s through the present. This surge is clear in all cases, serial killers with five or more known victims, and even the rare serial killers with ten or more known victims such as Jeffrey Dahmer.

WHY?

The serial killer surge occurred during a period of almost no executions with a complete cessation for four years after the 1972 Furman versus George Supreme Court cast. As executions ramped back up in the 1990’s serial killer cases dropped.

This plot shows executions of serial killers between 1950 and 2020, with about 115 executed out of a total of 553 from the Wikipedia list. These are particularly heinous crimes often involving sadistic torture of victims. Serial killers face a much higher probability of execution than the typical murderer.

The next plot shows several key data series from 1950 to 2020. The red line shows the execution rate, executions per 150 million Americans. The count of executions in the United States is from the ESPY file from deathpenaltyinfo.org and the US Executions from 2003 to 2020 reported by statista (URL: https://www.statista.com/statistics/629845/number-of-executions-per-year-in-the-us-since-2000/)

One can see executions had dropped to almost zero by 1966, well before the 1972 Furman versus Georgia Supreme Court case that completely stopped executions until 1976. Many of the few executions during the 1970s were murderers who wanted or claimed they wanted to be executed such as Utah’s Gary Gilmore case. Executions began to rise slowly in 1982 reaching a post 1972 peak in 1998.

The green line shows the overall United States Homicide Rate in Homicides per Million Americans. The homicide rate is usually quoted as homicides per 100,000 (100K). Per million is used to make the scale comparable to the other key data series in the plot. The overall murder rate doubles during this period, dropping back to historical levels in the 1990’s as executions rose back to late 1950, early 1960s levels.

The US Homicide rate is from two sources: https://www.infoplease.com/us/crime/homicide-rate-1950-2014 and https://www.macrotrends.net/countries/USA/united-states/murder-homicide-rate

The light blue bars show the proven victims of named serial killers from the Wikipedia list. The shorter dark blue bars show the number of active named serial killers. The list often gives a range of years when the killer was active, e.g. 1982-1986. The proven victims and the serial killer are assigned to the mid-point of the range for simplicity, e.g. 1984. The number of active serial killers by year, defined in this way, is inversely correlated with the execution rate: more executions, fewer serial killers.

The yellow bars show the number of victims of mass shootings from Wikipedia’s List of mass shootings in the United States (data tables downloaded on August 24, 2022). The number of mass shooting victims has climbed as the number of executions has dropped since the 1998 peak while the number of serial killer victims has remained low.

The plot below shows the US named serial killer proven victims per year versus the execution rate, executions per 150 million Americans. We can see that the maximum number of proven victims drops exponentially with the execution rate. At low execution rates, there is significant unexplained variation in the number — suggestion other factors at play when executions are rare or nonexistent.

The plot below shows the US Murder Victims per 100,000 Americans per year versus the execution rate, again executions for 150 million Americans. We can see the murder rate drops exponentially with the execution rate. Again, at low execution rates, there is significant unexplained variation indicating other factors than the execution rate play a role when executions are rare or non existent. R**2, known as “R squared” is the coefficient of determination and is roughly the fraction of variation in the data explained by the model.

There appears to be a strong relationship between the execution rate and the number of murders — both the general murder rate and the serial killer murder rate. Both popular news and academic articles often claim mystification as to both the reasons for the sharp late 1960’s rise in murders compared to the historical 1950s, early 1960’s levels and similarly the dramatic drop in murders in the 1990s. It is true that the execution rate is probably highly correlated with other “tough on crime” measures over time.

Alternative Theories

Nonetheless, there are several prominent attempts to explain the sharp drop in murders in the 1990s without crediting any “tough on crime” policies, let alone the execution rate.

One attempt to explain the drop in the general murder rate in the 1990s is the removal of lead paint and piping in poor — often Black areas — and yet this would probably have been an even more serious problem in the 1950s and early 1960s when murder rates and serial murder rates were quite low. Most named serial killers are white, not Black. Contrary to old claims from the FBI, some serial killers are Black, but white serial killers still dominate the statistics. Yet serial killer murders declined as well in the 1990s as the execution rate climbed to the 1998 peak.

The economist Steven D Levitt of Freakonomics fame tried to explain the 1990s drop as a delayed effect of the 1973 legalization of abortion in Roe vs Wade. He has also suggested other explanations — but not executions.

Here, for example, is a 2004 article by Steven D. Levitt ruling out increased use of capital punishment as the cause of the 1990s decline in murders. He claims:

“given the rarity of with which executions are carried out in this country and the long delays in doing so, a rational criminal should not be deterred by the threat of execution” (emphasis added)

https://www.ojp.gov/ncjrs/virtual-library/abstracts/understanding-why-crime-fell-1990s-four-factors-explain-decline-and

This is a rather odd statement for a scientific data analysis where one ought to look at empirical data. Who said murderers are rational? Most serial killers are not rational as normally defined. They are often found legally sane which is a narrower concept than common notions of rationality. Indeed the historical data suggests relatively low levels of execution have deterred both highly irrational serial killers and presumably somewhat more rational ordinary murderers.

The Conspiracy Question

The stereotype of serial killers is that they are lone nuts. However the Wikipedia list of US serial killers actually lists at least 57 serial killers active between 1950 and 2020 with an accomplice or accomplices in the Notes section out of 553 active serial killers for a total of 89 killers including the accomplices. This is about 10.3% (57/553) to 16.09% (89/553) of the serial killers depending on how one counts accomplices. In common usage, the murders are the work of a conspiracy: two or more perpetrators.

The list appears to identify only accomplices convicted in court cases. For example, there was strong forensic and eyewitness evidence that Randy Kraft, one of the three seemingly independent California “Freeway Killers” of the 70s and 80s, had at least one accomplice. Police suspected one of his roommates but were unable to find enough evidence or secure a confession. The Wikipedia list does not mention any accomplices for Randy Kraft. Thus, the list probably understates the number of cases with actual accomplices.

It is true that many of these conspiracy cases are pairs such as the so-called “Toolbox Killers” Lawrence Bittaker and Roy Norris. Nonetheless, there are several cases of three or more “serial killers” working together. Another California “Freeway Killer,” William Bonin had an astonishing four accomplices — all convicted or confessed. The Briley Brothers were three brothers and an accomplice Duncan Eric Meekins — another total of four. Dean Corll has at least two accomplices, both convicted: Elmer Wayne Henley and David Brooks. The so-called “Ripper Crew,” a Satanic cult, in Chicago included at least four (4) convicted members: Robin Gecht, Andrew Kokoraleis, Thomas Kokoraleis, and Edward Spreitzer. Four people — Manuel Moore, Larry Green, Jessie Lee Cooks, and J. C. X. Simon — were convicted of the so-called Zebra Murders. That is five cases and twenty (20) out of 553 active identified serial killers between 1950 and 2020 with three or more clearly identified — convicted or confessed — conspirators, about one to four percent depending on how one counts the cases, accomplices and serial killers.

Only small serial murder conspiracies have been demonstrated in court or by rigorous forensic evidence. There is however a popular literature alleging some or a large fraction of serial killer cases are the work of a larger conspiracy or conspiracies such as Dave McGowan’s Programmed to Kill (no relation) and Maury Terry’s The Ultimate Evil. These works blame the serial murders on Satanic cults, neo-Nazis, elite pedophile networks and CIA MK-ULTRA-like mind control programs, often combined into a single super-conspiracy and often overlapping with the Satanic Ritual Abuse allegations of the 1980s — which in fact continue to the present.

The Late Dave McGowan, author of Programmed to Kill. (left)

It is more difficult to identify and convict murderers in larger conspiracies such as street gang violence, the “Mafia”, and other higher level organized crime. Many unsolved murders — often in inner city Black neighborhoods — are attributed to street gang violence. Larger conspiracies are more effective at intimidating witnesses and corrupting investigations than lone killers or pairs of killers. Larger conspiracies can be long lived and technically sophisticated, better at destroying forensic evidence, disposing of bodies etc. Proving a gang leader or organized crime official has ordered a murder can be difficult or impossible.

The serial killer super conspiracy theories invoke confessions by some serial killers such as the “Son of Sam” David Berkowitz claiming to have been part of a larger conspiracy and various anomalies in some serial killer cases, some quite odd and suspicious. For example, serial killer Bob Berdella, who owned Bob’s Bizarre Bazaar, a boutique that sold artifacts of the occult, home was purchased by Kansas City multi-millionaire Delbert Dunmire — a former bank robber — who eventually destroyed the home and presumably any remaining evidence.

Cary Stayner, convicted of killing four women around the Yosemite National Park in California, is the older brother of Stephen Stayner, a high profile victim of abduction by child molester Keith Parnell — the subject of national news stories and later a TV mini-series.

Police largely failed to investigate a series of disappearances of teenage boys, many from the same Junior High School, in Dean Corll’s neighborhood in Houston, Texas despite pleas from parents some of whom hired private investigators and posted flyers throughout the neighborhood — until the boys were found buried in Corll’s rented boathouse after accomplice Elmer Wayne Henley killed Corll and called the police.

It is unclear how to evaluate such anomalies. Serial killers are quite unusual. The cases frequently attract unusually high levels of publicity. The cases often overlap with prostitution and other illegal activities as well as legal but often socially taboo activities such as homosexuality or occult practices. In some cases, the police may be paid off to “look the other way” or even involved in these activities, which may explain some instances of remarkably inept policing.

Some of these theories emphasize the military background of some serial killers, suggesting they were specially trained or even brainwashed by MK-ULTRA like mind control programs during military service. Reviewing the fifty-seven (57) entries with identified accomplices active from 1950 to 2020 in the Wikipedia list — giving a total of 89 killers including the accomplices, only nine (9 or 15.8%) appear to have served in the US military: Doug Clark, Gary Lewingdon, John Allen Muhammad, Leonard Lake, Manuel Pardo, Roy Norris, and William Bonin. The five-thirty-eight statistics web site published an article in 2015 estimating that about 13.4% of US males have served in the US military.

Since most serial killers are men, there is little evidence that US military veterans are over- or under-represented among serial killers — at least who have identified accomplices. One might expect serial killers in a super conspiracy to be over-represented among serial killers with identified accomplices.

Relevant to the causation of the serial killer wave and the more recent mass shooting wave, some of these theories, notably Dave McGowan’s Programmed to Kill, argue the serial killer wave cases were manufactured in part to frighten the US public into embracing oppressive “tough on crime” policies that increase the power of the CIA, FBI, and other police and security agencies. Thus, there is no deterrent effect from executions but rather a wave of “false flag” operations to undercut more liberal policies such as reducing or eliminating use of the death penalty.

Conclusion

The Eighties serial killer wave was real, not wholly a product of media hype or manipulated statistics from the FBI Behavioral Sciences Unit or other official sources, despite both government and media exaggerations such as the Henry Lee Lucas case and the very high claimed numbers of Americans killed by serial killers during the early 1980s.

The major contributing factor to the wave was probably the dramatic drop in the execution rate and/or associated “tough on crime” measures in the mid 1960s.

The evidence for a super conspiracy behind the serial killer wave such as proposed by the late Dave McGowan in Programmed to Kill is quite weak but not non-existent. The anomalies cited in such theories probably can be explained by the unusual nature of the crimes and perpetrators, the extreme levels of publicity, unidentified accomplices — somewhat larger small conspiracies — which comprise 10-16% of the cases, and overlaps with illegal activities such as prostitution and police corruption.

A similar rise in murders — though not as great — only a factor of two — occurred in general US murders, generally less horrific and less likely to receive the death penalty than serial killers.

The significant variation in murder rates, both general US and serial killer, at lower execution rates indicates other factors come into play as well when executions are rare or do not occur.

We may be seeing a surge of mass shootings as the execution rate has declined since 1998 instead of the surge of serial killers in the 1960s and 1970s following the near cessation of executions culminating in a total cessation for four years after the 1972 Furman versus Georgia Supreme Court decision.

Note that these conclusions are not an endorsement of capital punishment, nor do they address a range of other issues regarding capital punishment such as wrongful convictions, racial and other discrimination in the application of capital punishment, and the relative effectiveness of life imprisonment without possibility of parole.

(C) 2022 by John F. McGowan, Ph.D.

About Me

John F. McGowan, Ph.D. solves problems using mathematics and mathematical software, including developing gesture recognition for touch devices, video compression and speech recognition technologies. He has extensive experience developing software in C, C++, MATLAB, Python, Visual Basic and many other programming languages. He has been a Visiting Scholar at HP Labs developing computer vision algorithms and software for mobile devices. He has worked as a contractor at NASA Ames Research Center involved in the research and development of image and video processing algorithms and technology. He has published articles on the origin and evolution of life, the exploration of Mars (anticipating the discovery of methane on Mars), and cheap access to space. He has a Ph.D. in physics from the University of Illinois at Urbana-Champaign and a B.S. in physics from the California Institute of Technology (Caltech).

[Video] Can you trust medical diagnostic tests?

Uncensored Video Links: NewTube ARCHIVE BitChute

Six minute video on the false positive problems with medical diagnostic tests, especially when used alone without symptoms.

About Us:

Main Web Site: https://mathematical-software.com/
Censored Search: https://censored-search.com/
A search engine for censored Internet content. Find the answers to your problems censored by advertisers and other powerful interests!

Subscribe to our free Weekly Newsletter for articles and videos on practical mathematics, Internet Censorship, ways to fight back against censorship, and other topics by sending an email to: subscribe [at] mathematical-software.com

Avoid Internet Censorship by Subscribing to Our RSS News Feed: http://wordpress.jmcgowan.com/wp/feed/

Legal Disclaimers: http://wordpress.jmcgowan.com/wp/legal/

Support Us:
PATREON: https://www.patreon.com/mathsoft
SubscribeStar: https://www.subscribestar.com/mathsoft

Rumble (Video): https://rumble.com/c/mathsoft
BitChute (Video): https://www.bitchute.com/channel/HGgoa2H3WDac/
Brighteon (Video): https://www.brighteon.com/channels/mathsoft
Odysee (Video): https://odysee.com/@MathematicalSoftware:5
NewTube (Video): https://newtube.app/user/mathsoft
Minds (Video): https://www.minds.com/math_methods/
Archive (Video): https://archive.org/details/@mathsoft

#

(C) 2022 by John F. McGowan, Ph.D.

About Me

John F. McGowan, Ph.D. solves problems using mathematics and mathematical software, including developing gesture recognition for touch devices, video compression and speech recognition technologies. He has extensive experience developing software in C, C++, MATLAB, Python, Visual Basic and many other programming languages. He has been a Visiting Scholar at HP Labs developing computer vision algorithms and software for mobile devices. He has worked as a contractor at NASA Ames Research Center involved in the research and development of image and video processing algorithms and technology. He has published articles on the origin and evolution of life, the exploration of Mars (anticipating the discovery of methane on Mars), and cheap access to space. He has a Ph.D. in physics from the University of Illinois at Urbana-Champaign and a B.S. in physics from the California Institute of Technology (Caltech).

[Video] Can Nuclear War Get You Reelected?

Uncensored Video Links: NewTube ARCHIVE BitChute

What does the history of Presidential approval ratings and wars tell us about whether a nuclear war could get a failing President reelected?

Article: http://wordpress.jmcgowan.com/wp/article-can-nuclear-war-get-you-reelected/

About Us:

Main Web Site: https://mathematical-software.com/
Censored Search: https://censored-search.com/
A search engine for censored Internet content. Find the answers to your problems censored by advertisers and other powerful interests!

Subscribe to our free Weekly Newsletter for articles and videos on practical mathematics, Internet Censorship, ways to fight back against censorship, and other topics by sending an email to: subscribe [at] mathematical-software.com

Avoid Internet Censorship by Subscribing to Our RSS News Feed: http://wordpress.jmcgowan.com/wp/feed/

Legal Disclaimers: http://wordpress.jmcgowan.com/wp/legal/

Support Us:
PATREON: https://www.patreon.com/mathsoft
SubscribeStar: https://www.subscribestar.com/mathsoft

Rumble (Video): https://rumble.com/c/mathsoft
BitChute (Video): https://www.bitchute.com/channel/HGgoa2H3WDac/
Brighteon (Video): https://www.brighteon.com/channels/mathsoft
Odysee (Video): https://odysee.com/@MathematicalSoftware:5
NewTube (Video): https://newtube.app/user/mathsoft
Minds (Video): https://www.minds.com/math_methods/
Archive (Video): https://archive.org/details/@mathsoft

(C) 2022 by John F. McGowan, Ph.D.

About Me

John F. McGowan, Ph.D. solves problems using mathematics and mathematical software, including developing gesture recognition for touch devices, video compression and speech recognition technologies. He has extensive experience developing software in C, C++, MATLAB, Python, Visual Basic and many other programming languages. He has been a Visiting Scholar at HP Labs developing computer vision algorithms and software for mobile devices. He has worked as a contractor at NASA Ames Research Center involved in the research and development of image and video processing algorithms and technology. He has published articles on the origin and evolution of life, the exploration of Mars (anticipating the discovery of methane on Mars), and cheap access to space. He has a Ph.D. in physics from the University of Illinois at Urbana-Champaign and a B.S. in physics from the California Institute of Technology (Caltech).

[Article] Can Nuclear War Get You Reelected?

In the 1997 movie Wag the Dog a mysterious consultant played by Robert DeNiro and a Hollywood producer/campaign contributor played by Dustin Hoffman fake a war in Albania complete with a computer generated terrorism video produced by movie biz special effects wizards to divert public attention from a sex scandal engulfing a Bill Clinton-like President who is running for reelection. The phony war succeeds despite several snafus and a brief rebellion by the CIA. The President is reelected amidst a surge of war fever and patriotism. How well do wars work in the real world?

The most spectacular boost in Presidential approval ratings due to a war followed the September 11, 2001 terrorist attacks that killed about 3,000 people on US soil, probably the largest single day massacre in US history both in absolute numbers and fraction of the population. (The few day Santee massacre of settlers by Dakota Sioux Indians in Minnesota in 1862 probably killed a larger fraction of the population at the time.) President George W. Bush and the Republicans seem to have benefited electorally from the subsequent “war on terror” in the 2002 and 2004 elections.

However, historically the effect of wars and national security events such as the successful launch of the Sputnik I (October 4, 1957) and II (November 3, 1957) satellites by the Soviet Union on Presidential approval ratings and electoral prospects is much more varied. Sputnik II is significant because the second satellite was large enough to carry a nuclear bomb unlike the beach ball sized Sputnik I.

Truman and the Korean War

President Harry Truman’s approval ratings had been declining for over a year prior to the start of the Korean War. He may have experienced a slight bump for a couple of months (see plot above) followed by further decline.

Eisenhower and the End of the Korean War

Like most new Presidents, Dwight Eisenhower experienced a big “honeymoon” jump over his predecessor Harry Truman. There is little sign he either benefited or suffered from the end of the Korean War.

Eisenhower and Sputnik I and II

Eisenhower’s approval ratings had been declining for almost a year when the Soviet Union successfully launched the first satellite Sputnik I on October 4, 1957. This was followed by the much larger Sputnik II on November 3, 1957 — theoretically capable of carrying a nuclear bomb. Although Sputnik I and II were big news stories and led to a huge reaction in the United States, there is no clear effect on Eisenhower’s approval ratings. He rebounded in early 1958 and left office as one of the most popular Presidents.

However, Eisenhower, his administration, and his Vice President Richard Nixon who ran for President in 1960 were heavily criticized over the missile race with the Soviet Union due to Sputnik. Sputnik was followed by high profile, highly publicized failures of US attempts to launch satellites. Administration claims that the Soviet Union was in fact behind the US in the race to build nuclear missiles were widely discounted, although this seems to have been true.

John F. Kennedy ran successfully for President in 1960 claiming the notorious “missile gap” and calling for a massive nuclear missile build up, winning narrowly over Nixon in a bitterly contested election with widespread allegations of voting fraud in Texas and Chicago. Eisenhower’s famous farewell address coining (or at least popularizing) the phrase “military industrial complex” was a reaction to the controversy over Sputnik and the nuclear missile program.

Kennedy and the Cuban Missile Crisis

President Kennedy experienced a large boost in previously declining approval ratings during and after the Cuban Missile Crisis in October of 1962. This is often considered the closest the world has come to a nuclear war until the recent confrontation with Russia over the Ukraine. It also occurred only weeks before the mid-term elections in November of 1962.

Johnson and the Vietnam War

The Vietnam War ultimately destroyed President Lyndon Johnson’s approval ratings with the aging President declining to run for another term in 1968 amidst massive protests and challenges from Senator Robert Kennedy and others. There is actually little evidence of a boost from the Gulf of Tonkin incidents in August of 1964 and the subsequent Gulf of Tonkin resolution leading to the larger war.

President Johnson ran on a “peace” platform, successfully portraying the Republican candidate Senator Barry Goldwater of Arizona as a nutcase warmonger. Yet, Johnson — at the same time — visibly escalated the US involvement in the then obscure nation of Vietnam in August only a few months before the Presidential election in 1964.

Ford and the End of the Vietnam War

The end of the Vietnam War (April 30, 1975) seems to have boosted President Gerald Ford’s approval ratings significantly, about ten percent. Nonetheless, he was defeated by Jimmy Carter in 1976.

Carter and the Iran Hostage Crisis

President Jimmy Carter experienced a substantial boost in approval ratings when “students” took over the US Embassy in Tehran, Iran on November 4, 1979, holding the embassy staff hostage for 444 days. This lasted a few months, followed by a rapid decline back to Carter’s previous dismal approval ratings. The failure to rescue or secure the release of the hostages almost certainly contributed to Carter’s loss the Ronald Reagan in 1980.

George H.W. Bush and Iraq War I (Operation Desert Storm)

President George Herbert Walker Bush experienced a large boost in approval ratings at the end of the first Iraq War followed by a large and rapid decline, losing to Bill Clinton in 1992.

President George Bush, September 11, Iraq War II, and Afghanistan are discussed at the start of this article — overall probably the clearest boost in approval and electoral performance from a war at least since World War II.

Biden and Ukraine

As of June 16, 2022, President Joe Biden’s approval ratings have continued to decline since the February 24, 2022 invasion of Ukraine by Russia. There is not the slightest sign of any boost.

Conclusion

Despite the folk tradition epitomized by the movie Wag the Dog that wars boost a President’s approval and electoral prospects — at least initially — history shows mixed results. Some wars have clearly boosted the President’s prospects, notably after September 11, and others have done nothing or even contributed to further decline. Korea, for example, seems to have only contributed to President Truman’s marked decline and the loss to Eisenhower in 1952.

Probably the lesson is to avoid wars and focus on resolving substantive domestic economic problems.

(C) 2022 by John F. McGowan, Ph.D.

About Me

John F. McGowan, Ph.D. solves problems using mathematics and mathematical software, including developing gesture recognition for touch devices, video compression and speech recognition technologies. He has extensive experience developing software in C, C++, MATLAB, Python, Visual Basic and many other programming languages. He has been a Visiting Scholar at HP Labs developing computer vision algorithms and software for mobile devices. He has worked as a contractor at NASA Ames Research Center involved in the research and development of image and video processing algorithms and technology. He has published articles on the origin and evolution of life, the exploration of Mars (anticipating the discovery of methane on Mars), and cheap access to space. He has a Ph.D. in physics from the University of Illinois at Urbana-Champaign and a B.S. in physics from the California Institute of Technology (Caltech).

[Video] Why Did Biden’s Approval Crash in August 2021?

Uncensored Video: Odysee NewTube ARCHIVE BitChute

Twelve minute video on why President Biden’s approval ratings crashed in August of 2021.

References:

https://www.pbs.org/newshour/show/older-americans-make-up-a-majority-of-covid-deaths-they-are-falling-behind-on-boosters

https://www.npr.org/2022/02/19/1081948849/elderly-people-make-up-75-of-covid-19-deaths-partially-due-to-loneliness

https://web.archive.org/web/20210731120830/https://covid.cdc.gov/covid-data-tracker/#datatracker-home

https://gis.cdc.gov/grasp/fluview/mortality.html

https://www.cnn.com/2021/07/22/politics/fact-check-biden-cnn-town-hall-july/index.html

Jefferson’s First Inaugural Address: https://avalon.law.yale.edu/19th_century/jefinau1.asp

About Us:

Main Web Site: https://mathematical-software.com/
Censored Search: https://censored-search.com/
A search engine for censored Internet content. Find the answers to your problems censored by advertisers and other powerful interests!

Subscribe to our free Weekly Newsletter for articles and videos on practical mathematics, Internet Censorship, ways to fight back against censorship, and other topics by sending an email to: subscribe [at] mathematical-software.com

Avoid Internet Censorship by Subscribing to Our RSS News Feed: http://wordpress.jmcgowan.com/wp/feed/

Legal Disclaimers: http://wordpress.jmcgowan.com/wp/legal/

Support Us:
PATREON: https://www.patreon.com/mathsoft
SubscribeStar: https://www.subscribestar.com/mathsoft

BitChute (Video): https://www.bitchute.com/channel/HGgoa2H3WDac/
Brighteon (Video): https://www.brighteon.com/channels/mathsoft
Odysee (Video): https://odysee.com/@MathematicalSoftware:5
NewTube (Video): https://newtube.app/user/mathsoft
Archive (Video): https://archive.org/details/@mathsoft

(C) 2022 by John F. McGowan, Ph.D.

About Me

John F. McGowan, Ph.D. solves problems using mathematics and mathematical software, including developing gesture recognition for touch devices, video compression and speech recognition technologies. He has extensive experience developing software in C, C++, MATLAB, Python, Visual Basic and many other programming languages. He has been a Visiting Scholar at HP Labs developing computer vision algorithms and software for mobile devices. He has worked as a contractor at NASA Ames Research Center involved in the research and development of image and video processing algorithms and technology. He has published articles on the origin and evolution of life, the exploration of Mars (anticipating the discovery of methane on Mars), and cheap access to space. He has a Ph.D. in physics from the University of Illinois at Urbana-Champaign and a B.S. in physics from the California Institute of Technology (Caltech).