Dust flux, Vostok ice core

Dust flux, Vostok ice core
Two dimensional phase space reconstruction of dust flux from the Vostok core over the period 186-4 ka using the time derivative method. Dust flux on the x-axis, rate of change is on the y-axis. From Gipp (2001).

Wednesday, August 18, 2010

Emergence in Biologic Systems--an Example

Every so often here at the World Complex, we like to take some time off working on the relatively simple problems of climate change, earthquake prediction, the dynamics of interrelated economic systems, and sudden state changes in everything from wind patterns to empires; and focus on the really challenging problems of life.

Such as--how does this happen?


Amelia, aged 11 months.


Amelia, aged 10 years.

And how does it happen so fast?

Saturday, August 14, 2010

How life imitates the stock market, part 3

This is the third part of a series about applying analytical methods developed for dynamic systems (like climate) to the stock market.

In our last installment, we were looking at the recent price history of the stock of a company called Nautilus Minerals Inc. and I presented a phase space portrait in two dimensions of the price action over the last four months (note that phase space and state space are often used interchangeably).


2-dimensional phase space portrait of the share price of Nautilus Minerals Inc. from April to August 2010. Look at those rabbit ears! That's what you get from a singular spike in the data. It would be worse in three dimensions. There would be a third spike coming right out of the screen.

The plot above begins in April (the curve starts at the little tail sticking out beside the "April" label above. It actually remains in the grey area (a Lyapunov-stable area, or LSA) near the middle of the plot through most of April making small straight side-to-side and up-and-down motions with a magnitude of about 10 p.

At the end of April, the price state drops out of the upper LSA and meanders its way through phase space towards the lower LSA, in the 100 p range, which is reached in late-May. The price state remains within this lower LSA until about mid-June, then abruptly rises, and by the beginning of July, it appears to be headed back to the upper LSA.

Then comes the sudden price spike. The price state veers up, down, then sharply right, and back left, veers around the upper LSA before plunging into it at the end of July and it has remained until the end of the analysis, which ended early in August.

The price spike seems to have simply resulted in a short-term (one month) detour around the higher price state areas of phase space, but probably did not have any effect on the ultimate destination. Of course, for those who were unfortunate enough to buy at the top of the spike, well . . . sorry about that.

It is extremely rare to see the rabbit-ear formation in these charts, in natural functions. I have seen it only once in some marine core data. Spikes like that are rare in nature, which is hard--so far as we know  ;) -- to manipulate.

What actually is interesting is the drop from the upper LSA to the lower LSA and the subsequent return. What happened in that interval? Was there really a change in the perceived value of the company between April and June (and then again between June and August)? Was this a seasonal junior gold fluctuation?

Let's compare NUS against HUI. It isn't entirely a fair comparison, as NUS is not in commercial production. But we may be able to use HUI to get an idea of the mentality of the gold stock market. It might be better to use gold, or possibly BMO's new junior ETF, but I have numbers for HUI.



HUI chart for six months prior to the writing of this blog entry. There's no link through because I don't want the chart to update. An updated chart is available here.





The reconstructed phase space portrait for the HUI index is presented below. The graph isn't perfect, because I digitized the plot from the above graph, but I believe it will prove to be a reasonable construct.

The HUI reconstructed phase portrait from February until early August looks a little complicated. I have coloured different segments of the curve in different colours so it is a little easier to interpret.

There are two obvious areas of concentration--the area in phase space bounded by about 440 and 460 on both axes, and the area bounded by about 400 and 420 on both axes. Both of these might be considered to be LSAs. There may be a third above 480 on both axes but would need to see more time spent there first.

The system occupies the lower-priced LSA in the early part of the graph, and moves up to the higher-priced LSA at the end of April and remains there except for a few excursions to still higher prices in mid-May and late June.

So where Nautilus showed a steady decline through May, HUI was confined to the higher-priced LSA. When NUS began to rise in late June, this was in tandem with a similar rise in HUI. The spike in NUS was unique to itself.

The behaviour of NUS in May and June may be related to company news. In May, NUS announced that it had demobilized one drilling vessel and was seeking bids on another. Shareholders may have interpreted that this would be some time before there were to be any new results, leading to a drop in share price. The announcement in mid June that a drilling contract was signed suggested that activity would be renewed, which led to the rise in price towards the higher LSA.

One other note about phase space portraits, which I have not previously emphasized. There is no mathematical magic. The phase space is just a different presentation of the data. What appears as a cluster of scribbles in a LSA appears as a discontinuous series of price fluctuations in the original data series--what analysts might call a resistance level (which later becomes support after the price rises through it). Compare the higher-priced LSA in the HUI phase space to the original HUI plot. There are a lot fluctuations between 440 and 460, and these are manifested as that tangle of curves in the area between 440 and 460 in phase space. Later on we will see how the dynamics of a complex system manifests itself in similar areas of "resistance" and "support" even in natural time series.

Thursday, August 12, 2010

Blowing Up the Arctic

Today marks the 25th anniversary of the end of my first real geological project, in which I got to detonate explosives in a pristine landscape--in Canada's High Arctic. And since another ice island is in the news, what better time than to take a trip down memory lane?


Map of part of the Canadian High Arctic. Plundered from here.












I spent several months living in a camp on an ice island--a chunk of ice that calved off the Ward Hunt Ice Shelf on Ellesmere Island (northernmost island on the map) drifted southwest and at the time I was on it, was roughly between Ellesmere Island and Axel Heiberg Island, and over the summer months moved southwest off the coast of Axel Heiberg Island. The hope was that the block of ice would circumnavigate the Arctic Ocean and we would get a "free" ride enabling us to survey and sample the seafloor there.

It didn't quite work out that way.

Instead the island (which was about 5 km long and over 40 m thick) drifted into the sound between Meighen Island and Axel Heiberg I., eventually grounding and breaking up.

A photo of the ice island in 1985, taken from a book about the Polar Continental Shelf Project, which administered it. The ice island is the relatively smooth area with the long "ripples". 




Although I flew a number of times to and from the thing, I never got a very good photo (those were the days when digital photography was just a dream).

The actual ice island in the photo above is surrounded by multi-year ice (the rougher looking stuff). The ice island itself is relatively smooth.


Landing a plane is no problem, once you've smoothed off the surface. Driving around on it on snowmobiles, hauling equipment equally so. Here we are, drilling and casing shotholes in the ice.





The multi-year ice is thinner and rougher. There is a definite (but smooth) drop as you run off the edge of the island onto the multi-year ice. The landscape is a lot more rugged as well.

The area is pretty bleak. Other than people I think I saw two arctic terns all summer. And once there was a long trail of footprints of some small animal checking out some of the cable we left lying around.

What were we up there for?

There was an idea that having a research crew on a piece of arctic ice would be a really fine idea. For our project, the idea was to carry out a seismic survey to understand the crustal structure beneath the Arctic Ocean, taking advantage of this large block of ice that was going to circumnavigate it. We wouldn't have any navigational control, but the thinking was that we would nevertheless get some valuable data.

And if it happened to enhance Canadian sovereignty, so much the better. It was, after all, the year of the Polar Sea incident.

From the article referenced above:

"The most direct challenge to Canada's sovereignty in Arctic waters came in 1985, when the U.S. sent its icebreaker Polar Sea through the Northwest Passage without informing Canada or asking permission. The political skirmish that followed led to the 1988 Arctic Co-operation Agreement between the two countries. Boiled down to its essence, the agreement said the U.S. would not send any more icebreakers through the passage without Canada's consent, and Canada would always give that consent. The wider issue of whether Canada's Arctic waters were internal or international was left unresolved."

Read more: http://www.cbc.ca/canada/story/2009/02/27/f-arctic-sovereignty.html#ixzz0wK7O4zhs

For us this meant that there were some job openings for recent graduates. Six of us were selected, three from UWO and three from U of S. We were asked to get firearms acquisition certificates (easy then, very difficult now) and blasting permits, although due to time constraints they dropped the latter--we were given some half-hour of on-the-job training in explosives handling and off we went.

Those really were the days!

The first thing we did when we were there was have a shooting contest. I won, was declared camp marksman, which didn't turn out to be nearly as much fun as I would have liked. Mostly it meant I was tasked with periodic oiling of all firearms on the island, in addition to my other duties, which were mostly preparing to blow up the Arctic and then actually blowing it up. In theory, I was also tasked with shooting anything that might show up and pose a danger to us, but the only other animals were the two aforementioned arctic terns, which would have been difficult to represent as dangerous, and they didn't stick around long enough for me to arm myself in any case.





Flying to the ice island from Resolute (home base of PCSP) via Twin Otter. Note skis.



The experiment required us to set up explosive charges in sequence underwater. The shockwaves would bounce around in the water column, but at least some of the energy would penetrate the seafloor and be reflected from rock layers within the Earth, allowing us to infer subsea structure. So we would need to install the means to set off the explosives and the instruments to detect the sonic returns (sensors called geophones).


The first part of our work was installing the sensors, which involved a great deal of digging. There were to be at least 120 stations, each of which required nine geophones, eight in a circle (as at left) and one in the middle. 

The stations were each about 30 m apart and had been surveyed and marked before our arrival. You might see the stake near the centre of the photo.

The lasting legacy of this job (for me personally) is that I was able to impress my future wife with my digging prowess when she installed a garden some fifteen years ago. I was like the Shoveler.

The holes were dug through the snow cover down to the ice surface. In most places this was no more than a couple of feet down, but at one end of the array we ran into an old drainage channel, and there had to dig holes more than eight feet deep.

Once on the ice, the auger came into play, as we had to auger a hole down some six to eight feet or so, suspend the geophone in the hole, then fill it with water so it would freeze into place. The cables were suspended above the snow so we could hook them up later.

The cables were about 3 km long, so untangling them as they came out of the box was, shall we say, a chore. At 30 m intervals, there were nine takeouts, and these would be connected to the geophones that we had already buried. The other end led into the bank of computers in a special hut a couple of pictures up.

Next came the shotholes. We used a heat exchanger to melt a narrow tunnel from the top of the ice to the bottom, dropping out into the ocean. Now, since the ice island is about -40C in the middle, how do we keep the holes from refreezing?


The holes were lined with plastic tubing--about six inch diameter IIRC. The sections were screwed together until we had a continuous lined tube right through from the surface to the sea.


Then we filled the tubing with the Government of Canada's own secret blend of diesel fuel and trichloroethane (TCE). The stuff was a horror show. It soaked through your clothes, and was almost instantly absorbed through the skin and for a week everybody had a TCE hangover.


The mix was designed to be the same density as ice, so that as we filled the pipe, when the level of fluid within the pipe had risen to the level of the ice, all the seawater would have been displaced from the pipe. This blend had a freezing point well below the temperature of the ice, so the holes would stay open. 


Next the detonating cables were laid in. One end went to the data collection hut, and the other end of each went to one of the twelve shotholes. There was a lot of loose cable at the end, because the ends of it would be connected to the detonators, which were electrical. They would be fired from the hut. There was a circuit at the top of each shothole which allowed you to short the system so that you didn't accidentally fire off the detonator before the explosive was lowered down the hole.


Additionally, the detonators were of a special type that needed a fairly substantial voltage to fire, because static charges on snow could be large enough to accidentally fire off the standard issue detonators.


We were all a little tentative handling the explosive when we started off, but after a few days without anybody blowing up we really began throwing the stuff around. One of the guys even managed to crash a skidoo into a wall of dynamite boxes without mishap. Well, the engine cowling of the skidoo was crushed. I swear it wasn't me. But I did manage to sink a skidoo into one of the meltwater ponds.


Detonation control. Plug in the cable, charge the capacitator from the battery, select the station, and kaboom.


Things went swimmingly. As the summer progressed, the snow melted and the camp was surrounded by a lake of meltwater which we had to drain by drilling holes in the middle of camp. The original runway disappeared, and we spent some days making a new one. There were amusing and occasionally difficult issues with sewage and sanitation.


Meltwater was an ongoing problem as the temperature rose. Eventually we had to drain the camp.


The island shook itself free of the surrounding pack ice and began drifting. Every kilometre or so we travelled, we were to set off a series of explosions (ideally all twelve in sequence--though I don't remember how much time between shots).

There were several hitches that plagued the program. One of the most important ones was the reaction between the explosives and the TCE/diesel fuel blend. Since you had to punch a hole in the stick of explosive and insert the detonator, as the explosive was lowered through the special blend, there was an opportunity for some sort of chemical reaction to occur (which I infer from all the hissing and spluttering of the explosive when unexploded sticks were retrieved), and as a result occasionally when the detonator exploded, the explosive did not follow suit.

The work was hard on the cables, especially the ones that were constantly being connected to detonator cables. They would fray, or break, and I would have to strip insulation and occasionally solder the ends of the cables together. It was so cold that the solder would melt, or the flux, but never both at the same time.

Lastly, as the island was moving around, it was sometimes difficult for supply aircraft to find.

I had a two-week break in early June and when we flew back from Resolute (now Qausuittuq) we couldn't find the place. Fog had completely socked in the island during the flight. We flew in circles for awhile looking for it, but didn't have enough fuel to return to Resolute so we were forced to land at Eureka, which in comparison to the ice island, was paradise.


Eureka - paradise on Earth. Really. In mid-June, you have 24 hour sunlight, the weather is good, temperature mid-20s (C).





By July we were locked in fog and rain. The bright sun we had in the early days was due to the dryness and the cold (-30). It was warmer in the summer, but unpleasant. It was actually better when it was colder. You could even sunbathe--on top of the seismics hut where you were out of the wind in full sun you felt warm in a matter of minutes.

Ultimately papers were published. I remember looking a little bit at the raw data. One of the other students did an MSc thesis on the data. I later did my Master's in marine geology at MUN.







Wednesday, August 11, 2010

How Life Imitates the Stock Market, part 2

I am modifying much of this discussion from a paper which is currently under consideration for publication.

In the last installment we saw that certain complex systems are characterized by multiple modes of operation. Assuming that our system can be defined as a continuous system of differential equations, then it will evolve deterministically from each uniquely defined initial point to a unique sequence of successor states, implying that two states which lie on different trajectories will remain so—hence, no line crossings occur [Hirsh and Smale, 1974].

Any two different trajectories may evolve toward successor states which are arbitrarily close to one another. Thus they may converge toward a single state which does not change in time. This unchanging state is called an attractor, and the behavior is described as asymptotic stability, as the system tends to evolve asymptotically towards some immovable point. Alternatively, they may not converge onto a particular point, but the successor states from any state within a small region of phase space may stay within a small (but possibly larger) region of phase space. Such behavior is described as Lyapunov stability.

The conditions by which asymptotic stability occurs are extremely specific, and it is difficult on the basis of field observations of the climate system or of the stock market to be certain that our observed system demonstrates such behaviour.

A qualitative approach to interpreting dynamic systems includes describing the phase space in terms of the type, order, and number of attractors (or areas of stability) that are traced out as the system evolves through time. The ice volume phase space portrait of last time is an example of a system with a number of disjoint Lyapunov-stable areas (LSA), each separated in phase space by a separatrix. At any given time, the state of the system occupies only one such LSA, so that their number therefore constitutes the total number of alternative long-term behaviors, or equilibrium states, of the system.

Since an LSA is likely to be smaller than the total allowable range of states, the system tends to become boxed into an LSA unless it is subjected to external forcing. When the state approaches a separatrix, small perturbations can trigger a change to a nearby state, which can result in chaotic changes in the evolution of the system [Parker and Chua, 1989]. Thus very complex behavior can arise in multistable systems.


Probability density plot of reconstructed phase space portrait of the ice volume system compiled from the past 750 thousand years (filled solids) superimposed on the phase space plot of the last 120 thousand years (dashed curve). Regions of high probability (darker) represent LSAs and result from multiple visits to the same region of phase space, or by a drop the rate of evolution of the system. From Gipp (2001).

The typical approach is to label the LSAs and characterize the system as a series of steps from one LSA to another. If the LSAs in the figure are labelled (from lower left to upper right) A2, A3, A4, and A5, then the curve above might be characterized as evolving from A2 to A4 to A5, and is currently heading in the general direction of A2 once again.

The evolution from one LSA to another would not occur except in the presence of external forcing, which successively drives the system across a separatrix after which it evolves quickly towards some other LSA. Now let us consider application of this approach to the stock market.

Over long periods of time, a stock will typically trade within a range. Provided there is to be no change in the fortunes of the company, we would normally expect that small perturbations in the price will be countered. In this way, the stock price exhibits Lyapunov or even asymptotic stability. The market has a "perception" of the value of the stock, and any deviation from that value is arbitraged away. Arbitrageurs will therefore act as the negative feedback cycles that we infer for a complex system.




Reconstructed phase space portrait (price vs. lagged price) showing the trajectory traced out by one stock near a Lyapunov-stable area (LSA). Small arrows show the evolution of the system through time.











Nevertheless, the external forcing (information in the form of money) may be sufficient to perturb the stock price over a separatrix at which point it suddenly accelerates toward some new area of phase space. We would probably say that the stock has become a "momentum play", dominated by the momentum players who continue to push the stock rapidly in whatever direction it happens to be moving.


Price chart for the stock in the above phase space. The momentum players have carried it out of a trading range. How high can it go?





All momentum plays eventually come to an end, and if there have actually been no changes in the fortunes of the company, the reasonable expectation is for the price of the stock to return to its previous trading range. But there is no guarantee that it will do so by the most direct path.




Possible scenarios by which stock price may return back to a trading range after breaking out and momentum later fails. In scenario 1 the stock falls back to the LSA. In scenario 2 the stock goes on an excursion through phase space before returning to the trading range. In this example we are assuming that there has been no change in the perceived value of the stock.
We see two possible scenarios after the breakout. Infinite variety is possible, especially in terms of the excursion through phase space. For an example of a wild one, let's look at one stock. Should I name it? In the interests of full disclosure, the stock in question is Nautilus Minerals Inc. (NUS-V), which was possibly the object of a recent price manipulation. (Kudos also to IKN for this story). I have no position in Nautilus, but am on management of a company that might be perceived as a competitor (but isn't really).


Nautilus Minerals Inc. share price for the past four months in pence (sorry about that!)

We see a general downward trend until that rather singular spike corresponding to the punch line of an interesting promotion. Let's look at the two dimensional reconstructed phase space portrait.


Two dimensional phase space portrait of the NUS-V stock price since April. Lag is four trading days. There is a lot of dynamical information going on here, which I will go through in part 3 of this post, but note the two highlighted areas which may represent areas of Lyapunov stability, and that prior to the unusual spike of early July, the price trajectory appeared to be returning to the LSA that the price state held in April. DYODD.




References

Gipp, M. R., 2001. Interpretation of climate dynamics from phase space portraits: Is the climate system strange or just different? Paleoceanography, 16: 335-351.

Hirsh, M. W. and S. Smale, 1974. Differential Equations, Dynamical Systems and Linear Algebra, Academic, San Diego, Calif., 1974.

Parker, T. S., and L. O. Chua, 1989.  Practical Numerical Algorithms for Chaotic Systems, Springer-Verlag, New York.

Tuesday, August 10, 2010

Volcker-Bernanke puzzle no puzzle

In a recent article in the Asian Times, Hossein Askari and Noureddine Krichene, who I can only assume pass for economists, talk about the effects of interest rates on unemployment. They propose the existence of the "Volcker-Bernanke puzzle", which I will leave to them to describe. . .


"Assuming Fed chairman Ben Bernanke succeeds in reverting the US economy to full employment and rapid growth, then economic historians will be facing a difficult puzzle that could be coined the Volcker-Bernanke puzzle. Paul Volcker, Fed chairman from August 1979 to August 1987, got the US economy out of 11-12% unemployment by pushing money market rates to 19%. Bernanke pushed unemployment from 4% to 10% through aggressive monetary policy with near-zero interest rates, massive monetary injection, and buying all toxic bank loans; however, Bernanke, if he does succeed by his indicated path, will have pulled the US out of 10% unemployment by even more monetary stimulation."

Well, that certainly is a conundrum! But wait a minute. . . isn't that first assumption a little presumptuous?


"Somehow, either extreme, very tight or very loose monetary, could be followed by policymakers to solve the unemployment problem and propel the economy back to prosperity. It makes no difference which extreme is adopted!"


Amazing! No matter what we do, the economy will recover! Of course that doesn't explain how we got into trouble in the first place.


Maybe our problem was that after the fall of Volcker and before the rise of Bernanke, our interest rates were too moderate. They should have been either much higher or much lower! Now who was the guy in charge of setting interest rates back then?

I'm still not getting the puzzle though. On one hand, raising interest rates ultimately resulted in lower unemployment. On the other, lowering interest rates "pushed unemployment from 4% to 10%".

I still don't see a problem. One method produces lower unemployment, and the other produces high unemployment. Logically, you simply choose the method which produces the desired outcome. Given all the Ph.D. economists working on this, we can only assume that that indeed is what is happening.

So what is the puzzle? Our favourite economists again . . .

"Assuming Fed chairman Ben Bernanke succeeds in reverting the US economy to full employment and rapid growth, then economic historians will be facing a difficult puzzle that could be coined the Volcker-Bernanke puzzle."

Well always assuming that of course. We might also add  . . .

Assuming leprechauns exist, Obama's new economic plan wherein Federal agents are to be tasked with chasing rainbows in order to seize pots of gold at their ends will balance the Budget by 2012 at the latest.

It's hard to know on what basis this assumption is being made (the Askari-Krichene assumption, that is*). I hereby formally name this assumption after them with the sincere hope that it leads to their lasting fame.

Formally the Askari-Krichene assumption goes as follows:

"Assuming Fed chairman Ben Bernanke succeeds in reverting the US economy to full employment and rapid growth (which is precisely the opposite of what we are empirically observing), then economic historians will be facing a difficult puzzle that could be coined the Volcker-Bernanke puzzle."

We could add to their fame by creating an entire genre of logical statements that could be referred to as Askari-Krichene logical positions as follows . . .


If A is observed, then assume not A.

Which can be reduced to the Askari-Krichne Rule of Inference for Keynesian Economics:

If A then not A.



*The assumption about leprechauns follows from careful empirical observations.