Tuesday, September 22, 2009

The Globe points a finger

First Simpson, now Wente: the Globe and Mail thinks it knows what's wrong with Canada's universities. The answer? Research! Oh, and also: overpaid professors.

So did you know that university research is holding Canada back? Simpson (emphasis added):
If big universities spent half as much time and sustained effort trying to improve undergraduate teaching as they do searching for more research money, they, the students and the country might be better off.

Or that sixty-hour weeks pounding out papers are just one big fat vacation? Wente (again, emphasis added):
But the full professors ... have a very pleasant life. They can make $125,000 a year, with a good pension and six months off each year to do as they please.

But economic data suggests that private industry is not ready to take over for my lazy six-months-off ass. According to Parliament's Standing Committee on Industry, Science, and Technology (link):
business R&D intensity (expenditure as a percentage of GDP) in Canada is lower than the OECD average, and that the business sector both funds and performs a lower percentage of total national R&D than does the business sector in other OECD countries.

What's more, Simpson knows this. Concerning the collapse of Nortel, he wrote in favor of government intervention:
Even in decline, Nortel continued to spend $1.8-billion a year on research, in a country starved for private-sector research.

So that's right, Mr. Simpson and Ms. Wente. In a country starved for private sector research, let's pretend that the really important thing is use universities as an extension of high school, whose job is largely to churn out B.A. and B.Sc. grads. Not at all to advance the economy into the 21st century with new ideas and new technologies, no sir! By the way, where are all those grads -- in a "better off" Canada -- going to work?

And the complaints about professors' pay -- both Simpson's and Wente's -- are just ridiculous. Even on their face, they are just out-of-context numbers. But in my own situation, according to this, the median salary for a PhD in electrical engineering with 1-4 years of experience is $88,647 (US) -- considerably more than I'm making. And anecdotally, my friends in industry seem to be making 10-20% more than me. So I would suggest that I'm a bargain.

Monday, September 21, 2009

Toronto versus New York

Toronto: Bike thief followed by earnest good Samaritan, who snaps an iPhone picture. Theft reported to police; to help find witnesses, photo posted to the internet.

New York: Bike thief gets ass beat by enraged bike owner and friends. Ass beaters, proud of themselves, record the beating; video posted to the internet.

(Tip of the hat to commenter tapesonthefloor at Torontoist.)

Tuesday, September 15, 2009

Trace Tricks

The trace of a square matrix is the sum of the elements on the main diagonal. That is, for an n by n square matrix A, the trace of A is

This might not seem too exciting at first. However, the trace operator has a neat quasi-commutative property: for matrices U and V, so long as the internal dimensions work out, it is true that



The proof isn't too hard so I'll skip it. If we had a third matrix W (again assuming the internal dimensions work out), since matrix multiplication is associative, it is also true that



It's not truly commutative, since you can only do cyclic shifts of the arguments. So, e.g., tr(UVW) is not equal to tr(WVU) in general.

What can you do with this? For one thing, note that the trace of a scalar a is itself: tr(a) = a. So if you have a matrix multiplication that results in a scalar, you can use trace to rearrange the arguments.

For instance, let U be a 1 by n row vector, and let V be an n by n matrix. If U' is the transpose of U, then UVU' is a scalar. This kind of expression comes up pretty often in jointly Gaussian distributions.

Now say U is a zero-mean vector with covariance matrix E[U'U], and I want to know E[UVU']. Using the trace trick, I can express this expectation in terms of E[U'U]: first, we can write



and since expectation distributes over the trace sum, we have



As a result, if you know the covariance E[U'U], there's no need to recalculate any expectations.

Tuesday, August 25, 2009

Business donuts are strictly ornamental

Last time I was down at U of T, their career center had a book posted in its window, entitled Don't take the last donut: New rules of business etiquette.

Let's take the title advice seriously: as a matter of business etiquette, don't take the last donut. Why? Obviously, because it's impolite to deprive someone else of the option to have a donut.

Now assume that everyone is polite, and suppose there are two donuts left. What if you take the second-to-last donut? It's impolite for anyone else to take the last donut, so since everyone is polite (by assumption), your action deprives everyone else of a donut. Thus, it must be as impolite to take the second-to-last donut as it is to take the last one. We can make a similar case for the third-to-last and fourth-to-last donut.

Indeed, by the same argument, we can construct an inductive case: assuming it is impolite to take the nth-to-last donut (for any n >= 1), and there are (n+1) donuts available, then it must be equally impolite to take the (n+1)th-to-last donut, because nobody can (politely) take a subsequent donut.

Thus, by induction, for any integer n > 0, it is impolite to take the nth-to-last donut. Thus, business donuts are strictly ornamental and it is impolite to ever eat them. QED.

Tuesday, August 11, 2009

PLoS One: Publish in good journals, reject more papers

A neat article in PLoS One about peer review: it turns out that your rejection rate as a reviewer is related more to where you publish than your experience as a researcher. And if you publish in higher-quality journals, you're likely to reject more papers.

There are lots of ways to analyze and criticize this result, but here's my take. If you generally publish in higher quality journals, you will be doing most of your reviewing for higher-quality journals, which are more selective.

As I mentioned, the authors didn't find a relationship between experience and rejection rate, but I thought this figure was interesting: early researchers are clustered around the same "rejection intensity", while later ones tend to be spread out between much more stringent and much easier.

Tuesday, August 4, 2009

Shameless self promotion: Transactions on Info Theory Edition

My recent paper in the Transactions:

A. W. Eckford, “Ordering finite-state Markov channels by mutual information,” IEEE Trans. Inform. Theory, vol. 55, no. 7, pp. 3081-3086, Jul. 2009. [PDF]

In a Markov channel, the channel parameter is selected by the state of a hidden Markov chain -- the most famous example is the Gilbert-Elliott channel, in which a channel use might see a "good" state with low crossover probability, or a "bad" state with high crossover probability.

In Gaussian noise, channels are ordered with respect to SNR -- we know that a channel with smaller SNR has smaller capacity. In this paper, I'm trying to find a similar ordering for Markov channels: the "degraded family" of a "parent" channel, where all channels in the family have smaller capacity than the parent.