Free Republic
Browse · Search
News/Activism
Topics · Post Article

Skip to comments.

I have Reviewed Ferguson's Code - It's a Joke
Armstrong Economics ^ | May, 8, 2020 | Martin Armstrong

Posted on 05/20/2020 11:08:22 AM PDT by ImJustAnotherOkie

I have been asked by a source in Britain to review the Ferguson model code for my opinion. Just so everyone has some idea, the original program used by Ferguson was “a single 15,000 line file that had been worked on for a decade” and by no means is this remotely sophisticated. I seriously doubt that Imperial College will want to go public with the code because it is that bad. To put this in some perspective, just the core to conduct basic analysis in Socrates is about 150,000 lines of code. It is so complicated, it takes a tremendous amount of concentration to try to see the paths it has available to it for basic analysis.

To try to keep this in trader’s terms, reviewing the code reveals this is just a stochastic which is INCAPABLE of forecasting high, low, or projected price target expected to be achieved. Any trader knows that a stochastic is a trend following measure not a forecaster of the trend nor a projection tool to say when a market is overbought or oversold. This clearly shows the vast chasm between trading models and academic models where the money is never on the line. The documentation even states:

“The model is stochastic. Multiple runs with different seeds should be undertaken to see average behaviour.”

“Stochastic” is simply defined as “randomly determined; having a random probability distribution or pattern that may be analyzed statistically but may not be predicted precisely.” In other words, they begin with a presumption, and therein lies the FIRST error. Ferguson’s assumption was wrong, to begin with. Then this mode is so old, they recommend that it be run only on a single CORE processor as if we were dealing with an old IBM XT.

Effectively, you start the program with what is called a “seed” number which is then used to produce a random number. Most children’s games begin this way. In fact, this is a version of what you would be similar to the game SimCity where you create a city starting from scratch and it simulates what might happen based upon the beginning presumption. There are numerous bugs in the code and the documentation suggests to run it several times and take the average. This is just unthinkable! A program should produce the same result with the same data from which it begins. Therefore, there is no possible way this model would ever produce the same results. In reality, this model produces completely different results even when beginning with the very same starting seeds and parameters because of the attempt to also make the seed random. This is not even as sophisticated as SimCity, which is really questionable. This is where the Imperial College claims that the errors will vanish if you run it on an old system in the single-threaded mode as if you were using a 1980s XT.

In programming, you run what is known as a regression-test, which is re-running a functional and non-functional test to ensure that previously developed and tested software still performs after a change. In market terminology, its called back-testing. In the most unprofessional manner imaginable, the Imperial College code does not even have a regression-test structure. They apparently attempted to but the extent of the random behavior caused by bugs in the code to prevent that check? On April 4th, 2020, Imperial College noted:

“However, we haven’t had the time to work out a scalable and maintainable way of running the regression test in a way that allows a small amount of variation, but doesn’t let the figures drift over time.”

This Ferguson Model is such a joke it is either an outright fraud, or it is the most inept piece of programming I may have ever seen in my life. There is no valid test to warrant any funding of Imperial College for providing ANY forecast based upon this model. This is the most UNPROFESSIONAL operation perhaps in computer science. The entire team should be disbanded and an independent team put in place to review the world of Neil Ferguson and he should NOT be allowed to oversee any review of this model.

The only REASONABLE conclusion I can reach is that this has been deliberately used to justify bogus forecasts intent for political activism, or I must accept that these academics are totally incapable of even creating a theoretical model no less coding it as a programmer. There seems to have been no independent review of Ferguson’s work which is unimaginable!

A 15,000 line program is nothing. I will be glad to write a model like this in two weeks and will only charge $1 million instead of $79 million. If you really want one to work globally, no problem. It will take a bit more time and the price will be at a discount – only $50 million on sale – refunds not accepted as is the deal with Imperial College.


TOPICS: Business/Economy; Culture/Society; News/Current Events; United Kingdom
KEYWORDS: brexit; brexitparty; neilferguson; nigelfarage; unitedkingdom
Navigation: use the links below to view more comments.
first previous 1-2021-4041-55 last
To: ImJustAnotherOkie

to many GOTO statements ?


41 posted on 05/20/2020 12:23:17 PM PDT by 11th_VA (May you live in interesting times - Ancient Chinese Proverb)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ImJustAnotherOkie
I would say anyone developing in FORTRAN in these days is a retarded.

Hey - I resemble those comments ... just sayin ...

42 posted on 05/20/2020 12:24:32 PM PDT by 11th_VA (May you live in interesting times - Ancient Chinese Proverb)
[ Post Reply | Private Reply | To 37 | View Replies]

To: ImJustAnotherOkie

More than 5 million Americans will be infected with coronavirus and 290,000 will die by the end of July if social distancing isn’t adhered to, according to COVID-19 model
https://www.dailymail.co.uk/news/article-8340325/5million-Americans-infected-COVID-19-July-model-shows.html


43 posted on 05/20/2020 12:55:20 PM PDT by familyop (Hell hath no fury like a scorned parrot.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ImJustAnotherOkie
I would say anyone developing in FORTRAN in these days is a retarded.

Or, he may be working on a large existing code base. Right now a number of states need COBOL programmers for their existing unemployment software. I wouldn't call those programmers retarded, but rather well remunerated at times.
44 posted on 05/20/2020 1:01:28 PM PDT by Dr. Sivana (There is no salvation in politics)
[ Post Reply | Private Reply | To 37 | View Replies]

To: Magnum44
I have little respect for what you refer to as epidemiologist, or any medical or scientific specialty, who would use 'limited data' to wreck entire societies for their own vanity.

And yet you're unable to propose an alternative.

45 posted on 05/20/2020 2:05:15 PM PDT by semimojo
[ Post Reply | Private Reply | To 38 | View Replies]

To: semimojo
There are many alternatives. I am living one of them by ignoring most of this garbage and leaving people to make up their own minds.

I am not going to write a book of alternatives for you. Are you just lazy or have no imagination of your own?

46 posted on 05/20/2020 2:08:58 PM PDT by Magnum44 (My comprehensive terrorism plan: Hunt them down and kill them.)
[ Post Reply | Private Reply | To 45 | View Replies]

To: Magnum44
Are you just lazy or have no imagination of your own?

Both at times, I'm sure.

But this isn't about me, it's about the public officials who have to make policy, pass laws, plan for medical resources, decide whether to quarantine people coming in from China, etc.

They're going to make decisions whether we like it or not, and I want them to be as informed as possible.

If Boris Johnson asked you "OK, if we don't do anything how bad could this get?" what would you do? Shrug and advise him to ignore this garbage?

I'd rather have him get advice from someone who's studied infectious diseases and their spread professionally and tries to use that knowledge, however imperfect, to offer some guidance.

47 posted on 05/20/2020 2:29:01 PM PDT by semimojo
[ Post Reply | Private Reply | To 46 | View Replies]

To: semimojo

Fauci and company offered their guidance. Now they need to go away. And your defending the actions of bureaucrats who advised a complete shutdown of the economy based on their so called expertise demonstrates that you put way too much faith in government and not nearly enough in your own common sense, if you think you have that. I got fed up with COVID about three weeks into February.


48 posted on 05/20/2020 2:34:06 PM PDT by Magnum44 (My comprehensive terrorism plan: Hunt them down and kill them.)
[ Post Reply | Private Reply | To 47 | View Replies]

To: ImJustAnotherOkie

What if Ferguson screwed up on purpose...


49 posted on 05/20/2020 2:42:59 PM PDT by mewzilla (Break out the mustard seeds.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Dr. Sivana

Not quite the same

Science has advanced beyond fartran.


50 posted on 05/20/2020 4:16:01 PM PDT by ImJustAnotherOkie (All I know is The I read in the papers.)
[ Post Reply | Private Reply | To 44 | View Replies]

To: ImJustAnotherOkie
Science has advanced beyond fartran.

It has advanced beyond COBOL, as well. If you are simply doing calculations, you don't need a bunch of object oriented GUI tools, etc. To this day, Fortran is one of the fastest languages available.

All languages either compile or interpret down to machine level code. Just because another language has more features, or lends itself to more structured programming by itself does not make another language unusable or even obsolete.

To this day, physicists are STILL learning Fortran in grad school in order to access a lot of well-written legacy code.
51 posted on 05/20/2020 4:24:31 PM PDT by Dr. Sivana (There is no salvation in politics)
[ Post Reply | Private Reply | To 50 | View Replies]

To: DannyTN

“I did my own projections on the back of an envelope.”

Turn the back of the envelop upside-down.

Trace the edge of the flap.

Done.


52 posted on 05/20/2020 6:13:44 PM PDT by Paladin2
[ Post Reply | Private Reply | To 2 | View Replies]

To: Dr. Sivana

Legacy code, not new code.

You said it yourself. Shut down the world economy based on this?


53 posted on 05/21/2020 4:42:35 AM PDT by ImJustAnotherOkie (All I know is The I read in the papers.)
[ Post Reply | Private Reply | To 51 | View Replies]

To: ImJustAnotherOkie
You said it yourself. Shut down the world economy based on this?

Legacy code is not intrinsically bad code, it is not even necessarily obsolete code. We did not shut down the economy because of a program written in Fortran. We shut down the economy because of a poorly written program. Bad programs are being written today in C++ and Python. Excellent code is still running in assembler, Fortran and COBOL.

I am sure some of the climate models that are always wrong were not written in Fortran, but they just as messed up.
54 posted on 05/21/2020 7:30:23 AM PDT by Dr. Sivana (There is no salvation in politics)
[ Post Reply | Private Reply | To 53 | View Replies]

To: All
Cautioning those who wish to maintain credibility when confronting the left:

Do NOT cite Martin Armstrong to denigrate Ferguson's code.

I had saved this post's citation for later research and discovered the following (in a mere 60 seconds) of some background:

"In September 1999, the Securities and Exchange Commission and the Commodity Futures Trading Commission prosecuted Armstrong for fraud. He was imprisoned for over seven years for civil contempt of court, one of the longest-running cases of civil contempt in American legal history. In August 2006, Armstrong pleaded guilty to one count of conspiracy to commit fraud and began a five-year sentence. Armstrong appeared in a 2015 documentary titled “The Forecaster” regarding his mathematical model and prosecution. [4],[5], [11]"

https://www.desmogblog.com/martin-armstrong

This NYT article makes the following citation:

"All told, by the time Mr. Armstrong is released, he will have served 12 years for orchestrating what prosecutors called a $3 billion Ponzi scheme through his investment fund, Princeton Economics International."

There are allegations that Armstrong was an insider with knowledge of gold market manipulation, but without hard evidence such allegations must reside in the same folder as The Clinton Body Count and, IMHO, citations of Armstrong pertaining to his "analysis" of Ferguson's computer code should be avoided.

In fact, there are other, potentially-valid sources of citation for analysis of Ferguson's code. Unfortunately, they are behind paywalls:

Neil Ferguson's Imperial model could be the most devastating software mistake of all time

Corona modeling was "worst software bug ever"

Perhaps a lurking FReeper can shed some light on the content via a friendly source with subscription access???

In closing, I cite the only valid analysis I could source for Imperial College's code (of which the source code is still not released):

Code Review of Ferguson’s Model

Author credentials:

"I have been writing software for 30 years. I worked at Google between 2006 and 2014, where I was a senior software engineer working on Maps, Gmail and account security. I spent the last five years at a US/UK firm where I designed the company’s database product, amongst other jobs and projects. I was also an independent consultant for a couple of years."

Unfortunately, the author (perhaps righteously) prefers to remain anonymous.

Citation:

"Conclusions. All papers based on this code should be retracted immediately. Imperial’s modelling efforts should be reset with a new team that isn’t under Professor Ferguson, and which has a commitment to replicable results with published code from day one.

On a personal level, I’d go further and suggest that all academic epidemiology be defunded. This sort of work is best done by the insurance sector. Insurers employ modellers and data scientists, but also employ managers whose job is to decide whether a model is accurate enough for real world usage and professional software engineers to ensure model software is properly tested, understandable and so on. Academic efforts don’t have these people, and the results speak for themselves."

Follow-up:

Second Analysis of Ferguson’s Model

In summary, the code is SO defective that it cannot reproduce its own results and produces different results when run on multi-processor systems.

"For standards to improve academics must lose the mentality that the rules don’t apply to them. In a formal petition to ICL to retract papers based on the model you can see comments “explaining” that scientists don’t need to unit test their code, that criticising them will just cause them to avoid peer review in future, and other entirely unacceptable positions. Eventually a modeller from the private sector gives them a reality check. In particular academics shouldn’t have to be convinced to open their code to scrutiny; it should be a mandatory part of grant funding."

Do tell. It is a travesty that truthsayers need to stay anonymous to protect themselves from punitive persecution for daring to come forward...

Note: "ICL" = Imperial College London.

55 posted on 05/23/2020 11:14:18 AM PDT by logi_cal869 (-cynicus the "concern troll" a/o 10/03/2018 /!i!! &@$%&*(@ -)
[ Post Reply | Private Reply | To 1 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-4041-55 last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
News/Activism
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson