<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-38874208</id><updated>2011-12-08T07:01:01.833-08:00</updated><title type='text'>Guy's Econometrics blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>35</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-38874208.post-5189398336792494607</id><published>2011-11-15T03:35:00.001-08:00</published><updated>2011-11-15T03:35:56.944-08:00</updated><title type='text'>Econometrics job</title><content type='html'>Econmetricians looking for a job might like to check out http://www.technopolis-group.com/site/working/index.htm&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-5189398336792494607?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/5189398336792494607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=5189398336792494607' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/5189398336792494607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/5189398336792494607'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2011/11/econometrics-job.html' title='Econometrics job'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-1627473750524139576</id><published>2011-09-22T05:35:00.000-07:00</published><updated>2011-09-22T05:48:49.143-07:00</updated><title type='text'>2nd Winter School on Bayesian Methods for Empirical Macroeconomics</title><content type='html'>The 2nd Winter School on &lt;B&gt;Bayesian Methods for Empirical Macroeconomics&lt;/B&gt; will take place from the 14th-16th December 2011 at Queen Mary University of London. The course will be given by Professor Gary Koop of the University of Strathclyde.&lt;br /&gt;&lt;br /&gt;The course will describe techniques of Bayesian Time Series Econometrics, starting from basic Bayesian Econometrics and dealing also with the estimation of VARs, linearised DSGE models, stochastic volatility and Time-Varying Parameter-VARs. It will provide insight into the methods used, and will be an opportunity for learning how to estimate these models using Matlab.&lt;br /&gt;&lt;br /&gt;Similar versions of this course where recently given by Prof. Koop at the Bundesbank, the Bank of England, the Czech National Bank and the Polish Ministry of Finance and Queen Mary University of London. During this last event there were many requests for a future session from colleagues who were unable to attend due to space restrictions; as a result it was decided to organise this Winter School.&lt;br /&gt;&lt;br /&gt;Gary Koop is a Professor of Economics at the University of Strathclyde and a world leader in Bayesian Econometrics. With this approach, he has published numerous articles in journals such as the Journal of Econometrics, the Journal of Applied Econometrics and the Journal of Business and Economic Statistics. He is an associate editor for several journals and is currently co-editing (with John Geweke and Herman van Dijk) the soon-to-be-released Handbook of Bayesian Econometrics.&lt;br /&gt;&lt;br /&gt;The course will describe techniques on Bayesian Time Series Econometrics, starting from basic Bayesian Econometrics and dealing also with the estimation of VARs, linearised DSGE models, stochastic volatility and Time-Varying Parameter-VARs. It will provide insight into the methods used, and will be an opportunity for learning how to estimate these models using Matlab.&lt;br /&gt;&lt;br /&gt;Similar versions of this course where recently given by Prof. Koop at the Bundesbank, the Bank of England, the Czech National Bank and the Polish Ministry of Finance and Queen Mary University of London. During this last event we received many requests for a futuresession from colleagues who were unable to attend due to space restrictions, and have therefore decided to host this Winter School.&lt;br /&gt;&lt;br /&gt;Gary Koop is a Professor of Economics at the University of Strathclyde and a world leader in Bayesian Econometrics. With this approach, he has published numerous articles in journals such as the Journal of Econometrics, the Journal of Applied Econometrics and the Journal of Business and Economic Statistics. He is an associate editor for several journals and is currently co-editing (with John Geweke and Herman van Dijk) the soon-to-be-released Handbook of Bayesian Econometrics.&lt;br /&gt;&lt;br /&gt;Application forms and further information about the course are available at&lt;br /&gt;&lt;A HREF="http://hosted.busman.qmul.ac.uk/cgr/Summer%20Schools/44157.html"&gt;http://hosted.busman.qmul.ac.uk/cgr/Summer%20Schools/44157.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Or you can e-mail gr@qmul.ac.uk&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-1627473750524139576?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/1627473750524139576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=1627473750524139576' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/1627473750524139576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/1627473750524139576'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2011/09/2nd-winter-school-on-bayesian-methods.html' title='2nd Winter School on Bayesian Methods for Empirical Macroeconomics'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-8877972947365591363</id><published>2011-08-22T05:01:00.000-07:00</published><updated>2011-08-22T05:15:16.399-07:00</updated><title type='text'>Confidence Intervals</title><content type='html'>In his &lt;A HREF="http://www.guardian.co.uk/commentisfree/2011/aug/19/bad-science-unemployment-statistical-noise"&gt;Bad Science column &lt;/a&gt; in the Guardian Newspaper last Saturday Ben Goldacre wrote&lt;br /&gt;"Those figures are called 95% confidence intervals, and these are one of the most useful inventions of modern life." &lt;br /&gt;&lt;br /&gt;The column both explains what a confidence interval is and why it is so important.  One must be very careful to check that increases (or decreases) over time in a statistic based on a sample are actually significant. In this case the statistic relates to unemployment and the changes observed are not big enough to conclude that the underlying population value has changed.  &lt;br /&gt;&lt;br /&gt;NOTE: The article is also available via the &lt;A HREF="http://www.badscience.net/2011/08/untitled-1/"&gt;Bad Science&lt;/a&gt; web page. By the way I just love his phrase "...the gentle static fuzz of random variation"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-8877972947365591363?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/8877972947365591363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=8877972947365591363' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/8877972947365591363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/8877972947365591363'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2011/08/confidence-intervals.html' title='Confidence Intervals'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-1947602452937850550</id><published>2011-08-17T04:29:00.000-07:00</published><updated>2011-08-17T04:43:31.739-07:00</updated><title type='text'>Why you shouldn't judge econometric results just in terms of P-values and  R squared</title><content type='html'>Both &lt;A HREF="http://timharford.com/2011/08/dubious-data-cut-down-to-size/"&gt;The Undercover Economist&lt;/a&gt;  (Tim Harford) and &lt;A HREF="http://www.freakonomics.com/2011/07/15/for-economic-growth-does-penis-size-matter-more-than-political-system/"&gt;Freakonmics &lt;/a&gt;(Stephen J Dubner) have drawn attention to a Working Paper by Tatu Westling of the University of Helsinki which has the eye-catching title &lt;A HREF="https://helda.helsinki.fi/bitstream/handle/10138/27239/maleorga.pdf"&gt;&lt;I&gt;Male Organ and Economic Growth: Does Size Matter?&lt;/I&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I think this paper should help us to remember that P values and the size of R squared are not the only things to focus on when evaluating the results of an applied econometrics study.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-1947602452937850550?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/1947602452937850550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=1947602452937850550' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/1947602452937850550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/1947602452937850550'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2011/08/why-you-shouldnt-judge-econometric.html' title='Why you shouldn&apos;t judge econometric results just in terms of P-values and  R squared'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-2224872581746672196</id><published>2011-03-22T01:11:00.000-07:00</published><updated>2011-03-22T01:24:47.981-07:00</updated><title type='text'>How bizarre</title><content type='html'>Oh dear, another econometrics poem or song.  I was talking to a student yesterday who has just started working on his econometrics project where he has to formulate, estimate and test suitable applied econometric models of his own and then write up a report.  He was complaining that it was so much harder than doing the weekly computer practicals set by me where all the answers seemed to come out right straight away and each week there was only one issue to worry about, whether it be multicollinearity, autocorrelation or heteroskedastcity. Now in this project he seemed to be facing all these problems at once and none of his results seemed to make sense. Some of the results, he said, were quite bizarre. Then on the way home, listening to the radio, I heard the old OMC hit &lt;A HREF="http://www.youtube.com/watch?v=C2cMG33mWVY"&gt;How bizzare&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;So here are some alternative econometrics lyrics (with apologies to OMC):&lt;br /&gt;&lt;br /&gt;In all the computer labs&lt;br /&gt;Everything just came out well&lt;br /&gt;Coefficient signs and sizes &lt;br /&gt;Looked OK from what I could tell&lt;br /&gt;Now I’m working on my project&lt;br /&gt;Everything’s just gone awry&lt;br /&gt;The estimates are all crazy&lt;br /&gt;Not in the ranges they should lie&lt;br /&gt;&lt;br /&gt;How bizarre, how bizarre, how bizarre&lt;br /&gt;Ooh baby, &lt;br /&gt;It’s making me crazy&lt;br /&gt;Every time I look around&lt;br /&gt;It’s hard to face&lt;br /&gt;&lt;br /&gt;I removed a few outliers&lt;br /&gt;Tried different functional forms&lt;br /&gt;Checked for multicollinearity&lt;br /&gt;All the tests I could perform&lt;br /&gt;Econometrics isn’t easy&lt;br /&gt;Nothing seems to turn out right&lt;br /&gt;Toss the output in the waste bin&lt;br /&gt;I’m in a right old plight&lt;br /&gt;&lt;br /&gt;How bizarre, how bizarre, how bizarre&lt;br /&gt;Ooh baby, &lt;br /&gt;It’s making me crazy&lt;br /&gt;Every time I look around&lt;br /&gt;It’s hard to face&lt;br /&gt;&lt;br /&gt;Stay calm and think about it&lt;br /&gt;Read the text book once again&lt;br /&gt;Check the data file’s not scrambled&lt;br /&gt;Breathe in deep and count to ten&lt;br /&gt;Don’t rush to run regressions&lt;br /&gt;Use the theory to help you out&lt;br /&gt;And a bit of imagination&lt;br /&gt;Don’t get mad and start to shout&lt;br /&gt;&lt;br /&gt;How bizarre, how bizarre, how bizarre&lt;br /&gt;Ooh baby, &lt;br /&gt;It’s making me crazy&lt;br /&gt;Every time I look around&lt;br /&gt;It’s hard to face&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-2224872581746672196?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/2224872581746672196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=2224872581746672196' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/2224872581746672196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/2224872581746672196'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2011/03/how-bizarre.html' title='How bizarre'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-4651986104037373520</id><published>2011-02-03T00:34:00.000-08:00</published><updated>2011-02-03T00:43:36.315-08:00</updated><title type='text'>Buying and selling second-hand books?</title><content type='html'>Econometrics textbooks can be quite expensive so it is often worth looking out for a second-hand (used) copy instead of buying a new one.  In many universities students will do this through their local bookshop, or via messages pinned to noticeboards.  For a wider reach you might try eBay.  Another place that you might try is &lt;A HREF="http://www.iswapbooks.co.uk/"&gt;iSwapBooks&lt;/a&gt; which was set up last year by a couple of Durham University graduates. This might be a good place to go too if you want to sell some of your textbooks for courses you have now completed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-4651986104037373520?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/4651986104037373520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=4651986104037373520' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/4651986104037373520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/4651986104037373520'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2011/02/buying-and-selling-second-hand-books.html' title='Buying and selling second-hand books?'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-2057776718741821823</id><published>2010-08-02T04:50:00.001-07:00</published><updated>2010-08-02T04:58:51.858-07:00</updated><title type='text'>Talk like an econometrician</title><content type='html'>Here is the latest effort, loosely based on the Bangles hit "Walk like an Egyptian". With apologies to the Bangles and Songwriters Sternberg and Liam.&lt;br /&gt;&lt;br /&gt;All the graphics on the screen&lt;br /&gt;They show the patterns don't you know&lt;br /&gt;If they spread too much (oh whey oh)&lt;br /&gt;They're telling you there is hetero&lt;br /&gt;&lt;br /&gt;Run Shazam with your data files&lt;br /&gt;Get ready to do the tests&lt;br /&gt;Stata/MP, oh whey oh&lt;br /&gt;Turn your back on SPSS&lt;br /&gt;&lt;br /&gt;Reading data from a pipe&lt;br /&gt;Ay oh whey oh, ay oh whey oh&lt;br /&gt;Talk like an econometrician&lt;br /&gt;&lt;br /&gt;GARCH processes they have their place&lt;br /&gt;For clustered points you can't ignore&lt;br /&gt;They match the moves (oh whey oh)&lt;br /&gt;You click the mouse to see some more&lt;br /&gt;&lt;br /&gt;The ones at school who read their books&lt;br /&gt;They like the forecast CI band&lt;br /&gt;And the hazard rate (oh whey oh)&lt;br /&gt;Talk like an econometrician&lt;br /&gt;&lt;br /&gt;Iterate til the program stops&lt;br /&gt;Then go down to the donut shop&lt;br /&gt;You can sing and dance (oh whey oh)&lt;br /&gt;See which regressors you can drop&lt;br /&gt;&lt;br /&gt;When you get to the marketplace say&lt;br /&gt;Ay oh whey oh, ay oh whey oh&lt;br /&gt;Talk like an econometrician&lt;br /&gt;&lt;br /&gt;Slide your feet and bootstrap jack&lt;br /&gt;Shift to ARMA then pull it back&lt;br /&gt;Modelling is hard you know (oh whey oh)&lt;br /&gt;We've moved on since the UNIVAC&lt;br /&gt;&lt;br /&gt;And the Japanese with their yen&lt;br /&gt;And the Indian friends of Amartya Sen&lt;br /&gt;And the Chinese too (oh whey oh)&lt;br /&gt;They all talk like an econometrician&lt;br /&gt;&lt;br /&gt;Post docs up in Berkeley say&lt;br /&gt;Ay oh whey oh&lt;br /&gt;Ay oh whey oh&lt;br /&gt;Talk like an econometrician&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-2057776718741821823?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/2057776718741821823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=2057776718741821823' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/2057776718741821823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/2057776718741821823'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2010/08/talk-like-econometrician.html' title='Talk like an econometrician'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-449541737113838960</id><published>2010-06-21T09:25:00.000-07:00</published><updated>2010-06-22T04:28:15.988-07:00</updated><title type='text'>The Sir Clive Granger Memorial Conference</title><content type='html'>On Monday 24th and Tuesday 25th May this year the Granger Centre for Time Series Econometrics at the University of Nottingham and the Department of Economics at the University of California San Diego jointly hosted the &lt;A HREF="http://www.nottingham.ac.uk/economics/grangercentre/grangerconference/index.htm"&gt;Sir Clive Granger Memorial Conference &lt;/a&gt; at the East Midlands Conference Centre at the University of Nottingham.  The event came almost exactly one year after the demise of Sir Clive Granger, joint &lt;A HREF="http://nobelprize.org/nobel_prizes/economics/laureates/2003/granger.html"&gt; Nobel prize winner in Economics &lt;/a&gt; (with Robert Engle) in 2003.  I was fortunate enough to be amongst the several dozen people invited to the conference, where I was in the exalted company of Sir David Hendry, Halbert White, Peter Philllips, James Stock, Mark Watson and Hashem Pesaran (to mention just a few of the big names who were there).&lt;br /&gt;&lt;br /&gt;The conference began with laudations in honour of Sir Clive Granger provided by David Hendry, Ken Wallis, Peter Phillips, Jim Stock, Cheng Hsiao, Hal White and John Bates. Each speaker revealed when they had first met Sir Clive and how he had influenced both their own work and the wider subject of econometrics. It is, of course, virtually impossible to undertake any time series econometrics without making use of Granger's work. David Hendry remarked upon Granger's ability not only to innovate but also to communicate clearly his ideas (possibly one of the reasons that he had such an impact). Peter Phillips described Granger as a thinker and a leader, emphasizing in particular his leadership qualities.  We can learn from him that ideas are paramount and that one should display intellectual courage in promoting new ideas. Phillips also admired the simplicity and elegance in much of Granger's work. He spoke for everyone at the conference in affirming that all who knew Sir Clive loved and revered him.  Jim Stock spoke of Sir Clive's willingness to challenge conventional wisdom and of the help and support that he had been given by Sir Clive when Stock was an Associate Professor early in his career. He praised his scientific integrity and the importance that he attached to forecasting.  Cheng Hsiao said that Sir Clive was a source of inspiration to students and colleagues alike, and Hal White also noted the encouragement that he provided to colleagues and visitors in his time at UCSD. He reminded us that Granger's work had both reach and depth.  He told us that he had recently attended a conference on Neuroscience and reported that the concept of Granger causaility is providing new insights for those attempting to understand the functioning of the brain.  John Bates told the conference how he had first met Granger back in 1956 during Granger's early years as a lecturer at Nottingham when Bates was student. He noted that Granger was always generous with his time for students. He also liked the way that Granger mixed theory and applications and recalled how inspiring he was with the ideas that he tossed out. At the end of the session Dame Patricia (Pat) Granger, Sir Clive's widow, told of how she had first met Sir Clive when she was a research assistant working for an economic historian on the subject of smallpox deaths in 18th century England.  She had been recommended to go and see him as he would be someone who would be willing to spend time giving advice about statistics in language that could be understood by a non-specialist. The rest, we were told, was history!&lt;br /&gt;&lt;br /&gt;We were then treated to the first of ten keynote lectures that had been prepared for the conference, Sir David Hendry speaking on the subject of Empirical Model Discovery.   Hendry began by noting that many features of models are not derivable from theory. Instead, a more data-based approach could help us to discover them.   Hendry recalled the dialogue between Granger and himself reported in the special 2005 issue of Econometric Theory on Automated Inference and the Future of Econometrics, in which Hendry responded to a series of questions prepared by Clive Granger on the use of PcGets in data modelling and as a new research tool (see also Hendry and Krolzig, 2001). He went on to explain how the Autometrics software can be used  for model formulation, estimation, selection and evaluation. Using the PcGive data set on consumption, income and inflation he showed how, after allowing for up to 20 lags and with impulse indicator saturation, the software could arrive at a congruent, parsimonious and encompassing model, finding a local DGP from the initial General Unrestricted Model (GUM). He emphasized that the approach was not based on repeated testing but on selecting the best model on the basis of squared t values and the notion of "sequential factorization".  This approach does not impose theory on the data (other than the initial choice of variables to include) and can deal with structural breaks in a "constantly evolving world" . He mentioned that he had used this approach in practical applications with a big US insurance company, and in work with the UK Office for National Statistics to improve the quality of the latest available data.  No printed papers were distributed at the conference but interested readers might like to view the video lecture at  &lt;A HREF="http://www.econ.au.dk/da/research/research-centres/creates/podcast-archive/professor-sir-david-f-hendry/"&gt;the University of Aarhus&lt;/a&gt; which covers similar ground.  &lt;br /&gt;&lt;br /&gt;The second keynote session had papers by Peter Phillips on "Implicit maps and new unit root limit theory" and Marcus Chambers on "Testing for seasonal unit roots by frequency domain regression".  Phillips talked about embedded simulation techniques in estimation, bias correction and the failure of the delta method. In response to a question from James Davidson, Phillips said that these ideas were not yet ready to be unleashed upon the general public via EViews, it was more a matter of raising awareness at this stage. I must admit that at times during this talk I began to appreciate the way that some of my students must feel when they tell me that they can understand all the individual words that I am saying but still can't get what it is all about.  As someone who is at the more applied end of the econometrics spectrum I shall have to wait for a future edition of Davidson's textbook before I can comment further on this topic.&lt;br /&gt;&lt;br /&gt;In the first afternoon session Hal White gave a paper with the title "Granger causality, exogeneity, cointegration and policy analysis" - a bit of a "Granger kitchen sink" title as he commented himself. Relating back to the 1998 paper by Ericsson, Hendry and Mizon in the Journal of Business and Economic Statistics, White proposed a slightly different framework in which he emphasized the concept of "structural causality", distinguishing it from Granger causality and EHM's conditional super exogeneity.  This would mean that Granger Causality is not an essential property but a consequence of conditional exogeneity.  The second paper was by Norman Swanson with the title "Diffusion index based data reduction with shrinkage: new empirical evidence". My notes on this paper seem to have shrunk to almost nothing (!) but I do recall Swanson mentioning that Granger was an expert on ex ante prediction of car parking spaces when he was at UCSD. Swanson also noted that he was relieved on one occasion when coming out of grocery store into the car park and forgetting exactly where he had left his car to discover that Clive Granger admitted to also suffering this same fate on a different occasion.&lt;br /&gt;&lt;br /&gt;During the various coffee, lunch and tea breaks at the conference the younger and less established attendees were able to display their work in poster sessions. It seemed to me that most of these were devoted to unit root tests that were able to deal with various structural breaks, outliers or other abnormalities, but all were very professionally put together and I'm sure that the experience of talking through their work with colleagues as they walked round will have been very valuable.&lt;br /&gt;&lt;br /&gt;On the Monday night we were treated to a very nice dinner at the Hart's restaurant in Nottingham, during and after which there were some more informal reminiscences of Sir Clive Granger.  The following day there were further keynote lectures from James Stock, Mark Watson, Cheng Hsaio, Graham Elliott and Jesus Gonzalo, as well as the 4th Annual Granger lecture which was given by Hashem Pesaran.   Pesaran talked about "Aggregation in Large Dynamic Panels", referring back to a conjecture that Granger had made on page 237 of his seminal 1980 Journal of Econometrics paper concerning fractional integrated processes. Pesaran showed that it was true.&lt;br /&gt;&lt;br /&gt;Stock talked about "Forecast for time series with smooth spectral densities". The motivation for his work was the observation that the Akaike Information Criterion often seems to point to longer lags being needed in models than the Bayesian Information Criterion. Another puzzle was that the average of AR(1), AR(2) and AR(3) models (with equal weights) appeared to be working better in forecasting than any of the individual models. From simulations it seemed to be that the BIC was capturing big effects with the AIC picking up more local effects.  Watson's paper "Estimating turning points using large data sets" started with a review of the various attempts to date the business cycle, going back to the early work of Thorp, and then Burns and Mitchell, through Moore and Zarnovitch and on to the Business Cycle dating committee approach.  Early approaches were based on eye-balling the graphs looking for clusters of peaks (or troughs) while more recent attempts have been based on more analytical and computer-based methods.  We were shown a nice "temperature" colour plot which illustrated very clearly the clustering of series with peaks and troughs. &lt;br /&gt;&lt;br /&gt;Hsiao looked again at the question of whether there is an optimal forecast combination while Elliott looked at a similar issue relating to the averaging and optimal combination of forecasts. He showed that forecast averages beat OLS combinations.&lt;br /&gt;&lt;br /&gt;In the last paper of the conference Gonzalo introduced the concepts of "summability" and "co-summability" which, he said, are the extensions of the concepts of integration and co-integration to non-linear systems. After two days of concentraion on heavy-duty econometrics (not to mention the several glasses of red wine consumed at the dinner on the Monday night) I was struggling to keep up with the detail of this talk, but I was able to appreciate the general idea. If we are dealing with non-linear processes of any kind - maybe x^2(t)  where x(t) is I(d) - then we want to ensure that any estimated model is balanced on both sides of the = sign. &lt;br /&gt;&lt;br /&gt;The conference was organised by Rob Taylor and Dave Harvey of the Granger Centre for time series econometrics. I am sure that all attendees will join with me in thanking them for all their hard work in putting together the programme and ensuring that everything ran smoothly over the two days. I appreciate too the efforts of all the presenters.  Although I didn't instantly understand everything that I heard at the conference, I am hopeful that with more thought and more reading (when some of these papers come out in printed form) in my head there will be convergence to a point not too far away from the authors' equilibrium position!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;B&gt;References&lt;/B&gt;&lt;br /&gt;[1] Ericsson, N R, Hendry, D F and Mizon, G E (1998) Exogeneity, Cointegration, and Economic Policy Analysis. Journal of Business and Economic Statistics, 16, 370-387. &lt;br /&gt;[2] Granger, C W J (1980) Long memory relationships and the aggregation of dynamic models. Journal of Econometrics, Volume 14, Issue 2, pages 227-238  &lt;br /&gt;[3] Granger, C W J and Hendry, D F (2005) A dialogue concerning a new instrument for econometric modeling, Econometric Theory Volume 21 pp 278-297&lt;br /&gt;[4] Hendry, D.F. &amp; H.-M. Krolzig (2001) Automatic Econometric Model Selection. Timberlake Consultants Press.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-449541737113838960?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/449541737113838960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=449541737113838960' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/449541737113838960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/449541737113838960'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2010/06/sir-clive-granger-memorial-conference.html' title='The Sir Clive Granger Memorial Conference'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-4792540384382318015</id><published>2010-04-18T01:15:00.000-07:00</published><updated>2010-04-18T01:17:57.391-07:00</updated><title type='text'>Cricket and econometrics</title><content type='html'>There are many applied econometrics papers that have a sports theme. Here is a link to a recent paper about cricket.&lt;br /&gt;&lt;br /&gt;Aiyar, Shekhar and Ramcharan, Rodney (2009) &lt;A HREF="http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1478408"&gt;What Can International Cricket Teach Us About the Role of Luck in Labor Markets?&lt;/a&gt;. IMF Working Paper, September 25, 2009&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-4792540384382318015?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/4792540384382318015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=4792540384382318015' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/4792540384382318015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/4792540384382318015'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2010/04/cricket-and-econometrics.html' title='Cricket and econometrics'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-5806472840864855586</id><published>2010-04-15T02:48:00.000-07:00</published><updated>2010-04-15T02:52:04.272-07:00</updated><title type='text'>Wonderful econometrics (video) podcast archive</title><content type='html'>The Center for Research in Econometric Analysis of Time Series at the University of Aarhus has a wonderful collection of (video) podcasts by distinguished econometricians such as Sir David Hendry and Soren Johansen.&lt;br /&gt;&lt;br /&gt;Go to &lt;A HREF="http://www.econ.au.dk/da/research/research-centres/creates/podcast-archive/"&gt;http://www.econ.au.dk/da/research/research-centres/creates/podcast-archive/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-5806472840864855586?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/5806472840864855586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=5806472840864855586' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/5806472840864855586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/5806472840864855586'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2010/04/wonderful-econometrics-video-podcast.html' title='Wonderful econometrics (video) podcast archive'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-3140742719744465808</id><published>2010-04-13T04:24:00.000-07:00</published><updated>2010-04-14T00:09:35.484-07:00</updated><title type='text'>Econometrics Hall of Fame</title><content type='html'>For the very first verse we could do a lot worse&lt;br /&gt;Than to remember Jevons and Moore&lt;br /&gt;Were sunspots what made the cycles in trade?&lt;br /&gt;Or was their approach too flawed?&lt;br /&gt;&lt;br /&gt;And then came the turn of Mitchell and Burns&lt;br /&gt;And Persons played a big part in it too&lt;br /&gt;But Slutsky and Yule knew correlations could fool&lt;br /&gt;With spurious findings thought to be true.&lt;br /&gt;&lt;br /&gt;With a Nobel prize for the specially wise&lt;br /&gt;Jan Tinbergen was one of the first&lt;br /&gt;And if Ragnar Frisch could have just one wish&lt;br /&gt;Confluence analysis would still be rehearsed.&lt;br /&gt;&lt;br /&gt;And Koopmans and Klein would think it just fine&lt;br /&gt;To be remembered as part of the story&lt;br /&gt;Haavelmo and Stone should also be known&lt;br /&gt;And given their share of the glory.&lt;br /&gt;&lt;br /&gt;So remember these names for the big hall of fame&lt;br /&gt;Econometrics Hall of Fame&lt;br /&gt;They were all very smart and played a big part&lt;br /&gt;In the Econometrics Hall of Fame, oh yeah&lt;br /&gt;Econometrics Hall of Fame&lt;br /&gt;&lt;br /&gt;Now Engle and Granger could never be strangers&lt;br /&gt;To students with time series data&lt;br /&gt;You can feel the elation of cointegration&lt;br /&gt;We all get it sooner or later.&lt;br /&gt;&lt;br /&gt;But the list'd be in vain if we forgot the Great Dane&lt;br /&gt;Soren Johansen, both modest and brilliant a man&lt;br /&gt;who, with great intuition, proposed an ingenious solution&lt;br /&gt;to determine dimension of a vector-spanned space&lt;br /&gt;&lt;br /&gt;And Sir David Hendry is one of the best&lt;br /&gt;Remember his mantra to test, test and test&lt;br /&gt;With Durbin and Watson and Sargan before&lt;br /&gt;The LSE school should not be ignored.&lt;br /&gt;&lt;br /&gt;And the authors of textbooks deserve our respect&lt;br /&gt;For keeping us all in the loop&lt;br /&gt;Judge, Goldberger and Johnston I would never neglect&lt;br /&gt;Now its Wooldridge, Kennedy and Koop.&lt;br /&gt;&lt;br /&gt;Now I may have missed someone off of this list&lt;br /&gt;Who should be here or more widely known&lt;br /&gt;If that is your view then what you should do&lt;br /&gt;Is to add in a verse of your own.&lt;br /&gt;&lt;br /&gt;So remember these names for the big hall of fame&lt;br /&gt;Econometrics Hall of Fame&lt;br /&gt;They were all very smart and played a big part&lt;br /&gt;In the Econometrics Hall of Fame, oh yeah&lt;br /&gt;Econometrics Hall of Fame&lt;br /&gt;&lt;br /&gt;Guy Judge, April 2010 (with thanks to Joachim Grammig for the Johansen verse)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-3140742719744465808?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/3140742719744465808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=3140742719744465808' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/3140742719744465808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/3140742719744465808'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2010/04/econometrics-hall-of-fame.html' title='Econometrics Hall of Fame'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-5040300320187633296</id><published>2010-03-28T00:58:00.000-07:00</published><updated>2010-03-28T01:04:29.408-07:00</updated><title type='text'>Econometric poetry</title><content type='html'>Following my recent postings of a poetic nature I have been contacted by Professor Joachim Grammig of the University of Tuebingen in Germany telling me about the wonderful website that he and his team have devoted to &lt;a href="http://www.wiwi.uni-tuebingen.de/cms/lehrstuhl-homepages/econometrics-statistics-and-empirical-economics/research/econometric-poetry.html"&gt;Econometric Poetry&lt;/a&gt;.  Lots of good ones there. Please take a look.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-5040300320187633296?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/5040300320187633296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=5040300320187633296' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/5040300320187633296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/5040300320187633296'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2010/03/econometric-poetry.html' title='Econometric poetry'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-264409188800540464</id><published>2010-03-22T01:37:00.000-07:00</published><updated>2010-03-22T01:48:39.610-07:00</updated><title type='text'>Bootstrapping</title><content type='html'>As a follow up to  &lt;a href="http://econometricsstuff.blogspot.com/2007_06_01_archive.html"&gt;&lt;span style="font-style: italic;"&gt;Carry on Regressing&lt;/span&gt;&lt;/a&gt;, &lt;span style="font-style: italic;"&gt;We are the disturbances&lt;/span&gt;,  &lt;a href="http://econmet.pbworks.com/Week-7"&gt;&lt;span style="font-style: italic;"&gt;Heteroskedasticity Blues&lt;/span&gt;&lt;/a&gt; and &lt;a href="http://econometricsstuff.blogspot.com/2010/02/facebook-econometricians.html"&gt;&lt;span style="font-style: italic;"&gt;Facebook econometricians&lt;/span&gt;&lt;/a&gt; I give you "Bootstrapping"&lt;br /&gt;&lt;br /&gt;Ten thousand iterations, that should be enough&lt;br /&gt;Can't rely on asymptotics or any of that stuff&lt;br /&gt;Let's work our simulation, set our random seed&lt;br /&gt;And run the batch program, because of the need&lt;br /&gt;&lt;br /&gt;For bootstrapping&lt;br /&gt;bootstrapping&lt;br /&gt;bootstrapping.&lt;br /&gt;&lt;br /&gt;Resample the data many thousands of times&lt;br /&gt;Get a sampling distribution along the right lines&lt;br /&gt;Its computer intensive but that's what we love&lt;br /&gt;No need for large sample mathematical proofs&lt;br /&gt;&lt;br /&gt;Wer'e bootstrapping&lt;br /&gt;bootstrapping&lt;br /&gt;Just bootstrapping&lt;br /&gt;&lt;br /&gt;Professor Bradley Efron, he showed us the way&lt;br /&gt;With Robert Tibshirani from the US of A&lt;br /&gt;Statisticians and doctors, economists too&lt;br /&gt;Medical scientists,  they all want to do&lt;br /&gt;&lt;br /&gt;Bootstrapping&lt;br /&gt;Bootstrapping&lt;br /&gt;Lots of bootstrapping&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Guy Judge&lt;br /&gt;March 2010&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-264409188800540464?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/264409188800540464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=264409188800540464' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/264409188800540464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/264409188800540464'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2010/03/bootstrapping.html' title='Bootstrapping'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-4320692312841071928</id><published>2010-02-19T01:32:00.000-08:00</published><updated>2010-02-19T01:34:17.705-08:00</updated><title type='text'>Facebook econometricians</title><content type='html'>&lt;p&gt;In one of my ECONMET computer workshops this week I discovered that some students were looking at Facebook rather than working on their econometrics practical exercises. I told them that they could glance at Facebook every now and then but only AFTER they had obtained their regression results, and for no more than 5% of the class time.&lt;/p&gt;&lt;p&gt;This morning I saw that one of them had started to use some econometrics words on his Facebook wall (but, he said, it would be no more than 5% of them !!). This "inspired" the following reply (say it like a rap!).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;"Don't be bombastic&lt;br /&gt;It's way too drastic&lt;br /&gt;To write stochastic&lt;span&gt;... &lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;Or heteroskedastic&lt;br /&gt;Iconoclastic&lt;br /&gt;It's way too classic&lt;br /&gt;For Facebook traffic&lt;br /&gt;Just stick to plastic&lt;br /&gt;Or strong elastic&lt;br /&gt;Don't try to boot-lick&lt;br /&gt;Or be hedonic&lt;br /&gt;Trust me to nitpick&lt;br /&gt;It's just the metric"&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-4320692312841071928?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/4320692312841071928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=4320692312841071928' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/4320692312841071928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/4320692312841071928'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2010/02/facebook-econometricians.html' title='Facebook econometricians'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-6465166229738747016</id><published>2010-01-10T04:03:00.000-08:00</published><updated>2010-01-10T04:07:49.136-08:00</updated><title type='text'>Why so few comments?</title><content type='html'>I sometimes wonder whether anyone reads my blog as I get so few comments. Maybe I will adopt the strategy suggested by this cartoon!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.makeuseof.com/tech-fun/internet-cant-ignoere-grammar/"&gt;The One Thing Internet Cant Ignoere&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-6465166229738747016?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/6465166229738747016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=6465166229738747016' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/6465166229738747016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/6465166229738747016'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2010/01/why-so-few-comments.html' title='Why so few comments?'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-6929004911657386433</id><published>2009-10-22T02:15:00.000-07:00</published><updated>2009-10-22T02:18:47.890-07:00</updated><title type='text'>99 problems</title><content type='html'>If you want a distraction from actual econometric modelling then check out this &lt;A HREF="http://www.youtube.com/watch?v=ThB2PAvdSWE"&gt; YouTube video &lt;/a&gt; from the Metrics Gang - Skit Party 2009.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-6929004911657386433?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/6929004911657386433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=6929004911657386433' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/6929004911657386433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/6929004911657386433'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2009/10/99-problems.html' title='99 problems'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-288426420992900438</id><published>2009-09-17T00:25:00.000-07:00</published><updated>2009-09-17T00:55:03.932-07:00</updated><title type='text'>Instrumental Variables and "stylometrics"</title><content type='html'>A short piece in yesterday's &lt;A HREF="http://freakonomics.blogs.nytimes.com/2009/09/16/a-regression-mystery-solved/"&gt;Freakonomics&lt;/a&gt; column in the New York Times drew attention to some work by James Stock and Francesco Trebbi, who compared the writing styles of Philip Wright and his son Sewall in an attempt to settle once and for all who was responsible for an appendix to Philip Wright's book &lt;I&gt;The Tariff on Animal and Vegetable Oils&lt;/I&gt; published in 1928. &lt;br /&gt;&lt;br /&gt;The appendix (B) is the first known articulation of the method of estimation that we now know as &lt;I&gt;Instrumental Variables&lt;/I&gt;. Some authors have previously suggested that Sewall Wright must have written the appendix (there is evidence that he used the method in some work that he had undertaken on corn and hog cycles during World War I).  However the statistical analysis of the writing styles of the two men suggest that Philip rather than Sewall wrote the appendix.  You can read the Stock and Trebbi paper &lt;A HREF="http://ksghome.harvard.edu/~jstock/wrights/wr_5_w.pdf"&gt;online &lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;But of course the paper doesn't fully resolve the problem of who &lt;i&gt;thought&lt;/I&gt; of the method first.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-288426420992900438?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/288426420992900438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=288426420992900438' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/288426420992900438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/288426420992900438'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2009/09/instrumental-variables-and-stylometrics.html' title='Instrumental Variables and &quot;stylometrics&quot;'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-570184523395278292</id><published>2009-03-25T02:06:00.000-07:00</published><updated>2009-03-25T02:20:42.309-07:00</updated><title type='text'>Guinnessometrics</title><content type='html'>Back in February 2007 I blogged about the history of Student's t-test under the heading &lt;A HREF="http://econometricsstuff.blogspot.com/2007_02_01_archive.html"&gt;Guinness is good for you!&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;If you want to read a fuller (and more authoratative) piece on it you can do so in the Fall 2008 issue of the Journal of Economic Perspectives, in which there is an article by Stephen T Ziliak with the title &lt;A HREF="http://www.aeaweb.org/articles.php?doi=10.1257/jep.22.4.199"&gt;Guinessometrics: The Economic Foundation of "Student's " t &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-570184523395278292?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/570184523395278292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=570184523395278292' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/570184523395278292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/570184523395278292'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2009/03/guinessometrics.html' title='Guinnessometrics'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-8266348895806277996</id><published>2009-03-24T09:05:00.000-07:00</published><updated>2009-03-24T09:07:44.972-07:00</updated><title type='text'>Heteroskedasticity blues</title><content type='html'>Well I woke up this morning&lt;br /&gt;Econometric model on my mind&lt;br /&gt;So I got myself some data &lt;br /&gt;To see what I could find&lt;br /&gt;&lt;br /&gt;Then I booted up my computer&lt;br /&gt;And loaded up EViews&lt;br /&gt;I ran a few regressions&lt;br /&gt;But here comes the bad news&lt;br /&gt;&lt;br /&gt;I got those old &lt;br /&gt;heteroskedasticity blues&lt;br /&gt;You can see from my diagnostics&lt;br /&gt;I got those old heteroskedasticity blues&lt;br /&gt;&lt;br /&gt;I tried logarithmic transforms&lt;br /&gt;Expressed everything per head&lt;br /&gt;Even interactive dummies&lt;br /&gt;Everything the textbook said&lt;br /&gt;And the pattern wasn't clear enough &lt;br /&gt;For weighted least squares instead&lt;br /&gt;I was tearing all the hair out &lt;br /&gt;From my poor old achin' head&lt;br /&gt;&lt;br /&gt;I got those old &lt;br /&gt;heteroskedasticity blues&lt;br /&gt;Yes you can see from my diagnostics&lt;br /&gt;I got those old heteroskedasticity blues&lt;br /&gt;&lt;br /&gt;But then I got to thinking&lt;br /&gt;Everything's gonna be all right&lt;br /&gt;I'll just follow the procedure&lt;br /&gt;Of Professor Halbert White&lt;br /&gt;Get robust standard errors&lt;br /&gt;It's an option you can choose&lt;br /&gt;'Cos it takes away the terror&lt;br /&gt;Of t stats you can't use&lt;br /&gt;&lt;br /&gt;Now they're gone&lt;br /&gt;Those old heteroskedasticity blues&lt;br /&gt;There's no need to be disheartened &lt;br /&gt;By those old heteroskedasticity blues&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-8266348895806277996?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/8266348895806277996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=8266348895806277996' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/8266348895806277996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/8266348895806277996'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2009/03/heteroskedasticity-blues.html' title='Heteroskedasticity blues'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-6405157032473465987</id><published>2009-03-11T05:05:00.000-07:00</published><updated>2009-03-11T05:12:39.074-07:00</updated><title type='text'>Quantitative easing</title><content type='html'>The following is not about econometrics at all, but due to the fact that a poem of mine about econometrics posted here has been picked up by the &lt;A HREF="http://freakonomics.blogs.nytimes.com/2009/03/06/the-econometrics-poem-youve-been-waiting-for/"&gt;Freakonomics column &lt;/a&gt; on the New York Times website, I was encouraged by my one of my colleagues to write another one. The challenge was to write a poem about "quantitative easing" - here it is!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Quantitative easing&lt;br /&gt;Is not very pleasing&lt;br /&gt;But I guess it's just what has to be done.&lt;br /&gt;&lt;br /&gt;'Cos when your tummy's bunged up&lt;br /&gt;With no movement at all&lt;br /&gt;A little syrup of figs&lt;br /&gt;Can unblock the wall.&lt;br /&gt;&lt;br /&gt;So Mr Darling buys gilts &lt;br /&gt;And pumps in some money&lt;br /&gt;But don't you agree&lt;br /&gt;That his eyebrows are funny.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-6405157032473465987?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/6405157032473465987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=6405157032473465987' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/6405157032473465987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/6405157032473465987'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2009/03/quantitative-easing.html' title='Quantitative easing'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-1578498857427830111</id><published>2009-03-03T01:02:00.000-08:00</published><updated>2009-03-03T01:10:54.780-08:00</updated><title type='text'>Are you taking the P?  P-values versus t-values: the “sting in the tail”</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_-EF3Vnlk_wA/SazzD0-CRMI/AAAAAAAAABI/466po0hzjlY/s1600-h/pblog1.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 279px; height: 400px;" src="http://4.bp.blogspot.com/_-EF3Vnlk_wA/SazzD0-CRMI/AAAAAAAAABI/466po0hzjlY/s400/pblog1.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5308885307846968514" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_-EF3Vnlk_wA/SazyoDQ7tvI/AAAAAAAAAA4/q6qoZxHuhcI/s1600-h/pblog2.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 391px; height: 400px;" src="http://2.bp.blogspot.com/_-EF3Vnlk_wA/SazyoDQ7tvI/AAAAAAAAAA4/q6qoZxHuhcI/s400/pblog2.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5308884830647990002" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_-EF3Vnlk_wA/SazzIEV6DVI/AAAAAAAAABQ/sAVZHWQvF7s/s1600-h/pblog3.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 254px; height: 400px;" src="http://1.bp.blogspot.com/_-EF3Vnlk_wA/SazzIEV6DVI/AAAAAAAAABQ/sAVZHWQvF7s/s400/pblog3.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5308885380693101906" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_-EF3Vnlk_wA/SazzMkBvvZI/AAAAAAAAABY/_fQ033gJUfg/s1600-h/pblog4.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 312px; height: 400px;" src="http://4.bp.blogspot.com/_-EF3Vnlk_wA/SazzMkBvvZI/AAAAAAAAABY/_fQ033gJUfg/s400/pblog4.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5308885457917951378" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_-EF3Vnlk_wA/SazzRGsPg8I/AAAAAAAAABg/PvXs5Ql0ubA/s1600-h/pblog5.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 301px; height: 400px;" src="http://2.bp.blogspot.com/_-EF3Vnlk_wA/SazzRGsPg8I/AAAAAAAAABg/PvXs5Ql0ubA/s400/pblog5.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5308885535942476738" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-1578498857427830111?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/1578498857427830111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=1578498857427830111' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/1578498857427830111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/1578498857427830111'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2009/03/are-you-taking-p-p-values-versus-t.html' title='Are you taking the P?  P-values versus t-values: the “sting in the tail”'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SazzD0-CRMI/AAAAAAAAABI/466po0hzjlY/s72-c/pblog1.bmp' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-7380849519154449228</id><published>2009-02-05T02:26:00.000-08:00</published><updated>2009-02-05T02:57:04.882-08:00</updated><title type='text'>A maths joke with an econometrics twist</title><content type='html'>This joke is my own version of a joke to be found in Professor Ian Stewart's excellent book &lt;A HREF="http://freespace.virgin.net/ianstewart.joat/cabinet.html"&gt;Professor Stewart's Cabinet of Mathematical Curiosities&lt;/a&gt;. (I follow the "folk tradition" of adapting songs and stories to fit local conditions and points of reference).&lt;br /&gt;&lt;br /&gt;Two mathematicians were having lunch together in a local restaurant. One of them was lamenting the fact that most people in the population are afraid of mathematics, and was wondering what could be done to address the problem.  The other mathematician took the view that people actually know more mathematics than they might think, but perhaps don't recognise how much they know. For example, take our waitress. She would immediately know if the tip left for her was generous or not even if she denied having a good understanding of percentages.  "Perhaps you are right about that" said the first mathematician "but what about her knowledge of the maths that they teach in school? How much of that do you think she understands? Look, I just need to answer a call of nature, but when I get back maybe we can put it to the test."&lt;br /&gt;&lt;br /&gt;While the first mathematician was out of the room the second mathematician called over the waitress. "Look", he said, "when my friend returns I am going to ask you a question. All you have to do is say 'A third of x cubed'. There will be an extra tip for you if you can do this for me."  &lt;br /&gt;&lt;br /&gt;"Sure. No problem" replied the waitress.  "A third ice cube".&lt;br /&gt;&lt;br /&gt;"No, no" said the mathematician  "A third of x cubed".   "OK" , said the waitress "a third of eggs scooped".  &lt;br /&gt;&lt;br /&gt;"Oh, this isn't going to work" thought the mathematician as he saw his friend returning.&lt;br /&gt;&lt;br /&gt;"Ah, good, here's the waitress", said the first mathematician. "Let's test your theory. Just ask her any typical school maths question and we shall see how she can do".&lt;br /&gt;&lt;br /&gt;"Right" said the second mathematician, addressing the waitress.  "Can you tell me what is the integral of x squared please?".&lt;br /&gt;&lt;br /&gt;"Sure" said the waitress." It is one third of x cubed"  adding, after a short pause, "plus the constant of integration!".&lt;br /&gt;&lt;br /&gt;"Fantastic" said the first mathematician. "Maybe I have been underestimating the general public's maths skills".&lt;br /&gt;&lt;br /&gt;"Probably not" said the waitress.  "I'm doing a PhD in financial econometrics at the university. I only work here part-time!".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-7380849519154449228?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/7380849519154449228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=7380849519154449228' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/7380849519154449228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/7380849519154449228'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2009/02/maths-joke-with-econometrics-twist.html' title='A maths joke with an econometrics twist'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-1012879811775808638</id><published>2008-09-10T03:15:00.000-07:00</published><updated>2008-09-10T03:56:29.511-07:00</updated><title type='text'>Make sure that you press ALL the right buttons!</title><content type='html'>Last Monday I was in Bristol at a meeting of all the &lt;A HREF="http://www.economicsnetwork.ac.uk/"&gt;Economics Network&lt;/a&gt; key contacts (representatives from each university economics department in the UK). The programme included a very good talk from Andy Ross, the Deputy Director of the UK &lt;A HREF="http://www.ges.gov.uk/"&gt;Government Economic Service&lt;/a&gt; (GES) on the theme of "Employability of Economics Graduates".&lt;br /&gt;&lt;br /&gt;One of the things that he mentioned was the rather disappointing number of graduate economists who apply to the GES but fail the entrance test and interview process - around 50% of the just over 300 applicants that they get each year.  Quite often this isn't because they are not sufficiently proficient in the technical skills that they need, but because they can't get the basics right.   Of course the GES does want people who have technical skills in econometrics, but that in itself is not enough.  Quantitative economics and econometrics is about more than just pressing buttons on a computer keyboard to generate unit root tests or run regressions. You have to be able to explain, interpret and communicate to people what you are doing.  Although of course each year the GES employs about 160 excellent intelligent and energetic young economists, they could take more.  But they find that too many applicants can't get the basics right.  So don't neglect basic data skills, make sure that you are comfortable with index numbers, rates of growth and general spreadsheet skills.  Make sure that you really understand basic economic concepts and principles like opportunity cost, the difference between real and nominal interest rates etc.  A lot of what they do in the GES involves cost-benefit analysis. So if working in the GES sounds interesting and you apply there, make sure that you know about CBA and how it can be used in practical decision-making (especially how you would deal with conditions of risk and uncertainty).&lt;br /&gt;&lt;br /&gt;To test your communication skills why not seek out a friend on a different degree course (maybe a medical student, a psychology student or a geographer) and see if you can explain in simple terms some basic economic ideas.  Read one of the "poponomics" books like &lt;A HREF="http://freakonomicsbook.com/"&gt;Freakonomics&lt;/a&gt; or &lt;A HREF="http://www.timharford.com/"&gt;The Undercover Economist&lt;/a&gt; (or maybe just browse through the blog that goes with the book).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-1012879811775808638?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/1012879811775808638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=1012879811775808638' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/1012879811775808638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/1012879811775808638'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2008/09/make-sure-that-you-press-all-right.html' title='Make sure that you press ALL the right buttons!'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-592748762887066146</id><published>2008-03-26T02:18:00.000-07:00</published><updated>2008-03-26T03:09:43.699-07:00</updated><title type='text'>Look at the stars</title><content type='html'>Modern econometrics software, such as PcGive (part of the Oxmetrics suite) helpfully adds asterisks (or stars) to test statistics to indicate statistical significance - one star for significance at the 5% level and two stars for significance at the 1% level.  This can be helpful for quickly showing you whether or not a model fails a diagnostic test, for example whether or not the residuals appear to exhibit heteroskedasticity.&lt;br /&gt;&lt;br /&gt;Using the data on house prices in Baton Rouge, Louisiana in 1985, supplied by Hill, Griffiths and Judge (2001) and running a simple regression of house prices (in dollars) on plot size (in square feet) at first sight we appear to have a satisfactory model with a postive coefficient for the the independent variable and a t-value showing statistical significance even at the 1% level. The F statistic for the regression (here equivalent to the square of the t-value for the coefficient of the explanatory variable) is large enough for us to reject the null hypothesis of no relationship even at the 1% level. The P value shown here after the F statistic as 0.000 to three decimal places is clearly less than 0.01 (1%). PcGive highlights this by attaching two stars.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;EQ( 1) Modelling price by OLS-CS (using b_rouge.xls)&lt;br /&gt;       The estimation sample is: 1 to 213&lt;table&gt;&lt;br /&gt;&lt;tr&gt; &lt;td&gt;&lt;/td&gt; &lt;td&gt;Coefficient&lt;/td&gt;&lt;td&gt;Std.Error&lt;/td&gt;&lt;td&gt;t-value&lt;/td&gt;  &lt;td&gt;t-prob&lt;/td&gt;&lt;td&gt;Part.R^2&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Constant &lt;/td&gt; &lt;td&gt;-426.708&lt;/td&gt; &lt;td&gt;5061&lt;/td&gt;&lt;td&gt;-0.0843&lt;/td&gt;&lt;td&gt;0.933&lt;/td&gt;&lt;td&gt;0.0000&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;sqft&lt;/td&gt;&lt;td&gt;46.0050&lt;/td&gt;&lt;td&gt;2.803&lt;/td&gt;&lt;td&gt;16.4&lt;/td&gt;&lt;td&gt;0.000&lt;/td&gt;&lt;td&gt;0.5608&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;sigma                 8163.25  RSS           1.40607587e+010&lt;br /&gt;R^2                  0.560768  F(1,211) =    269.4 [0.000]**&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;However a post regression test for heteroskedastcity tells a different story. Using the test based on White (1980) PcGive runs an auxiliary regression of the squared residuals on the original regressor (in this case plot size in square feet) and the squared value of this variable. If the null hypothesis of homoskedasticity is correct we should get a low value for the test statistic (Chi squared and an F form version of the test are available) and associated high probability values. However in this case because the spread of house prices is larger at higher plot sizes we find that we must reject the null hypothesis and accept the alternative, i.e. we must conclude that there is a problem of heteroskedasticty. PcGive helpfully makes sure that we can see this instantly by attaching the stars to the computer output.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;Testing for heteroscedasticity using squares&lt;br /&gt; Chi^2(2) =   11.048 [0.0040]** and F-form F(2,208) =   5.6892 [0.0039]**&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Clearly we must reconsider our model. A simple linear regression model is inadequate and we should consider an alternative functional form (perhaps a log-linear model). We should also add in and test for the relevance of many other possible variables to explain variations in house prices, some of them in dummy variable form (such as the presence or not of central heating). &lt;br /&gt;&lt;br /&gt;The asterisks (or stars) that come in the PcGive output are a great help, but they should just be used to draw your attention to certain features of the results and must not be used mechanically. &lt;br /&gt;&lt;br /&gt;As this example illustrates, the presence or absence of stars can be something we welcome (as with the overall F statistic in the basic regression) or something that causes us to pause and consider what to do next (as in the case of the heteroskedastcity test result). In all cases it is NOT appropriate to report your results just by talking about the presence or absence of the stars.  A full consideration of the null and alternative hypotheses, test statistic and its meaning should be provided.  Unfortunately I have seen assessed work handed in by some students where this doesn't happen and all I get is star gazing.  I call this approach to econometrics "Yellow Econometrics"*. It is a kind of technological upgrade on the "cowboy econometrics" that I discussed in an earlier blog (where people would just quickly look to see if t-values were bigger than 2 or not rather than looking up the exact t statistic from the tables).&lt;br /&gt;&lt;br /&gt;* Based on the opening line of Coldplay's 2000 hit "Yellow"&lt;br /&gt;"Look at the stars,&lt;br /&gt;Look how they shine for you,&lt;br /&gt;And everything you do,&lt;br /&gt;Yeah they were all yellow"&lt;br /&gt;&lt;br /&gt;&lt;B&gt;&lt;I&gt;References&lt;/B&gt;&lt;/I&gt;&lt;br /&gt;&lt;br /&gt;&lt;I&gt;Doornik, J A and Hendry, D F (1994-2008)&lt;A HREF="http://www.pcgive.com/"&gt;PcGive Professional&lt;/a&gt;. &lt;A HREF="http://www.timberlake.co.uk/"&gt;Timberlake Consultants Limited&lt;/a&gt;.&lt;br /&gt;Hill, R C, Griffiths, W E and Judge, G G (2001) Undergraduate Econometrics.  Second Edition John Wiley and Sons Ltd.&lt;br /&gt;White, H. (1980). "A heteroskedastic-consistent covariance matrix estimator and a direct test for heteroskedasticity" Econometrica, 48, 817--838.&lt;/I&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-592748762887066146?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/592748762887066146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=592748762887066146' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/592748762887066146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/592748762887066146'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2008/03/look-at-stars.html' title='Look at the stars'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-9203642916004416617</id><published>2008-02-21T07:55:00.000-08:00</published><updated>2008-02-21T08:00:15.619-08:00</updated><title type='text'>Why so many formulae?</title><content type='html'>Something that puzzles many students of statistics and econometrics is why there might be several different formulae available to calculate the same result.   &lt;br /&gt;&lt;br /&gt;To take a simple example Dougherty (2007) says on p63 that R squared is ESS/TSS (where ESS stands for the Explained Sum of Squares and TSS stands for the Total Sum of Squares).  Then on the next page he calculates this by subtracting the ratio of the residual sum of squares (RSS) to TSS from 1.  We can see that this is correct using a simple bit of algebra because TSS = ESS + RSS.  &lt;br /&gt;&lt;br /&gt;Then on page 115 he gives the formula for the F statistic (for testing the overall significance of a multiple regression model) as [(ESS/k-1)/(RSS/n-k)] where n is the number of sample observations and k is the number of parameters to be estimated in the model. &lt;br /&gt;&lt;br /&gt;A few lines later he gives another formula for F as [(Rsquared/k-1)/(1 – R squared/n-k)]&lt;br /&gt;&lt;br /&gt;Of course in both cases one formula is the definition and the other is a simple algebraic transformation that might, in certain circumstances, be more convenient to work with.  &lt;br /&gt;&lt;br /&gt;In each of these cases it is not difficult to see that the second version follows from the first. If we can break the Total Sum of Squares into two additive parts ESS+RSS, then R squared = ESS/TSS = (TSS-RSS)/TSS = 1 –(RSS/TSS).  For the F statistic if you divide top and bottom of the formula by TSS you leave it unchanged overall. So it follows that you can replace ESS on the top by R squared and RSS on the bottom by 1-R squared.&lt;br /&gt;&lt;br /&gt;It might even be argued that working with these different formulae can actually give you a greater understanding of the meaning and interpretation of the various concepts. &lt;br /&gt;&lt;br /&gt;&lt;B&gt;Reference&lt;/B&gt;&lt;br /&gt;&lt;br /&gt;&lt;A HREF="http://www.oup.com/uk/orc/bin/9780199280964/"&gt;Dougherty, C. &lt;/a&gt;(2007) Introduction to Econometrics. Third Edition. Oxford University Press, Oxford&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-9203642916004416617?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/9203642916004416617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=9203642916004416617' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/9203642916004416617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/9203642916004416617'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2008/02/why-so-many-formulae.html' title='Why so many formulae?'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-36965345897310136</id><published>2007-06-26T00:28:00.000-07:00</published><updated>2007-06-26T01:32:17.164-07:00</updated><title type='text'>Carry on regressing (econometrician's poem)</title><content type='html'>Econometricians are not a Total Sum of Squares&lt;br /&gt;They can be dynamic and follow the trend.&lt;br /&gt;If things are non-stationary they can make a difference.&lt;br /&gt;And they can get their Dickey-Fuller augmented at the end.&lt;br /&gt;&lt;br /&gt;They test, test and test again&lt;br /&gt;Adopting Hendry's main refrain&lt;br /&gt;From general to specific, t, F and chi-squared too&lt;br /&gt;They must look for significance in everything they do.&lt;br /&gt;&lt;br /&gt;They can transform things&lt;br /&gt;With a bit of Box and Cox&lt;br /&gt;They can take random walks &lt;br /&gt;And they sometimes work with an Ox.&lt;br /&gt;&lt;br /&gt;They use dummies for sex &lt;br /&gt;And like a bit of variance and deviation (from the mean)&lt;br /&gt;They prefer to have their parameters stable&lt;br /&gt;But sometimes have a break-point in between.&lt;br /&gt;&lt;br /&gt;Although they sometimes have an identification problem&lt;br /&gt;They know the conditions they must inspect&lt;br /&gt;And with the proper instruments find&lt;br /&gt;What they want in two stages or indirect.&lt;br /&gt;&lt;br /&gt;Sometimes they can be found in Monte Carlo&lt;br /&gt;Where they play God in their own domain&lt;br /&gt;Creating many thousand replications&lt;br /&gt;Power with small samples hoping to obtain.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And here is another short one.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;We are the disturbances&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We are the disturbances&lt;br /&gt;You can't see us but you know we are there&lt;br /&gt;Stochastic, homoskedastic, independent and normal&lt;br /&gt;We must be specified with great care.&lt;br /&gt;&lt;br /&gt;We must be added to your expectation&lt;br /&gt;To make the model complete&lt;br /&gt;And although we are mostly small&lt;br /&gt;We are spread about with two tails but no feet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-36965345897310136?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/36965345897310136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=36965345897310136' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/36965345897310136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/36965345897310136'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2007/06/econometricians-poem-carry-on.html' title='Carry on regressing (econometrician&apos;s poem)'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-8218741201839213089</id><published>2007-03-29T01:32:00.000-07:00</published><updated>2007-03-29T01:38:19.013-07:00</updated><title type='text'>Get Real!</title><content type='html'>Many applied econometric models based on aggregate time series data make use of expenditure, income or GDP series.  Consumption functions, demand functions or even production functions, for example.  It is important to recognise the need to use series that have been expressed at constant prices (relating to a suitable base year) rather than at the current prices ruling in each individual year.  That is the series should be in &lt;span style="font-weight:bold;"&gt;real&lt;/span&gt; rather than nominal terms.&lt;br /&gt;&lt;br /&gt;For example if you are modelling the total use of energy in the UK you may want to include real GDP as one of your explanatory variables, to indicate the overall level of economic activity in the economy.  Using current price GDP figures would overstate the growth of real economic activity as it would include increases due to inflation as well as those due to actual economic activity. You will need a measure of GDP that has been deflated by dividing through by an appropriate measure of inflation – in this case the GDP deflator.&lt;br /&gt;&lt;br /&gt;Often suitably deflated series are readily available in published form.  For example the series with the code ABMI - UK Gross Domestic Product in £ million at constant 2003 prices - can now be downloaded directly from the UK National Statistics website. Go to &lt;A HREF="http://www.statistics.gov.uk/statbase/tsdtimezone.asp?vlnk=pn2"&gt;http://www.statistics.gov.uk/statbase/tsdtimezone.asp?vlnk=pn2&lt;/a&gt;, select Blue Book, select UK national and domestic product, and then pick out the ABMI series.&lt;br /&gt;&lt;br /&gt;Sometimes you will have to find an appropriate price deflator for yourself to adjust a current price series for inflation. Here you will have to make sure that you are using the appropriate price deflator as there are many series that track inflation. The CPI (consumer price index) would be appropriate if you were looking at overall consumer expenditure but there will be occasions when some other price series such as the GDP deflator would be appropriate.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Implicit price series&lt;/span&gt;&lt;br /&gt;The availability of expenditure series in both current and constant price form means that you will have the possibility of recovering an implicit price series for the expenditure category.  For example if you have the two series FOODEXP and FOODEXP2005, where FOODEXP measures total expenditure on food each year at current prices while FOODEXP2005 is total expenditure on food at constant (2005) prices, then the index of food prices would be say PFOOD = FOODEXP/FOODEXP2005  (or you might like to multiply this by 100 so that the base year value of the series is 100 rather than 1). This of course would give you a measure of the nominal price of food rather than an index of the price of food in real terms. To get that you will have to divide your nominal price series by an overall price index for the economy.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Real interest rates&lt;/span&gt;&lt;br /&gt;Another area where you might need to think about real rather than nominal values is with interest rates.  Real interest rates are nominal (or market) interest rates minus the rate of inflation. If the rate of inflation in a country is quite high, then nominal interest rates would also have to be high in order to provide a real return for lenders.&lt;br /&gt;&lt;br /&gt;You will also have to be careful to compute other series in real terms. For example you might need real wages, the real money supply or even a measure of real exchange rates.  Make sure that you know how to do this!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-8218741201839213089?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/8218741201839213089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=8218741201839213089' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/8218741201839213089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/8218741201839213089'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2007/03/get-real.html' title='Get Real!'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-7992253593251716086</id><published>2007-03-26T07:05:00.000-07:00</published><updated>2007-03-26T08:01:06.213-07:00</updated><title type='text'>How do you spell "heteroskedasticity"?</title><content type='html'>Econometrics is full of long and difficult words: stochastic, kurtosis,  multicollinearity, autocorrelation and - perhaps worst of all - &lt;span style="font-style:italic;"&gt;heteroskedastcity&lt;/span&gt;.  &lt;br /&gt;&lt;br /&gt;You may like to know that the correct spelling of heteroskedasticity was actually the subject of a one page article in the journal Econometrica. In the March 1985 issue J Huston McCulluch argued that there should be a k in the middle of the word and not a c. His argument was that the word had been constructed in English directly from Greek roots rather than coming into the English language indirectly via the French. &lt;br /&gt;&lt;br /&gt;The earliest use that McCulloch could find for either heteroskedastcity or heteroscedastcity was in a 1923 statistics text by Truman L Kelley. However John Aldrich in contributing to a website on the earliest known uses of some words in mathematics states that &lt;span style="font-style:italic;"&gt;'The terms heteroscedasticity and homoscedasticity were introduced in 1905 by Karl Pearson in "On the general theory of skew correlation and non-linear regression," Drapers' Company Res. Mem. (Biometric Ser.) II. Pearson wrote, "If ... all arrays are equally scattered about their means, I shall speak of the system as a homoscedastic system, otherwise it is a heteroscedastic system." The words derive from the Greek skedastos (capable of being scattered).'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;One might ask the question as to why is it that econometricians, statisticians and other scientists use Greek words such as this as labels for these concepts when ordinary English words might do just as well.   In part the answer might be to avoid confusion with the ordinary English usage of a word. For example the word "investment" when used by an economist carries a very specific meaning that might not be apparent even to a well-educated non-economist. Perhaps at least having a special word for the concept makes a reader check exactly what it means rather than making an assumption that it must mean what he thinks it does.&lt;br /&gt;&lt;br /&gt;Of course what can happen is that these special words can then make it into ordinary language. In case you think that would be impossible for the word "heteroskedasticty" I invite you to read the paragraph about the distribution of rabbits around the UK in the Smallweed column of the Guardian for 23rd July 2005. "Have these brainboxes never heard of the concept of heteroscedasticity?" Yes, we have but you spell it with a k and not a c!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;References&lt;/span&gt;&lt;br /&gt;[1] J Huston McCulloch. On Heteros*edastcity. Econometrica 1985, Vol 53 No 2 (March) p483.&lt;br /&gt;[2] John Aldrich.  &lt;A HREF="http://members.aol.com/jeff570/h.html"&gt;Earliest Known Uses of Some of the Words of Mathematics (H). &lt;/a&gt; Accessed March 2007.&lt;br /&gt;[3] David McKie. &lt;A HREF="http://www.guardian.co.uk/comment/story/0,,1861528,00.html"&gt;Armageddon isn't upon us&lt;/a&gt;. The Guardian 31st August 2006.&lt;br /&gt;[4] &lt;A HREF="http://www.guardian.co.uk/comment/story/0,,1534673,00.html"&gt;Smallweed column&lt;/a&gt; 23rd July 2005&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-7992253593251716086?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/7992253593251716086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=7992253593251716086' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/7992253593251716086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/7992253593251716086'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2007/03/how-do-you-spell-heteroskedasticity.html' title='How do you spell &quot;heteroskedasticity&quot;?'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-2032682969973987110</id><published>2007-03-26T01:53:00.000-07:00</published><updated>2007-03-26T02:08:57.416-07:00</updated><title type='text'>The Power of Logs</title><content type='html'>When I was at school (in the 1960s!) we were always using logarithms (or “logs” for short).  We used our “log tables” to help us multiply together unpleasant looking numbers that we couldn’t very easily work with using just pen, paper and brain. If we had two nasty looking numbers to multiply together we would look up their logarithms (to the base 10), add together these logarithms and then finally take the anti-logarithm of this sum of logs to give us our answer. Once you know what logarithms are you will quickly see how this method works. You can use a similar method to divide one number by another only in this case you subtract the logs instead of adding them.&lt;br /&gt;&lt;br /&gt;Today’s generation of school children have no need to use log tables for this kind of calculation. They can use a calculator (perhaps even one built into a mobile phone) or maybe a computer for unpleasant calculations.  But students of economics would still be advised to find out something about logarithms as they might come across them in a variety of situations: when using a logarithmic transformation of a power function equation for example, or you might even meet a logarithmic equation itself.  In the first situation you are basically making use of the properties of logarithms to turn a multiplicative function in the original variables into a linear (additive) function of the logarithms. Back to that later when we have had a look at the basic concept of a logarithm.&lt;br /&gt;&lt;br /&gt;Put bluntly, the logarithm of a number is the power that a base must be raised to in order to get the number.  You can see that we first have to think about what we mean by the base.  In theory you could use any positive number as the base but in practice we usually work with one of two numbers: either the number 10 or the exponential constant known as e (it has a value approximately = 2.71828). Let’s come back to e later and stick with the base 10 for now.&lt;br /&gt;&lt;br /&gt;From the definition we can see that the logarithm of the number 100, to the base 10, is 2.  Why?  Because if we raise the base 10 to the power 2, we get the number 100.  Think of another simple example.  What is the logarithm of the number 0.1 to the base 10?  Answer?   -1, because 10 raised to the power minus 1 = 1/10 = 0.1&lt;br /&gt;&lt;br /&gt;Notice that the log of 1 to the base 10 is 0.  Because 10 to the power 0 = 1.&lt;br /&gt;In fact the log of 1 is zero whatever base we work with. Any positive number raised to the power zero is 1. But we are getting ahead of ourselves. Let’s stay with the base 10 for now.&lt;br /&gt;&lt;br /&gt;Let’s see how logs to the base 10 were used in log tables.  First someone has to produce a set of tables solving the equation 10^(log) = number, for lots of different numbers.  For example, the logarithm of 2 to the base 10 is (to four significant figures) 0.3010. [I looked up this logarithm so many times in my youth that it is imprinted in my brain – I don’t even need to refer to a set of log tables to get the result!].  Similarly the log of 3 to the base 10 is 0.4771.  So if I add these two logarithms together I should get the logarithm of the number 6 – because the log of a product is the sum of the logarithms.  Now 0.3010 + 0.4771 = 0.7781.  Actually when I look up the log of 6 to the base 10 I get 0.7782.  (Using only four significant figure approximations has caused us to get an approximation error.) Rather than searching through the log tables to find the number that has a log = 0.7781 we were able to make use of the anti-logarithm table in which the results were set out in the other direction. That is the tables were constructed in a way to give you the number corresponding to any particular logarithm that you had calculated. Doing it this way round I would find that the anti-log of 0.7781 comes out as 5.999 – another approximation error due to rounding. Before you start smiling at this too much remember that even using a calculator or a computer there may be some rounding involved – although you will get much more than four significant figures.&lt;br /&gt;&lt;br /&gt;The Scottish mathematician John Napier (1550-1617) is generally credited with the invention or discovery of logarithms – although apparently they were known about in eighth century India (see Smoller (2001) or Alfeld (1997) for more details).&lt;br /&gt;&lt;br /&gt;Let’s think for a minute about how this all works.  Take any base b (&gt;0) .  &lt;br /&gt;If we know that b^u = x  and b^v = y  then simple algebra tells us that xy = b^(u+v).  When we multiply two separate powers of b together we just add these powers. The insight in developing logarithms was to see that we could turn hard calculations (multiplication and division) into easier calculations (addition and subtraction) by providing a set of u and v values to go with the set of x and y values that could then be reused time and time again.&lt;br /&gt;&lt;br /&gt;In analytical (as opposed to computational) work there may be advantages in working with logs to the base e. This is because the exponential function y = e^x  has the special property that its derivative at any point is equal to the function itself – that is dy/x = y for all values of x. If you plot the graph of the function the slope of the curve is always the same as the function itself. This means that the derivative of the inverse function or logarithmic function y = lnx  will be 1/x  [Logs to the base e are written as lnx – the ln is short for “natural” logarithm]. This is very convenient. Logarithmic functions can be useful themselves in economics as they have the property that as x goes up y goes up but at a declining rate – something that we expect to get in a whole range of economic relationships such as production functions and utility functions.&lt;br /&gt;&lt;br /&gt;But for us today it is the logarithmic transformation that is of most interest.&lt;br /&gt;&lt;br /&gt;Suppose that we think that two variables are related by a power function equation – say Q = AP^b (maybe here Q is quantity demanded, P is price, A is just a constant of proportionality whose value will depend on the units of measurement for P and Q, and b is negative so as to ensure an inverse relation between the variables).  If this is true then the graph showing the relationship between P and Q is a downward sloping (non-linear) curve. In the special case here b = -1 we have a rectangular hyperbola with the graph totally symmetrical around the 45 degree line, but with other values of b the graph will approach one of the axes more steeply than the other. &lt;br /&gt;&lt;br /&gt;But if we plot the logarithm of Q against the logarithm of P we will see a downward sloping straight line with gradient b (remember b is negative).  This is because the first rule of logarithms is that log(AB) = logA + logB (sticking to the same base.  So log Q = logA +  log(P^b).  Now from the second rule of logarithms log(P^b)=  b logP.  Now logA is just another constant if A is a constant, so we have found that logQ = a constant plus b times log P.  The power function is linear in the logarithms – or as we sometimes say for short – it is log-linear.&lt;br /&gt;&lt;br /&gt;In regression analysis of course we don’t expect all our observations to fit exactly on a straight line (or a curve) but if, when we plot the logs of one variable against the logs of another we get points clustered around a straight line then it suggests that the underlying variables are linked by a power function equation – and the power in that equation can be estimated from the slope of the line linking the logs.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;References &lt;/span&gt;&lt;br /&gt;[1]  &lt;A HREF="http://www.ualr.edu/lasmoller/napier.html"&gt;John Napier and logarithms &lt;/a&gt;Laura Smoller  UALR March 2001&lt;br /&gt; [2} &lt;A HREF="http://www.math.utah.edu/~alfeld/math/log.html"&gt;What on earth is a logarithm?&lt;/a&gt; Peter Alfeld, University of Utah 1997&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-2032682969973987110?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/2032682969973987110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=2032682969973987110' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/2032682969973987110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/2032682969973987110'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2007/03/power-of-logs.html' title='The Power of Logs'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-7475180793790229429</id><published>2007-03-07T07:51:00.000-08:00</published><updated>2007-03-07T08:35:23.546-08:00</updated><title type='text'>Dummies for dummies</title><content type='html'>&lt;I&gt;“Let us remember the unfortunate econometrician who, in one of the major functions of his system, had to use a proxy for risk and a dummy for sex.”&lt;/I&gt; Fritz Machlup (1974) &lt;br /&gt;&lt;br /&gt;As a student I was really fascinated when I first came across dummy variables.  Here was a way of incorporating qualitative effects into regression equations. For example, in examining the factors affecting the hourly earnings of individuals as well as specifying potential influences that can be quantified (e.g. age, number of years of education, number of years experience etc.) you could include dummy variables to distinguish between dichotomous categories (that is situations that fall into two groups). So for example you could have a gender dummy variable to look for differences between the earnings of male and female workers, all other factors having been accounted for.  All you must do is assign the value zero to the dummy for female workers and the value 1 for male workers and then include the dummy variable in the regression along with all the other potential influences on earnings.  The estimated coefficient of the dummy variable will measure the differential in earnings purely due to the worker being a male.  Of course as well as measuring the difference you can also use a standard t-test on the estimated coefficient to see if the measured differential is actually significant.&lt;br /&gt;&lt;br /&gt;We can see how this works algebraically and graphically if we focus on just one other regressor – years of experience.&lt;br /&gt;&lt;br /&gt;If the relationship is assumed to be a linear one then we can write the model algebraically as Y&lt;sub&gt;i&lt;/sub&gt; = &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;1&lt;/sub&gt; + &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;2&lt;/sub&gt;X&lt;sub&gt;i&lt;/sub&gt;+ &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;3&lt;/sub&gt;D&lt;sub&gt;i&lt;/sub&gt; + u&lt;sub&gt;i&lt;/sub&gt;&lt;br /&gt;&lt;br /&gt;The dummy variable D&lt;sub&gt;i&lt;/sub&gt; is assigned the value 0 for all women in the sample and 1 for all men.  The affect of this is to make the equation showing how women’s earnings are believed to be generated just  Y&lt;sub&gt;i&lt;/sub&gt; = &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;1&lt;/sub&gt; + &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;2&lt;/sub&gt;X&lt;sub&gt;i&lt;/sub&gt;+ u&lt;sub&gt;i&lt;/sub&gt;while for men the equation becomes Yi = &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;1&lt;/sub&gt; + &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;3&lt;/sub&gt;+&lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;2&lt;/sub&gt;X&lt;sub&gt;i&lt;/sub&gt;+  + u&lt;sub&gt;i&lt;/sub&gt;.  &lt;br /&gt;&lt;br /&gt;When you put in the value 0 for D the &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;3&lt;/sub&gt; D&lt;sub&gt;i&lt;/sub&gt; term disappears but when you put in the value 1 for D the term is just &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;3&lt;/sub&gt;, which can be grouped together with the &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;1&lt;/sub&gt; term. Effectively the intercept becomes &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;&lt;/sub&gt;+&lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;3&lt;/sub&gt; for men – or to put it another way there is a parallel upward shift in the regression line of &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;3&lt;/sub&gt; for men as compared with the base line that defines the relationship between earnings and experience for women. &lt;br /&gt;&lt;br /&gt;Figure 1.  &lt;A HREF="http://userweb.port.ac.uk/~judgeg/INEMET/U13783/dumfig1.jpg"&gt;The effect of a dummy variable shown graphically&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As well as incorporating dummy variables to look for shifts in a regression line we can also use interactive dummies to test for differences in the slope parameters.&lt;br /&gt;&lt;br /&gt;Figure 2  &lt;A HREF="http://userweb.port.ac.uk/~judgeg/INEMET/U13783/dumfig2.jpg"&gt;Testing for differences in intercepts and slopes with interactive dummies&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The expanded model includes a regressor that is the product of the dummy variable and the X variable.  So its value will be zero when D = 0 and X when D = 1.  Effectively its parameter &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;4&lt;/sub&gt; will pick up the differential in slope between the regression lines for men and women.  Figure 2 corresponds to a situation where initially men earn less per hour than women (the graph implies &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;3&lt;/sub&gt; is negative) but the additional payments received by men for every extra year of experience exceed those given to women.&lt;br /&gt;&lt;br /&gt;&lt;bold&gt;Dummies in models based on time series data&lt;/bold&gt;&lt;br /&gt;Dummy variables can be very useful to pick up the effects of circumstances that only apply to some time periods and not others when working with time series data. For example suppose we are looking at the relationship between the sales of ice cream in a particular supermarket and the average temperature over a succession of days. Here we have a t subscript for our observations Yt = &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;1&lt;/sub&gt; + &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;2&lt;/sub&gt; X&lt;sub&gt;t&lt;/sub&gt; + u&lt;sub&gt;t&lt;/sub&gt; and we would be want to estimate the value of &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;2&lt;/sub&gt; so that, based on weather forecasts for the days ahead, we could predict extra demand that might be expected as temperatures rise.&lt;br /&gt;&lt;br /&gt;However it may be worth testing to see if demand is higher at weekends or on public holidays. If for the moment we just treat all such days as the same we could define just one dummy variable that takes the value 0 on ordinary week days but is assigned the value 1 for days that are at the weekend or correspond to public holidays.  So the extended model becomes &lt;br /&gt; Y&lt;sub&gt;t&lt;/sub&gt; = &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;1&lt;/sub&gt; + &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;2&lt;/sub&gt;X&lt;sub&gt;t&lt;/sub&gt;+ &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;3&lt;/sub&gt; D&lt;sub&gt;t&lt;/sub&gt; + u&lt;sub&gt;t&lt;/sub&gt;  and &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;3&lt;/sub&gt; would be used to measure the additional demand to be expected on high days and holidays.&lt;br /&gt;&lt;br /&gt;If there is enough data points, separate dummy variables could be defined for Saturdays, Sundays and holidays. Within this less restrictive model each dummy would have a separately estimated parameter. But it would also be possible to test whether the different day effects are actually needed by seeing if the restriction implicit in the model given above could be accepted against the alternative of the more general model.&lt;br /&gt;&lt;br /&gt;&lt;bold&gt;Seasonal dummies&lt;/bold&gt;&lt;br /&gt;One common use of dummy variables with time series data is to allow for seasonal shifts in a relationship.  &lt;br /&gt;&lt;br /&gt;Suppose for example that you have quarterly data on energy consumption, the price of energy and consumers’ income for a number of years. You might specify a simple model, perhaps in log-linear rather than linear form, relating energy consumption to the price of energy and consumers’ income. (Perhaps both the price and income variables would be better expressed in real terms i.e. after adjustment for inflation rather than in current nominal prices – but we shall ignore that point here). &lt;br /&gt;&lt;br /&gt;For a variety of reasons energy consumption may be higher in some quarters than others even after we have taken note of the values of price and consumers’ income (for example it is colder and darker in the winter leading to higher energy use). We could allow for these differences by incorporating three quarterly dummy variables, say for quarters 1,2 and 3, leaving quarter 4 as the base period. &lt;br /&gt;&lt;br /&gt;Notice that we don’t have a dummy for all four quarters. This is sometimes referred to as the dummy variable trap. One quarter has to be kept as the base, just as with the gender dummy we didn’t have two dummy variables but chose one gender category – female – to be the base group.  Incidentally it doesn’t really matter which category is assigned to be the base group although it may be convenient to specify the dummy as we did so that its coefficient takes a positive value.&lt;br /&gt;&lt;br /&gt;So going back to our energy demand equation, with the dummies the model becomes&lt;br /&gt;&lt;br /&gt;Log(Energy)&lt;sub&gt;t&lt;/sub&gt;= &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;1&lt;/sub&gt;+ &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;2&lt;/sub&gt;Log(Price)&lt;sub&gt;t&lt;/sub&gt;+ &lt;font="symbol"&gt;b&lt;/font&gt;&lt;sub&gt;3&lt;/sub&gt; Log(Income)&lt;sub&gt;t&lt;/sub&gt;+ &lt;font="symbol"&gt;d&lt;/font&gt;&lt;sub&gt;1&lt;/sub&gt;D&lt;sub&gt;1t&lt;/sub&gt;+ &lt;font="symbol"&gt;d&lt;/font&gt;&lt;sub&gt;2&lt;/sub&gt;D&lt;sub&gt;2t&lt;/sub&gt;+ &lt;font="symbol"&gt;d&lt;/font&gt;&lt;sub&gt;3&lt;/sub&gt;D&lt;sub&gt;3t&lt;/sub&gt;+ u&lt;sub&gt;t&lt;/sub&gt;  &lt;br /&gt;&lt;br /&gt;Here D&lt;sub&gt;1&lt;/sub&gt; takes the value 1 for all first quarter observations, zero otherwise; D&lt;sub&gt;2&lt;/sub&gt; takes the value 1 for all second quarter observations, zero otherwise; D&lt;sub&gt;3&lt;/sub&gt; takes the value 1 for all third quarter observations, zero otherwise.&lt;br /&gt;&lt;br /&gt;I have used the symbol &lt;font="symbol"&gt;d&lt;/font&gt;  for the coefficients of the dummy variables to distinguish them from those of the measured variables.&lt;br /&gt;&lt;br /&gt;&lt;bold&gt;Interpreting the coefficients of dummy variables in log-linear models&lt;/bold&gt;&lt;br /&gt;Some care is required in interpreting dummy variable coefficients in log-linear regression models.  In the example we have just been looking at suppose that the estimated value of &lt;font="symbol"&gt;d&lt;/font&gt;&lt;sub&gt;1&lt;/sub&gt;comes out as 0.01.  This means that the intercept in the log-linear equation will be increased by 0.01 for all first quarter observations.  But what does that mean for energy consumption itself.  If Log(Energy) is up by 0.01 then Energy will be up by a factor of exp (0.01) = 1.01005  (assuming we have used logs to the base e – natural logarithms. Because log-linear models imply that the underlying variables interact with each other in multiplicative way the shift in the log-linear equation implies a multiplicative effect in the un-logged version of the equation.&lt;br /&gt;&lt;br /&gt;&lt;bold&gt;Impulse and step dummies&lt;/bold&gt;&lt;br /&gt;Dummy variables can be included in regression models based on time series data to account for special circumstances or events that affect an individual observation.  An example could be a model looking at quarterly sales of poultry products.  In the light of the avian flue scare at the Bernard Matthews factory in Norfolk last month we might want to include an impulse dummy for the first quarter of 2007.  The use of an impulse dummy would be based on the assumption that the (negative) effect would disappear and things return to normal in the following month. If that isn’t the case a step dummy might be more suitable.  A step dummy takes the value 0 for all periods before a particular event and then the value 1 for periods after that time. Effectively the intercept steps up (or down) after the event. An example might be a dummy variable to measure the affect of banning of smoking in pubs on their revenue. &lt;br /&gt;&lt;br /&gt;&lt;bold&gt;Dummy dependent variables&lt;/bold&gt; (i.e. dummies on the left-hand side of regression equations)&lt;br /&gt;Dummy variables can also appear on the left-hand side of regression equations. Limited dependent variable models of this sort can help to explain things like why some households have Internet access at home while others don’t or why some students succeed in passing a course while others don’t.  This is interesting stuff but a whole new topic that we will look at another time.&lt;br /&gt;&lt;br /&gt;Why don’t you look for interesting examples of the use of dummy variables in published work.  Here are a few to be going on with: (1)the effect of computer ownership on college grade point average (Wooldridge, Introductory Econometrics p 235; (2) the effect of physical attractiveness on wages (Hamermesh and Biddle, 1994) reported in Wooldridge p 242; the effect of satellite TV on football attendances (Allan, Applied Economics Letters, 2004) &lt;br /&gt;&lt;br /&gt;&lt;bold&gt;Online material on dummy variables&lt;/bold&gt;&lt;br /&gt;[1] Introductory Econometrics, a textbook written by Humberto Barreto and Frank Howland, was published by Cambridge University Press in 2005.  The authors have put the introductory section of each chapter online, together with Excel spreadsheets to illustrate their material. Take a look at their material for chapter 8 on dummy variables at &lt;A HREF="http://caleb.wabash.edu/econometrics/EconometricsBook/chap8.htm"&gt;http://caleb.wabash.edu/econometrics/EconometricsBook/chap8.htm&lt;/a&gt;&lt;br /&gt;[2]  Kelly Rathje and Christopher Bruce have a short contribution to the Expert Witness newsletter (Winter 2000) that illustrates the use of dummy variables. Go to &lt;A HREF="http://www.economica.ca/ew54p3.htm"&gt;http://www.economica.ca/ew54p3.htm&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-7475180793790229429?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/7475180793790229429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=7475180793790229429' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/7475180793790229429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/7475180793790229429'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2007/03/dummies-for-dummies.html' title='Dummies for dummies'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-4361417407892241861</id><published>2007-03-06T01:05:00.001-08:00</published><updated>2007-03-06T03:07:25.820-08:00</updated><title type='text'>Notation, notation, notation</title><content type='html'>If you are new to econometrics you may well get confused or even irritated by the variations in the notation used by different text book authors. Most (but not all) authors use the Greek letter beta to represent the unknown parameter that is the coefficient of an independent variable in a regression equation, with a subscript to indicate the variable that it is associated with. But different authors accommodate the  constant intercept in such equations in different ways.  Some give a subscript zero to this first beta, continuing with subscripts 1 to k for the betas linked to the X variables (which have matching subscripts 1 to k). Kennedy, Stock and Watson, and Wooldridge all adopt this form of notation. But an alternative approach is to give a subscript 1 to the constant intercept with the other betas then following on with subscripts 2 to k.  In this approach the variable X1 just consists of a column of constant values (=1). This is the convention followed by Dougherty, Greene, Gujarati (Basic Econometrics), Hill, Griffiths and Judge, and Pindyck &amp; Rubinfeld.  Yet another variant is for the constant intercept to be labelled alpha, with the beta coefficients numbered from 1 to k (Maddala).&lt;br /&gt;&lt;br /&gt;These differences are relatively minor, but when we move on to choice of symbols for the least squares estimates to go with these parameters there is a further lack of consistency.  Kennedy, Maddala, Pindyck &amp; Rubinfeld, Stock and Watson, Wooldridge and Gujarati (Basic Econometrics) put a "hat" over the Greek letter to show that we have an estimate (or estimator) of the parameter rather than its unknown value.  But Dougherty, Greene, Hill, Griffiths and Judge and Gujarati in his other book (Essential Econometrics) instead use the equivalent Roman letter &lt;bold&gt;b&lt;/bold&gt; for each of the betas.&lt;br /&gt;&lt;br /&gt;And then we have the disturbances and their estimated equivalents, the residuals.  Of the ten textbooks that I examined six use the letter u to denote the (unobservable) disturbance in the regression equation but three of the others use the Greek letter epsilon.  One book (Hill, Griffiths and Judge) uses an ordinary e for the disturbance (or error) term.  Now that can be confusing because two of the authors that use u as the disturbance have e to stand for the associated residual, as does one of the authors (Greene) who has epsilon for the disturbance.  Hill, Griffiths and Judge put a hat over the e to denote the residual while Gujarati (Basic Econometrics), Maddala, Stock &amp; Watson, and Wooldridge put a hat on the u to denote the residual. Pindyck &amp; Rubinfeld put a hat on the epsilon that they use for the disturbance when they want to indicate the residual that goes with it.   You can find a &lt;A HREF="http://userweb.port.ac.uk/~judgeg/INEMET/U13783/notation.pdf"&gt;table &lt;/a&gt; showing the different symbols used by the various authors on my Introduction to Econometrics website at Portsmouth.&lt;br /&gt;&lt;br /&gt;What is to be done about this? Why can't all these authors agree on a common system of notation?  Taking the second question first I guess that each would argue that there are advantages of working with the particular convention that they adopt.  There is certainly a logic to each of the choices made by the different authors but it does make it difficult for a student who consults more than one text book as he tries to get to grips with the subject. You might advise him to stick just to one textbook until he is confident enough about the meaning of the various symbols to recognise a slightly different label being used elsewhere. But I have never wanted just to recommend a single textbook for the courses that I teach. Different types of exposition suit different students. Some want a formal presentation and can handle the proofs and derivations that go with it. Others need a more intuitive approach with lots of examples and illustrations.  And I find that some authors give a better exposition on one topic (perhaps autocorrelation) but maybe not such a good one as elsewhere on another (multicollinearity perhaps). So students can benefit by reading more than one account.  In any case at some point they will have to get to grips with  different notational systems used in the journal articles that they must read so it might be better to face up to this sooner rather than later.&lt;br /&gt;&lt;br /&gt;So my point is...?   Let's face up to the fact that there are different notational conventions, look at each of them and compare them explicitly and thereby enable students to become flexible enough to switch form one to another as the situation requires.  It may also help students gain a better understanding of the underlying concepts if they have to think more carefully about what they are reading or writing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-4361417407892241861?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/4361417407892241861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=4361417407892241861' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/4361417407892241861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/4361417407892241861'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2007/03/notation-notation-notation.html' title='Notation, notation, notation'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-8450158734658875560</id><published>2007-03-02T06:49:00.000-08:00</published><updated>2007-03-02T07:12:20.391-08:00</updated><title type='text'>Degrees of freedom and cowboy econometrics</title><content type='html'>In the glossary at the end of his “A Guide to Econometrics” text  (Fifth Edition, 2003, p 545) Peter Kennedy defines degrees of freedom as “..the number of free or linearly independent sample observations used in the calculation of a statistic”.  In regression models we often see the number of degrees of freedom defined as “the number of observations minus the number of parameters to be estimated” –  so for simple bivariate regression models that means n-2 (there are two parameters here: one fixing the slope of the line relating the variables and one fixing the intercept on the vertical axis).&lt;br /&gt;&lt;br /&gt;Take an extreme case where you only have two observations on (X,Y). You have no freedom in fitting the line at all as there is only one line that can be chosen to connect the two points (see &lt;A HREF="http://userweb.port.ac.uk/~judgeg/INEMET/U13783/blogfigs/fig1.JPG"&gt;Figure 1&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;Anybody undertaking any serious applied work would be advised to ensure that they have a great many more observations than 2. Not only do these extra observations provide some freedom in estimating the equation of the line, they also ensure that the 95% confidence intervals for the parameters are not too wide. The confidence interval will be the point estimate plus or minus the product of the standard error of the parameter estimate and the t-value leaving two and a half percent of the distribution in each tail (where we look up t with the appropriate number of degrees of freedom). A glance at the t-tables shows that the t-values fall as the number of degrees of freedom increase. For example t(0.025;10) = 2.228  while t(0.025;60) = 2.&lt;br /&gt;&lt;br /&gt;When assessing the statistical significance of a variable in a regression (or more correctly of its accompanying parameter) the calculated t value must be compared with the critical value from the tables.   So for example if the calculated t-value was say 3.5 then we would be able to reject the null hypothesis that the parameter is zero and accept the alternative hypothesis. [If we have a strong &lt;span style="font-style:italic;"&gt;a priori&lt;/span&gt; view about the sign of the parameter, as predicted by theory, we might use a one-tailed test which would put all the 5% significance level area into one tail and thus pick out a smaller critical value that has to be exceeded for the decision to be taken to reject the null.] Your computer software might also produce a figure for the P-value or probability value linked to the calculated statistic. This measures the area beyond the calculated value, in the tail(s). This provides an alternative way for you to decide whether to reject the null or not. You simply compare the P-value with 0.05 (i.e. 5%). If the P-value is &lt; 0.05 then you can reject the null.&lt;br /&gt;&lt;br /&gt;When I was student the computer software was not that sophisticated and you definitely had to use the t-tables. A friend of mine on the same course never had his tables with him when he was doing the practical exercises set by the lecturer and was &lt;br /&gt;famous for saying “Just check if its bigger than 2”. His reasoning was that whatever degrees of freedom might be appropriate, the t-value you got from the table was always approximately 2. See the examples I mentioned above and also &lt;A HREF="http://userweb.port.ac.uk/~judgeg/INEMET/U13783/blogfigs/fig2.JPG"&gt;Figure 2&lt;/A&gt; which shows the tabulated t-values at 5% and 2½% for various degrees of freedom.&lt;br /&gt;&lt;br /&gt;Of course if you do this you will be slightly misrepresenting the actual significance level of the test. I called my friend’s approach to the subject “cowboy econometrics” (an analogy with “cowboy builders” like the ones who worked on my house and didn’t properly measure the doors they were fitting. They shut OK but they don’t fit snugly so I get a draft under the gap at the bottom).&lt;br /&gt;&lt;br /&gt;These days there really is no excuse not to do the tests properly. And there are also some very nice online Java applets that will calculate either the probability value to go with any t-value (for a given number of degrees of freedom) or the t-value to go with a specified P-value.  See for example the one produced by R Webster West of the Department of Statistics at the Texas A&amp;M University, from which I have taken the following screen grab – &lt;A HREF="http://userweb.port.ac.uk/~judgeg/INEMET/U13783/blogfigs/fig3.JPG"&gt;Figure 3&lt;/a&gt;. Screen grab of the &lt;A HREF="http://www.stat.tamu.edu/~west/applets/tdemo.html"&gt;t-distribution applet graphic&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;So it turns out that they are not all cowboys in Texas!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-8450158734658875560?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/8450158734658875560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=8450158734658875560' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/8450158734658875560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/8450158734658875560'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2007/03/degrees-of-freedom-and-cowboy.html' title='Degrees of freedom and cowboy econometrics'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-3937980330442134760</id><published>2007-02-26T08:52:00.000-08:00</published><updated>2007-02-26T09:06:30.266-08:00</updated><title type='text'>Guinness is good for you!</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;Students taking my course on Introductory Econometrics probably won’t recognise this slogan but it was to be found on all bottles of Guinness when I was a student first studying econometrics at the end of the nineteen-sixties.&lt;span style=""&gt;  &lt;/span&gt;Actually there is a connection between Guinness and econometrics and an interesting story to go with it.&lt;/p&gt;   &lt;p class="MsoNormal"&gt;The link is Student’s t-distribution and its originator Mr W S Gosset who worked as a chemist and mathematician for the Guinness brewery a century ago.&lt;/p&gt;     &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;In econometrics we regularly use the t-distribution to assess the significance of individual regression coefficients or to compute confidence intervals based on our sample estimates.&lt;span style=""&gt;  &lt;/span&gt;We divide the coefficient estimate by its standard error and then check whether this calculated value exceeds (in absolute value) the relevant critical t value from the tables (based on the available degrees of freedom and the agreed significance level for the test – usually 5%).&lt;span style=""&gt;  &lt;/span&gt;To get a 95% confidence interval for a parameter we take the point estimate plus or minus the estimated standard error multiplied by the appropriate t-value from the table with 0.025 in each tail.&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;As you may know the t-distribution is rather like the normal distribution in that it is symmetrical around its mean and with most of the values falling quite close to the mean with only a small amount of the area out in the extreme tails.&lt;span style=""&gt;  &lt;/span&gt;Actually the tails are a bit “fatter” than those of the normal distribution, so if you were to use the normal distribution critical values of + and – 1.96 to separate extreme values in the tails from those in the middle of the distribution you would be slightly out in your assessment of the significance level of your hypothesis test or in setting 95% confidence limits for parameter estimates.&lt;span style=""&gt;  &lt;/span&gt;However, as you perhaps also know the exact t-values depend also on the number of degrees of freedom available to you in estimating the parameter(s) and the t-distribution does approach the normal distribution as the number of degrees of freedom increases – so with a big enough sample size it perhaps wouldn’t make much difference.&lt;span style=""&gt;  &lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Where does this t-distribution come from and why is it important?&lt;span style=""&gt;  &lt;/span&gt;Let’s suppose first of all that a factory production line is filling bottles with an amount of liquid (Guinness maybe!) supposed to be 1 pint.&lt;span style=""&gt;  &lt;/span&gt;Now it is not really possible for the technology to guarantee an exact amount of 1 pint each time – in reality the quantity dispensed will be a random variable which sometimes puts a bit more than a pint into a bottle and sometimes a bit less. It may be OK to assume that this random variable has a constant mean and variance, and even that the distribution is normal.&lt;span style=""&gt;  &lt;/span&gt;In that case, if these two parameters were known in advance it would be possible to set up the machinery in such a way that we could ensure that say 95% of the time there would be at least 1 pint in each bottle.&lt;span style=""&gt;  &lt;/span&gt;The mean amount dispensed would have to exceed 1 pint, the gap between this figure and 1 (pint) obviously being smaller the lower is the variance of the distribution of liquid dispensed.&lt;span style=""&gt;  &lt;/span&gt;The problem is that in most cases we won’t be able to know either the mean value of the distribution or its variance in advance.&lt;span style=""&gt;  &lt;/span&gt;We will have to take a sample of values and use the sample mean to estimate the population mean, and then base our estimate of the population standard deviation on the standard deviation of our sample. (Actually the estimate of the standard deviation of the sampling distribution of the mean – called the standard error – will be the sample standard deviation divided by the square root of the sample size; see any basic statistics text).&lt;span style=""&gt;  &lt;/span&gt;In a situation like this it is quite likely that the sample size that we work with will be small. After all if we have to remove a number of bottles of liquid from the production line in order to measure how much liquid is in it, that bottle and its contents cannot be sold.&lt;span style=""&gt;  &lt;/span&gt;Taking a large sample would just be too costly.&lt;span style=""&gt;  &lt;/span&gt;Fortunately Gosset discovered how the sampling distribution would be affected by having to use an estimate of its variance from a small sample rather than working with the known population value or an estimate based on a very large sample.&lt;span style=""&gt;  &lt;/span&gt;This distribution has now come to be known as the t-distribution, or more formally, Student’s t-distribution.&lt;span style=""&gt;  &lt;/span&gt;It is worth noting that Gosset had no computers to help him undertake the necessary simulations to arrive at his result. All his calculations had to be done by hand. &lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;Having completed this work Gosset naturally wanted to share his findings with other members of the statistics community through the usual method of a published journal article.&lt;span style=""&gt;  &lt;/span&gt;However his employers at Guinness were not at all keen on this and he had to resort to the ruse of publishing under the pseudonym A. Student. Hence “Student’s” t –distribution. (Actually he didn’t originally call the distribution the t-distribution. It was his fellow statistician Fisher who gave it this name.)&lt;/p&gt;     &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;You can read the original paper online if you wish at &lt;br /&gt;&lt;a href="http://www.york.ac.uk/depts/maths/histstat/student.pdf"&gt; Student [W S Gosset] (1908)The probable error of a mean. Biometrika, (1): 1–25&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;And you can read more on William Sealy Gosset and his work for Guinness (as well as other leading statisticians of the early days such as Fisher, Pearson and others) in a fascinating book called &lt;a href="http://www.holtzbrinckpublishers.com/academic/book/BookDisplay.asp?BookKey=550446"&gt;The Lady Tasting Tea&lt;/a&gt; by David Salsburg.&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-3937980330442134760?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/3937980330442134760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=3937980330442134760' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/3937980330442134760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/3937980330442134760'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2007/02/guinness-is-good-for-you.html' title='Guinness is good for you!'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-3941682673863402954</id><published>2007-02-16T04:21:00.000-08:00</published><updated>2007-02-16T04:45:04.633-08:00</updated><title type='text'>Why least squares?</title><content type='html'>&lt;o:p&gt;&lt;/o:p&gt;Introductory courses in econometrics quickly tell students about the use of the least squares criterion in estimating regression equation parameters.&lt;span style=""&gt;  &lt;/span&gt;The difference&lt;span style=""&gt;  &lt;/span&gt;between an actual value of the dependent variable Y and its fitted value Yhat is called the residual.&lt;span style=""&gt;  &lt;/span&gt;Least squares estimators are produced in such a way as to minimise the sum of the squares of these residuals (RSS = Residual Sum of Squares). &lt;p class="MsoNormal"&gt;Most students will accept that the slope and intercept of a fitted regression line need to be found by some kind of objective method. It is not very reliable just to put down a ruler and draw in the line that seems to give a good fit balancing in some way positive and negative errors.&lt;span style=""&gt;  &lt;/span&gt;But why minimise the sum of the squares?&lt;span style=""&gt;  &lt;/span&gt;There are other possible objective criteria that could be used. For example why not just minimise the sum of the absolute deviations of the actual points from the fitted line? (It is easy enough to show that you couldn’t choose values to minimise the simple sum of the deviations because the positive and negative errors would just cancel each other out so you wouldn’t be able to get a solution this way).&lt;span style=""&gt;  &lt;/span&gt;&lt;/p&gt;     &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;Minimising the squared deviations will apply a greater penalty to points that lie further away from the fitted regression line than if we worked only with the absolute distances of the points from the line.&lt;span style=""&gt;  &lt;/span&gt;It is sometimes argued that this is a desirable feature of the estimation technique.&lt;span style=""&gt;  &lt;/span&gt;In some sense the residual that you get is an estimate of the disturbance for that observation so you might alternatively ask why a-typical observations with apparent big disturbances should be given extra importance. As Peter Kennedy points out in his book &lt;a href="http://www.blackwellpublishing.com/book.asp?ref=9781405115018"&gt;A Guide to Econometrics&lt;/a&gt; ( page 12), even if you use the squared deviations rather than the absolute deviations as a way of getting over the problem of positive and negative errors cancelling out you don’t have to give each of these squared deviations equal weight. Indeed as you will find out later in your studies there may be occasions where it is better to use Weighted Least Squares rather than Ordinary Least Squares as the criterion for determining your estimator.&lt;/p&gt;     &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;Of course one advantage of least squares estimators is that they are computationally straightforward.&lt;span style=""&gt;  &lt;/span&gt;The result of applying the criterion using basic methods of calculus is a simple formula for each regression coefficient in terms of the X and Y data (or more accurately their sums, sums of squares and sums of cross-products).&lt;span style=""&gt;  &lt;/span&gt;Other estimation techniques might require iterative procedures to arrive at an estimate. Although that would be less of a worry in modern times given the advances in computer power, conceptually it seems attractive to have a formula that can always be used.&lt;/p&gt;     &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;Least squares estimation might also seem to have a “natural” justification as &lt;a href="http://www.marco-learningsystems.com/pages/sawyer/work.htm"&gt;W W Sawyer&lt;/a&gt; suggested in his wonderful little book &lt;i&gt;The Search for Pattern&lt;/i&gt; (published by Penguin Books in 1970 as part of a series called Introducing Mathematics but now unfortunately out of print).&lt;span style=""&gt;  &lt;/span&gt;In part of &lt;span style=""&gt; &lt;/span&gt;the chapter on algebra and statistics (pp312-313) he described a mechanical device that could provide a visual confirmation of the least squares criterion.&lt;span style=""&gt;  &lt;/span&gt;The device consists of a solid piece of wood with nails or screws inserted at places supposed to correspond with the XY values on a graph.&lt;span style=""&gt;  &lt;/span&gt;Sawyer suggested that a steel rod could be used for the line and the nails could be connected to the steel rod by elastic bands.&lt;span style=""&gt;  &lt;/span&gt;To quote what he said “Things must be arranged in such a way that, if the rod actually passed through one of the points, that point’s band would ‘feel satisfied’ – there would be no tension in it. But the further away the rod is the greater the tension in the band must be; in fact the tension must be proportional to the amount by which the rod misses the point. Things must be so arranged that the bands are compelled to remain upright, as shown in the &lt;a href="http://userweb.port.ac.uk/%7Ejudgeg/INEMET/U13783/sawyer.GIF"&gt;figure&lt;/a&gt;. Each band then is doing its best for the point to which it belongs, and under all these conflicting pulls the rod would eventually come to rest in a position which represented a fair compromise.”&lt;/p&gt;     &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;I well remember constructing a device of this kind when with great excitement I first began teaching econometrics back in the 1970s. I even painted on the fitted least squares line on the wood so that students could see the rod settling exactly where the line was.&lt;span style=""&gt;  &lt;/span&gt;Everything worked perfectly with the first group that I used it with but later in the week I guess the elastic bands must have weakened and, just after I had held the board aloft with the metal rod sitting perfectly in place, one of the elastic bands snapped and the rod was fired across the room narrowly missing one of the students.&lt;span style=""&gt;  &lt;/span&gt;So my experiment with a physical representation of the least squares line was short-lived.&lt;span style=""&gt;  &lt;/span&gt;Looking back at Sawyer’s book now I see that he does say that “the device may not be too easy to set up in actual practice”, a phrase that I must have missed in my enthusiasm at the time.&lt;/p&gt;     &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;Another justification for using OLS that I remember from my own student days was that, despite its alleged limitations it was quite robust to departures from its underlying assumptions.&lt;span style=""&gt;  &lt;/span&gt;Thus, while it might be better to make use of a more complex estimation technique to overcome problems of heteroskedasticity or autocorrelation, those techniques actually require you to have a good idea of the form of autocorrelation or heteroskedasticty that you were going to allow for – something that you might not have. I remember my tutor at the time, Farouk El Sheikh (sadly now no longer with us) setting us an essay question “’In the country of the blind the one eyed-man is king’. Discuss in relation to the use of OLS and other estimation techniques.”&lt;span style=""&gt;  &lt;/span&gt;However he was somewhat taken aback by my answer, which pointed out that in H G Wells' short story, The Country of the Blind, the fully blind inhabitants of the remote South American country&lt;span style=""&gt;  &lt;/span&gt;eventually decided that the one-eyed man &lt;span style=""&gt; &lt;/span&gt;was insane because of the visions that he kept talking about, and so decided that he must be operated on to make him ‘normal’.&lt;/p&gt;     &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;Perhaps sometimes visual and literary allusions in econometrics can be taken too far!&lt;/p&gt;     &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-3941682673863402954?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/3941682673863402954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=3941682673863402954' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/3941682673863402954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/3941682673863402954'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2007/02/why-least-squares.html' title='Why least squares?'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-38874208.post-117129761297236581</id><published>2007-02-12T08:25:00.000-08:00</published><updated>2007-02-12T08:26:52.986-08:00</updated><title type='text'>Nothing to prove *</title><content type='html'>I don’t really go in much for proofs in my &lt;A HREF="http://userweb.port.ac.uk/~judgeg/INEMET/U13783/"&gt;Introduction to Econometrics (INEMET)&lt;/a&gt; course. &lt;br /&gt;&lt;br /&gt;That doesn’t mean that proofs aren’t important in econometrics. Without a proof how could we be sure that the least squares estimators are unbiased, given the classical assumptions, or that omitting a relevant explanatory variable from a model will not only cause bias in the estimation of the coefficients of the other variables but will also affect their standard errors and t-values.   &lt;br /&gt;&lt;br /&gt;Certainly anyone who wishes to pursue the study of econometrics beyond an introductory course will need to become familiar with proofs of these and other important propositions found in the textbooks.  But beginners can be overwhelmed by all the technical stuff (as I can still remember from my own initial exposure to the subject back in the late 1960s!).  It is more important for students who are just beginning their study of econometrics to get a good intuitive feel for the subject, its scope and methodology, than to grapple with formal proofs. So in this respect I go along completely with Christopher Dougherty, who says in the preface to his book Introduction to Econometrics (Third Edition) p vi &lt;I&gt;“For nearly everyone, there is a limit to the rate at which formal mathematical analysis can be digested. If this limit is exceeded, the student spends much mental energy grappling with the technicalities rather than the substance, impeding the development of a unified understanding of the subject.”&lt;/I&gt;&lt;br /&gt;&lt;br /&gt;That doesn’t mean that students have to just accept a whole set of results without any attempt being made to justify them. In a number of cases a convincing intuitive argument can be provided for the propositions in question, without the need to resort to a proof.  Or alternatively a simple quantitative example can be used to support the argument.&lt;br /&gt;&lt;br /&gt;Take the case of the formula for the standard error of the X coefficient in the simple linear regression model.   As Dougherty shows mathematically (!) on page 83 of his book the theoretical variance of the X coefficient is the variance of the disturbance term divide by the sum of squares of the deviations of the X variable from its sample mean. We can calculate the latter but we have to estimate the former as we don’t observed the actual disturbances.  The square root of this estimate of the variance is then the standard error that we use for the t-test and for computing confidence intervals for the parameter.   &lt;br /&gt;&lt;br /&gt;In my lectures I have tried to convince students of the result by using a simple spreadsheet (Excel) demonstration which amounts to a simple Monte Carlo experiment.  I begin by setting up an assumed model with known intercept and slope parameters – say Y =  2 + 0.8X + u.&lt;br /&gt;&lt;br /&gt;Next I create a sample of fixed X values in the spreadsheet.  I usually centre the values on a mean of 100 and have maybe 12 values either side of that (so X runs from 88 to 112).   Then I use the random number generator to create a large number of sets (say 500) of 25 values of u, initially making u ~ N(0,1).   From this I can create 500 sets of Y values to go with the Xs. Now I can run regressions based on these 500 data sets and collect the 500 estimates of the slope coefficient. (You might prefer to set this up as a batch job in EViews or some other specialist econometric software packages if you wish).  After that, plot a histogram of the beta hat values, as well as calculating the mean and standard deviation of the 500 values. (An interesting discussion point is whether you should use 0 or the mean of the 500 beta hat values in this calculation).   Compare these values with those predicted by the theory for the sampling distribution of beta hat.  &lt;br /&gt;&lt;br /&gt;Now you can repeat the process, varying first the variance of u (maybe make it smaller than 1 – say 0.5). You should see immediately that the variance of the beta hat estimates falls proportionately.&lt;br /&gt;&lt;br /&gt;Then you can illustrate the effect of more spread out values of the Xs.  Multiply each of them by 10 and recalculate all of the Y values (go back to the original standard normal distribution for u). Rerun the regressions and compare the distribution of the beta hat values.  The standard deviation should be one tenth of what it was initially.  &lt;br /&gt;&lt;br /&gt;If all this takes too much time to do this interactively you could prepare everything in advance.  &lt;br /&gt;&lt;br /&gt;Another advantage of this exercise is that it introduces students to the idea of Monte Carlo studies and computer simulation at an early stage.&lt;br /&gt;&lt;br /&gt;&lt;B&gt;References&lt;/B&gt;&lt;br /&gt;[1] &lt;A HREF="http://www.oup.com/uk/catalogue/?ci=9780199280964"&gt;Dougherty, C &lt;/a&gt; (2006)Introduction to Econometrics. (Third Edition), Oxford University Press. &lt;br /&gt;[2] &lt;A HREF="http://www.economicsnetwork.ac.uk/cheer/ch13_2/ch13_2p12.htm"&gt;Judge, G &lt;/a&gt;(1999) Simple Monte Carlo studies on a spreadsheet CHEER Volume 13, 2. &lt;br /&gt;&lt;br /&gt;*  The phrase "Nothing to prove" is one that I always associate with the Sunderland striker David Connolly. He began his career at Watford, averaging a goal in every two games, before he left for a spell at the Dutch side Feyenoord. A bit of a flop in Holland he returned to England to play for Wimbledon declaring that he had "nothing to prove". This caused some amusement among Watford supporters who think of him as rather arrogant and used to label him W4BS (Watford's 4th Best Striker).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/38874208-117129761297236581?l=econometricsstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://econometricsstuff.blogspot.com/feeds/117129761297236581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=38874208&amp;postID=117129761297236581' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/117129761297236581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/38874208/posts/default/117129761297236581'/><link rel='alternate' type='text/html' href='http://econometricsstuff.blogspot.com/2007/02/nothing-to-prove.html' title='Nothing to prove *'/><author><name>Guy</name><uri>http://www.blogger.com/profile/15020342031246910890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_-EF3Vnlk_wA/SberALKCI6I/AAAAAAAAABo/heFYnxriyDs/S220/judge.JPG'/></author><thr:total>0</thr:total></entry></feed>
