Monday, July 4, 2011

The Econometric Game

If you're not familiar with The Econometric Game, you might find it interesting. It's a great concept, and it's become an important international event for graduate students in Econometrics.

I was especially pleased when a team from my old department at Monash University, in Melbourne, Australia, won the Game in 2010.




© 2011, David E. Giles

Saturday, July 2, 2011

One Good Turn Deserves Another


A couple of days ago I received an email from a Ph.D. student in the U.K.. I don't know him, or his supervisor, but the message came with a simple enough request. The student was having trouble getting hold of a copy of a paper published as a chapter in a book (Handbook of Applied Economic Statistics) that Aman Ullah and I edited a few years - could I help in some way?

This sort of thing comes up from time to time for all of us, I'm sure. When I got the email I was reminded of the first time that I was on the other end of such a request - in 1973, as a Ph.D. student in New Zealand, trying to get on top of what was then a newly emerging field - Bayesian Econometrics.

Arnold Zellner's classic book had appeared just two years earlier. I'd been through it from cover to cover - I still have my notes that fill in all of those gaps where there are statements such as: "Completing the square and then integrating, it can be shown that...." (Two pages of integration later....!)

Anyway, I was trying to get hold of a particular Ph.D. dissertation that Arnold had recently supervised. The University of Chicago didn't participate in the dissertations microfiche distribution service that the University of Michigan then ran, internationally. (Microfiche?? You had to be there!) So, our library couldn't help me. I was on my own.

Wednesday, June 29, 2011

Decline and Fall of Econometrics?

"Please bear in mind throughout that IT IS MEANT TO BE FUNNY."
(Evelyn Waugh, 'Author's Note' in Decline and Fall, 1st ed., 1928)

I'm not sure that there's anything funny about the decline and fall of Econometrics, especially if you're an econometrician - that's if it were true, of course. But is it? Personally I don't think so.

Econometricians seem to be very much in demand. To take one example, if you take a look at the EconJobMarket site right now you'll see that over the past 6 months, and also in total since that site began, more jobs have been posted in the Econometrics category than in any other economics category (except for "Any Field").

BTW, don't be put off by the fact that there don't seem to have been very many jobs posted at all in the past 6 months - that period doesn't cover the annual recruitment season job posts. With that recruitment season  in mind, if you look back at last October's issue of JOE, you'll find that there were over 130 job postings in the "Mathematical & Quantitative Methods" (which is primarily Econometrics)category.

It will be interesting to see how the job numbers for econometricians stack up in JOE after this summer's break.

Imagine my alarm, then, when I obtained this chart while playing around the other day with Google Trends:

Tuesday, June 28, 2011

p-Values for Cointegration Tests With Breaks in the Data

In an earlier post I went through some econometrics that involved the problem of testing for multivariate cointegration in the case where there are one or more trend-breaks or level-breaks in the time-series data.  Specifically, I talked about the modified Trace tests introduced by Johansen et al. (2000), and I mentioned the really nice discussion of the application of these tests that is provided by Joyeux (2007).

Two things relating to this occurred to me recently. The first was that while I'd provided EViews code for calculating asymptotic critical values to be used with these tests, it would also be useful to have the corresponding code for calculating p-values for any calculated values of the Trace test statistics.

Second, given the discussion and comments in my recent posts (here and here) about open-source software, I thought it would be a good idea to make the p-values and critical values code available for users of R. (Thanks for the earlier comments, "Ben" and Tal Galili!)

So, in a joint effort, Ryan Godwin and I have written the R code, and extended the earlier EViews code to compute the p-values. Both of them are on the Code  page that goes with this blog - in two places: under this post, and also in place of the code for the earlier post. (You can thank Ryan for the nice windows that open when you run the R program.) In addition, an Excel workbook with a big selection of critical values is avalable on the Data page for this blog.

We hope you find the programs useful!


Note: The links to the following references will be helpful only if your computer's IP address gives you access to the electronic versions of the publications in question. That's why a written References section is provided.

References

Johansen, S., R. Mosconi and B. Nielsen (2000). Cointegration analysis in the presence of structural breaks in the deterministic trend. Econometrics Journal, 3, 216-249.

Joyeux, R. (2007). How to deal with structural breaks in practical cointegration analysis? In B. B. Rao (ed.), Cointegration for the Applied Economist, Second Edition, Palgrave Macmillan, New York, 195-221.



© 2011, David E. Giles

Sunday, June 26, 2011

Your Very Own Theorem

Too many term papers to grade? Tenure clock running? Don't have the time to crank out a new theorem today?

Fear not! TheoryMine can come to your rescue. As they so delightfully explain:

"You can name your very own mathematical theorem, newly generated by one of the world's most advanced computerised theorem provers (a kind of robot mathematician), and you can immortalise your loved ones, teachers, friends and even yourself and your favourite pets".
And:
"You can buy new theorems which become yours to name. You will receive a printable certificate in PDF form of the theorem and its discovery (including an outline of the proof). You can then give this away, frame it, sing it, as you like!"

At only £15.00, this looks to me like a bargain just waiting to be snapped up! I mean, how long did you spend proving that last theorem of yours? I'll bet that (No. of Hours x Hourly Salary) > 15!

I particularly like the idea of "immortalising your teachers" (hint, hint), and I promise not to sing it!

HT to Ken Stewart.

© 2011, David E. Giles

Friday, June 24, 2011

gretl

In comments on a recent post, "Ben" and Tal Galili very sensibly asked if I could make R code available for the econometric analysis in my posts, in addition to EViews code. I'll be trying to do this wherever I can, given the time constraints.

The important point implicit in these comments is that R is free, open-source, software, whereas EViews is not. I'm definitely a supporter of open-source. Here's a suggestion that may be helpful in the meantime, especially if you aren't feeling up to learning R.

There's a nice open-source package called gretl that has much in common with EViews. It's specifically econometrics-oriented, with lots of the time-series features that are part of EViews' strength, and that are hard to match in a freindly way in a lot of other econometrics packages.

In case you're wondering, gretl is an acronym for Gnu Regression, Econometrics and Time-series Library.

The really good news is that is is very simple to open foreign data files in gretl, including EViews workfiles, SAS, STATA, and SPSS files. This might help some readers of this blog who don't have access to EViews.

Right now, there seem to be a few problems with opening some EViews 7 files in gretl - earlier versions of EViews are fine. Allin Cottrell is kindly checking this out, and I'll keep you posted on this point.

From here on I'll try and supply data in EViews.wf1, Excel, R, and STAT.dta files to maximize accessibility.

I'm only just starting to play around with gretl, but it looks just great!

(HT to Martina Lui - long overdue!)



© 2011, David E. Giles

Thursday, June 23, 2011

An Important 'First'

There are lots of rewarding things about this job - the short hours, the long vacations every summer, the wonderful pay,.....................(yeah, right!)

But right up there among the very best things is when a grad. student gets their first publication acceptance! It's a really special day when that happens - and not just for the student.

Yesterday, I was thrilled that one of my grad. students, Ryan Godwin, achieved this important milestone, with a paper accepted for publication in Communications in Statistics - Theory & Methods.

One of the impressive things on this occasion is that the paper in question is not even part of Ryan's Ph.D. research. Extra frosting on the cake!

I'm sure that all of us can remember that first acceptance letter - or email, as it usually is these days. Here's to many more to come, Ryan!



© 2011, David E. Giles

Wednesday, June 22, 2011

Private Market for Personal Identity Data

Apparently, the British Government is planning to create a private data market for personal identity data. There's an interesting item abut this in Computer Weekly

You don't need to have a subscription to see the draft discussion document, "Identity Assurance (IDA) - Technical Infrastructure Services". Currently, it's accessible here.

One interesting thing that I learned is that "shared secrets" are apparently aka "memorable information" (see p.7 of the draft report).

Great timing, given the recent security breaches at Sony, Sega, and the like!


© 2011, David E. Giles

RStudio

If you're a user of the R statistical software environment (and you should be - if you're not, it's the best free lunch in town), then the (fairly) recently released RStudio user interface will undoubtedly interest you. Here's a quote from the description on their website, to give you the flavour:
  • "RStudio brings together everything you need to be productive with R in a single, customizable environment. Its intuitive interface and powerful coding tools help you get work done faster.
  • RStudio is available for all major platforms including Windows, Mac OS X, and Linux. It can even run alongside R on a server, enabling multiple users to access the RStudio IDE using a web browser.
  • Like R, RStudio is available under a free software license that guarantees the freedom to share and change the software, and to make sure it remains free software for all its users. "

RStudio has been getting quite of a bit of attention - positive attention - especially in places that matter, such as R-Bloggers.

Anyway, I'd encourage you to check it out. If you're not already an R user, this interface might persuade you to take the leap. Just make sure that you update your installation of R to (at least) 2.11.1 before trying to use RStudio.



© 2011, David E. Giles

Tuesday, June 21, 2011

Invisible Econometrics

Welcome to The Museum of Non-Visible Art (MONA). Yes, you read that correctly. So what is this all about? Here's an extract from their site:
"The Non-Visible Museum is an extravaganza of imagination, a museum that reminds us that we live in two worlds: the physical world of sight and the non-visible world of thought. Composed entirely of ideas, the Non-Visible Museum redefines the concept of what is real. Although the artworks themselves are not visible, the descriptions open our eyes to a parallel world built of images and words."
You can buy (the ownership rights to) an imaginary piece of art that doesn't physically exist. For example, pledge $20 or more to the cause and you will receive: