Why are some professors negative on Mathematica?

Hello,
Yes, the “symbolic-program-x” I referred to above was Macsyma as well (I thought the general rule here was not to mention other software by name? Or, perhaps that was the mathgroup newsgroup?)

Back towards the original topic. I am thinking about the ways that I use Mathematica. They don’t fit easily into a single category. Mathematica is something of a swiss army knife.

Academics have less time on their hands than many people think–most of my faculty colleagues work long (and thankless) hours seven days a week. And, I believe that, in most cases, the time is not spent on research or teaching. So, I was wondering why I am able to open Mathematica at all?

From a research perspective, I use Mathematica:

  1. derive stuff

  2. simulate stuff

  3. keep track of stuff that I’ve derived

  4. visualize things that I’ve learned.

It serves as workbench and as scratch paper. As much as I agree with David Park’s viewpoint about using Mathematica to publish, I can’t afford for the research community to catch up or adopt. It’s a battle that I can’t win and I’m either too afraid or too lazy to fight. However, It is easy and eye-opening to give presentations with Mathematica–hopefully this might help get the ball rolling to archival publication.

From a teaching perspective, I use Mathematica:

  1. To show students that they can understand a physical phenomenon much much better by coding it and visualizing it.

  2. to reduce the barrier for physical scientists to learning maths that they should know (the documentation and electronic communities are excellent modules for math as well as mathematica).

  3. simulating physical systems for pedagogy.

I believe that being able to code is integral to scientific literacy. For physical scientists, symbolic computing languages like Mathematica threads together many educational goals.

From a recreational perspective,

  1. It is fun just to play with new ideas by coding them up.

  2. I have collaborated on pieces that have been exhibited at MoMA, the Pompidou, the Paris Fashion Show, and other places that we created with Mathematica.

Finally, while we are quoting about death and revolution, there is a nice one by Henry Ford, "“Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young.” Just playing with Mathematica is a good strategy for staying young.

“Just playing with Mathematica is a good strategy for staying young”

I tried that Craig and it doesn’t work! Running very very fast might work in a relative sense.

More accurately, playing with Mathematica is a good strategy for maximizing the use of your time.

Some comments on “attitude” and “culture”. One of the greatest influences on me have been the books on data graphics by Edward Tufte. It is one reason I believe in writing literate notebooks with textual explanations and multiple and carefully designed presentations. Tufte writes: " Those who discover an explanation are often those who construct its representation." Mathematica gives you plenty of tools for constructing representations and exploring their behavior.

And why textual explanation? Because if you can’t give a simple clear explanation it should leave you a bit skeptical as to your level of understanding. The same goes for documentation of a routine. If it’s difficult to document maybe it should be redesigned or scrapped for some other routine. Textual explanation and documentation are not onerous chores, they are part of the learning or creative process.

I tend to eschew the terms “code” and “programming” in favor of terms such as “writing definitions, axioms, rules and specifications”. After all, we’re trying to do math and science. WRI can hire the programmers. It’s a matter of attitude and culture.

Lots of people in academia write papers and even books as part of the process of better learning the material. Do you think they always knew it all before they started? So even if it’s self-study, writing literate notebooks is good practice. And they might very well be good enough to interest other people. The same applies to having students write literate notebooks, even if they are relatively short. When they’re finished they actually have something to show off. Science and technology are no good if they can’t be communicated.

Also, if students can design new and clear presentations along with explanations, they are not only learning but they are adding value because these do not always exist together now.

And thanks to Luther for starting this discussion.

This is not intended to criticize Edward Tufte or diminish any of the fine work he has done. If you carefully study each of his books you might notice that there is one thing which has not been included. There is not a hint of uncertainty in any of the graphics that he presents. For one example, I cannot imagine in the fog of war in 1812 that Napoleon’s march on Moscow was anywhere near as precise and tidy as the famous graphic leads our minds to believe. Yes, the graphic does round the numbers to thousands, but even that I suspect is a misrepresentation.

I spent time some years ago trying to get vendors to use all the new found compute power to demand from the user and then display the uncertainty associated with graphical presentations. Yes, Mathematica keeps track of the precision associated with some numeric quantities, but Plot does not then display graphics which are just fuzzy enough to force us to realize how much we don’t know. I don’t think the classic error bars are the answer, but fuzz might be.

Several simulation tool vendors will quietly admit that their calculations are really not as precise as their tool displays. One vendor even suggested that I diddle the coefficients a little each time, do ten runs, print all the results, tape them to a window and try to guess what the uncertainty really is.

I listened to an invited speaker years ago. He presented slide after slide of very impressive graphics showing the behavior of something. He was asked if it would be possible to include an indication of the uncertainty in his slides. He replied no, because if he did then it would be obvious that his results had no predictive power. I suspect even the audience members who already knew this still made incorrect assumptions when looking at the graphics.

Consider how many predictions we see for projects large and small. We almost never see the uncertainties of the inputs or outputs or any indication of the uncertainty associated with the project success or failure. The only use of uncertainty currently is to claim there is none if it my project or it is a stupid idea and we shouldn’t do it if it is yours.

It seems that everyone wants to know “the number”, nobody wants to hear there is any uncertainty. Everyone wants to see the graph with the spidery little line showing the economy is going smoothly off to infinity. There was a book not too long ago which talked about how everyone wants to be told the number, usually the mean, and how badly we make mistakes when we don’t see and plan for the uncertainties. Ah! Found it! The Flaw of Averages: Why We Underestimate Risk in the Face of Uncertainty by Sam Savage, Jeff Danziger and Harry Markowitz. This should not be license to now have to make up numbers for the uncertainties to go along with the numbers we made up for the predictions.

I considered writing a letter to Mr. Tufte asking him if in his next book he might introduce the world to the knowledge that nothing in the real world is precise, when we don’t know the uncertainty that we reach false conclusions and we should all begin demanding credible uncertainty information be included in graphics. But the last word I heard is that he is deep into what will likely be his final book and I doubt that he could incorporate such a dramatic change in presentation now. If Mr. Tufte can’t be the one to do this then perhaps someone else can.

If results had error bars, and regression analyses showed the correlation coefficient, a lot of what passes for “knowledge” in Sociology, psychology, and medicine would be seen as being very tenuous at best.

I think that this is a major cultural problem. No one gets through Physics 1 or any decent engineering course without learning that any measurement that lacks an estimate of error is useless. I used to work for a clinical lab, and the entire notion knowing what the error bars for a result were was antithetical to the thinking both of the management of the company and the clients.

As I recall, Tufte does discuss error, and I believe that there is a section where he shows radically different sets of data give identical least squares fits. However, this is not the main thrust of his discussion, as you point out.

This whole topic is overdue for a treatment that can be understood by people who just want to use software, and not have a deep understanding of numerical analysis. I’m pretty sure that Mathematica is a good tool to use for this.

Something that I learned years ago (very likely from Feynman or quoted about him to me by someone else) is that, when looking at a dataset in a presentation and listening to the presenter’s description of the meaning of the data, in your mind drop the data points from the graph at its extremes and decide if the conclusions make sense. Why? The data at the extremes are often there because the experiment stopped being trustworthy at roughly near those limits so the strength of those points often would be in question…

Bill, Bravo. Very well articulated. Thanks.

Sadly, careful error propagation, null hypotheses, standard error and sample sizes, p values, etc are disappearing from the canonical topics of a physical science education, and many papers appear in press with no discussion of error and uncertainty.

The typical excuse for omission is “curriculum pressure”. I think we are just not teaching effectively.

Bill, your remarks are well put. I think that Tufte somewhere does have a maxim to Be Honest. And he does give several suggestions in Visual Explanations page 34. This might include multiple presentations based on different measures or viewpoints and textual explanation that might address various concerns. That’s why I’m an advocate of literate notebooks that make a case and try to clarify and present a true picture. I would be very skeptical of any analysis summarized in a single presentation without extended discussion. In the final analysis it largely depends on the integrity of the person making or responsible for the analysis.

Mathematica probably has the tools to present uncertainty and risk. You just have to figure out how to put them together. With a dynamic presentation you can provide information in tooltips. You can provide information in numerical side reports, which may vary as you move a locator about the primary data representation. You might be able to toggle a presentation between various assumptions. And of course there are the old fashioned error bars and multiple presentations. Your suggestion of fuzzing the data representation might work very well. To go one step further, in a Mathematica notebook (or application) you can give the reader active tools for performing various types of data reduction and the actual data itself. I’m not knowledgeable about statistical analysis of data; I’m sure you can work out much better methods. The point is: Mathematica does give you better tools to present honest results.

There was an article published recently, but I can’t find it here. Someone in the social sciences at a university was accused of cooking his results. Both sides are now claiming that they are blameless and the other is at fault. Somehow a side effect of this was a substantial effort to carefully replicate a few dozen major long accepted classical results in the field. Approximately one third of the replications either failed to support the hypothesis or had sufficiently serious problems with the experiment that no claim could be made. In every case mentioned the original experimenter is furious that they have been targeted by a witch hunt, their reputation has been permanently damaged, they have no way of defending themselves and nothing can be done to make up for this. You should track down the original source of this before using it, just to make certain that I have not somehow skewed the claims. It might have been published in Science in 2013, but I can’t be sure.

If the likes of Tufte’s standards could begin to make it the norm that uncertainty be clearly shown with every claim and Mathematica could position itself as one of the leading tools to simply and easily produce graphics for claims then, as mentioned above, perhaps everyone might be in a slightly better position to see at a glance what has sufficiently small uncertainty to likely be accepted and what has so much uncertainty that it can be dismissed.

The quintessential example that comes to mind for me is the Fleischmann–Pons claim of cold fusion.

http://en.wikipedia.org/wiki/Cold_fusion

Good points and I plead guilty to the leakage observation. I was in the “business” at one time and have seen a variety of cultures at work. My knee jerk was a recollection of the times I was burned as a “customer”. Within software developers is an undercurrent of certainty that they know best or, as with many technical people, they come across a better way of doing things while working on some project…so they shift gears without letting anyone know. This is the bane of project managers.

I recall meeting a past graduate school colleague at a conference. He had set up a company that was successful and one of its lines of business was developing specialized scientific analysis software for the DoD in the areas of spectroscopy. We chatted and he discovered I was associating with the same types of customers and developers as he was, so he asked me my opinion on what it would take to commercialize his products for a wider audience. One of my own staff had developed a different type of specialized analysis software and we were wrestling with the same question: how to expand the market for that intellectual property. I had no answer for my friend or myself. Some fifteen or so years later, the software my group had developed did show up as a commercial product developed independently elsewhere, and their secret was the user interfaces and easy of use, which our intellectual property never possessed…nor did we have the capacity to address that issue. Plus, the market for the new product had never occurred to us.

Mathematica’s documentation is as good as it has to be for Wolfram not to suffer any commercial consequences. Wolfram is blessed by an outstanding product and a user community that is so smart that it overcome the deficiencies in the documentation…plus, to be crass about it, Wolfram sells support services. I think where Wolfram may be somewhat short sighted is that such issues as are being raised in this thread indicates that they could promote a ground swell of broader acceptance and use by “commoditizing” their product. This is just the businessman in me speaking. I would reject the idea of a slimmed down or crippled version just to get a cheaper product out, but too many bells and hidden whistles is pretty frustrating in any product. As an example, I just bought a new phone that uses Android and I tried to set up my voice mail account. I had to go on-line to find someone to tell me where the set up was hidden and it was definitely hidden. The documentation did not even address voice mail but it supplied overkill (from my perspective) in the areas of applications and data.

Mathematica is what it is and from a commercial perspective, Wolfram is doing what it needs to do to stay on top of their game…they have a business strategy that does not depend on better transparent documentation. Mathematica is the best mousetrap around from my perspective. Could it be better? Probably, but define better.

Bill, that seems a bit off topic of whether academics are missing out by not making greater use of Mathematica. But maybe not completely. Because of their active and dynamic character, Mathematica provides the opportunity of presenting higher quality results with higher integrity. One can include, in the document, raw data and procedures for analyzing and representing the results. Others can check if they actually work or have entry points for exposing problems. If people want to lie about data I suppose they can but it’s not quite as easy to get by with just plain sloppiness.

I once worked as a computer consultant for a group of biochemists. At one point I was asked to look at an experiment one of them was doing to measure the rate of some biochemical reaction. The person was very nice and very meticulous in his biochemistry. But when I looked at the reaction system and what he was measuring I discovered to my horror that it had no relation at all to the reaction rate he was trying to measure. Needless to say, he was not pleased with this. I left the group but later learned from someone who replaced me that they continued the experiment and analyzed it with a statistical program. The result was something like 1.0 +/- 10^6 millimole/minute - and they published it!