Archives
Categories
Afghanistan and Central Asia
Anticontrarianism Bayes, Anti-Bayes Biology Complexity Corrupting the Young Creationism Cthulhiana Dialogues Enigmas of Chance Food Friday Cat Blogging Heard About Pittsburgh, PA Incestuous Amplification IQ Islam Learned Folly Linkage Mathematics Minds, Brains, and Neurons Modest Proposals Networks Philosophy Physics Pleasures of Detection, Portraits of Crime Postcards Power Laws Psychoceramica Scientifiction and Fantastica Self-Centered The Beloved Republic The Collective Use and Evolution of Concepts The Commonwealth of Letters The Continuing Crises The Dismal Science The Eternal Silence of These Infinite Spaces The Great Transformation The Natural Science of the Human Species The Progressive Forces The Running-Dogs of Reaction Writing for Antiquity
Self-Centered
Personal homepage
Professorial homepage News and Blogroll Research Notebooks My books (LibraryThing) Buy me more books! (wishlist) pinboard (bookmarks) tumblr (images) flickr (snapshots) dopplr (travel)
Books to Read While the Algae Grow in Your Fur
Books (etc.) I've read this month and
feel I can recommend (warning: I have no taste)
|
February 07, 2012It's Not the Heat that Gets to You, It's the Sustained Conjunction of Heat with Elevated Levels of Atmospheric Pollutants (Advanced Data Analysis from an Elementary Point of View)
In which spline regression becomes a matter of life and death in Chicago. Posted by crshalizi at February 07, 2012 10:31 | permanent link
Splines (Advanced Data Analysis from an Elementary Point of View)
Kernel regression controls the amount of smoothing indirectly by bandwidth; why not control the irregularity of the smoothed curve directly? The spline smoothing problem is a penalized least squares problem: minimize mean squared error, plus a penalty term proportional to average curvature of the function over space. The solution is always a continuous piecewise cubic polynomial, with continuous first and second derivatives. Altering the strength of the penalty moves along a bias-variance trade-off, from pure OLS at one extreme to pure interpolation at the other; changing the strength of the penalty is equivalent to minimizing the mean squared error under a constraint on the average curvature. To ensure consistency, the penalty/constraint should weaken as the data grows; the appropriate size is selected by cross-validation. An example with the data, including confidence bands. Writing splines as basis functions, and fitting as least squares on transformations of the data, plus a regularization term. A brief look at splines in multiple dimensions. Splines versus kernel regression. Reading: Notes, chapter 7; Faraway, section 11.2. Posted by crshalizi at February 07, 2012 10:30 | permanent link
February 02, 2012Heteroskedasticity, Weighted Least Squares, and Variance Estimation (Advanced Data Analysis from an Elementary Point of View)
Weighted least squares estimates. Heteroskedasticity and the problems it causes for inference. How weighted least squares gets around the problems of heteroskedasticity, if we know the variance function. Estimating the variance function from regression residuals. An iterative method for estimating the regression function and the variance function together. Locally constant and locally linear modeling. Lowess. Reading: Notes, chapter 6; Faraway, section 11.3. Posted by crshalizi at February 02, 2012 10:30 | permanent link
January 31, 2012Books to Read While the Algae Grow in Your Fur, January 2012Attention conservation notice: I have no taste.
Posted by crshalizi at January 31, 2012 23:59 | permanent link
How the Hyracotherium Got Its Mass (Advanced Data Analysis from an Elementary Point of View)
In which we consider evolutionary trends in body size, aided by regression modeling and the bootstrap. Posted by crshalizi at January 31, 2012 19:11 | permanent link
The Bootstrap (Advanced Data Analysis from an Elementary Point of View)
Quantifying uncertainty by looking at sampling distributions. The bootstrap principle: sampling distributions under a good estimate of the truth are close to the true sampling distributions. Parametric bootstrapping. Non-parametric bootstrapping. Many examples. When does the bootstrap fail? Reading: Notes, chapter 5 (R for figures and examples; pareto.R; wealth.dat)<; R for in-class examples Posted by crshalizi at January 31, 2012 19:10 | permanent link
You think you want big data? You can't handle big data! (Next Week at the Statistics Seminar)
Fortunately, however, the methods of those who can handle big data are neither grotesque nor incomprehensible, and we will hear about them on Monday.
As always, the talk is free and open to the public. Posted by crshalizi at January 31, 2012 19:00 | permanent link
"The Cut and Paste Process" (This Week at the Statistics Seminar)
Attention conservation notice: Only of interest if you (1) care about combinatorial stochastic processes and their statistical applications, and (2) will be in Pittsburgh on Wednesday afternoon. It is only in very special weeks, when we have been very good, that we get two seminars.
As always, the talk is free and open to the public. Posted by crshalizi at January 31, 2012 18:45 | permanent link
January 28, 2012Scientific Community to Elsevier: Drop Dead
Attention conservation notice: Associate editor at a non-profit scientific journal endorses a call for boycotting a for-profit scientific journal publisher. I have for years been refusing to publish in or referee for journals publisher by Elsevier; pretty much all of the commercial journal publishers are bad deals1, but they are outrageously worse than most. Since learning that Elsevier had a business line in putting out publications designed to look like peer-reviewed journals, and calling themselves journals, but actually full of paid-for BS, I have had a form letter I use for declining requests to referee, letting editors know about this, and inviting them to switch to a publisher which doesn't deliberately seek to profit by corrupting the process of scientific communication. I am thus extremely happy to learn from Michael Nielsen that Tim Gowers is organizing a general boycott of Elsevier, asking people to pledge not to contribute to its journals, referee for them, or do editorial work for them. You can sign up here, and I strongly encourage you to do so. There are fields where Elsevier does publish the leading journals, and where this sort of boycott would be rather more personally costly than it is in statistics, but there is precedent for fixing that. Once again, I strongly encourage readers in academia to join this. (To head off the inevitable mis-understandings, I am not, today, calling for getting rid of journals as we know them. I am saying that Elsevier is ripping us off outrageously, that conventional journals can be published without ripping us off, and so we should not help Elsevier to rip us off.) Disclaimer, added 29 January: As I should have thought went without saying, I am speaking purely for myself here, and not with any kind of institutional voice. In particular, I am not speaking for the Annals of Applied Statistics, or for the IMS, which publishes it. (Though if the IMS asked its members to join in boycotting Elsevier, I would be very happy.) 1: Let's review how scientific journals work, shall we? Scientists are not paid by journals to write papers: we do that as volunteer work, or more exactly, part of the money we get for teaching and from research grants is supposed to pay for us to write papers. (We all have day-jobs.) Journals are edited by scientists, who volunteer for this and get nothing from the publisher. (New editors get recruited by old editors.) Editors ask other scientists to referee the submissions; the referees are volunteers, and get nothing from the publisher (or editor). Accepted papers are typeset by the authors, who usually have to provide "camera-ready" copy. The journal publisher typically provides an electronic system for keeping track of submitted manuscripts and the refereeing process. Some of them also provide a minimal amount of copy-editing on accepted papers, of dubious value. Finally, the publisher actually prints the journal, and runs the server distributing the electronic version of the paper, which is how, in this day and age, most scientists read it. While the publisher's contribution isn't nothing, it's also completely out of proportion to the fees they charge, let alone economically efficient pricing. The whole thing would grind to a halt without the work done by scientists, as authors, editors and referees. That work, to repeat, is paid for either by our students or by our grants, not by the publisher. This makes the whole system of for-profit journal publication economically insane, a check on the dissemination of knowledge which does nothing to encourage its creation. Elsevier is simply one of the worst of these parasites. Manual trackback: Cosmic Variance; Open A Vein; AgroEcoPeople Posted by crshalizi at January 28, 2012 11:15 | permanent link
January 27, 2012Changing How Changes Change (Next Week at the Statistics Seminar)
Attention conservation notice: Only of interest if you (1) care about covariance matrices and (2) will be in Pittsburgh on Monday. Since so much of multivariate statistics depends on patterns of correlation among variables, it is a bit awkward to have to admit that in lots of practical contexts, correlations matrices are just not very stable, and can change quite drastically. (Some people pay a lot to rediscover this.) It turns out that there are more constructive responses to this situation than throwing up one's hands and saying "that sucks", and on Monday a friend of the department and general brilliant-type-person will be kind enough to tell us about them:
As always, the talk is free and open to the public. Posted by crshalizi at January 27, 2012 14:25 | permanent link
January 26, 2012Smoothing Methods in Regression (Advanced Data Analysis from an Elementary Point of View)
The constructive alternative to complaining about linear regression is non-parametric regression. There are many ways to do this, but we will focus on the conceptually simplest one, which is smoothing; especially kernel smoothing. All smoothers involve local averaging of the training data. The bias-variance trade-off tells us that there is an optimal amount of smoothing, which depends both on how rough the true regression curve is, and on how much data we have; we should smooth less as we get more information about the true curve. Knowing the truly optimal amount of smoothing is impossible, but we can use cross-validation to select a good degree of smoothing, and adapt to the unknown roughness of the true curve. Detailed examples. Analysis o how quickly kernel regression converges on the truth. Using smoothing to automatically discover interactions. Plots to help interpret multivariate smoothing results. Average predictive comparisons. Readings: Notes, chapter 4 (R); Faraway, section 11.1 Optional readings: Hayfield and Racine, "Nonparametric Econometrics: The np Package"; Gelman and Pardoe, "Average Predictive Comparisons for Models with Nonlinearity, Interactions, and Variance Components" [PDF] Posted by crshalizi at January 26, 2012 10:30 | permanent link
Advantages of Backwardness (Advanced Data Analysis from an Elementary Point of View)
In which we try to discern whether poor countries grow faster. Posted by crshalizi at January 26, 2012 09:30 | permanent link
January 24, 2012Model Evaluation: Error and Inference (Advanced Data Analysis from an Elementary Point of View)
Goals of statistical analysis: summaries, prediction, scientific inference. Evaluating predictions: in-sample error, generalization error; over-fitting. Cross-validation for estimating generalization error and for model selection. Justifying model-based inferences; Luther and Süleyman. Reading: Notes, chapter 3 (R for examples and figures). Posted by crshalizi at January 24, 2012 10:30 | permanent link
The Truth About Linear Regression (Advanced Data Analysis from an Elementary Point of View)
Multiple linear regression: general formula for the optimal linear predictor. Using Taylor's theorem to justify linear regression locally. Collinearity. Consistency of ordinary least squares estimates under weak conditions. Linear regression coefficients will change with the distribution of the input variables: examples. Why R2 is usually a distraction. Linear regression coefficients will change with the distribution of unobserved variables (omitted variable problems). Errors in variables. Transformations of inputs and of outputs. Utility of probabilistic assumptions; the importance of looking at the residuals. What "controlled for in a linear regression" really means. Reading: Notes, chapter 2 (R for examples and figures); Faraway, chapter 1 (continued). Posted by crshalizi at January 24, 2012 10:15 | permanent link
January 22, 2012Dungeons and Debtors
Attention conservation notice: A silly idea about gamifying credit cards, which would be evil if it worked. To make a profit in an otherwise competitive industry, it helps if you can impose switching costs on your customers, making them either pay to stop doing business with you, or give up something of value to them. There are whole books about this, written by respected economists1. This is why credit card companies are happy to offer rewards for use: accumulating points on a card, which would not move with you if you got a new card and transferred the balance, is an attempt to create switching costs. Unfortunately, from the point of view of the banks, people will redeem their points from time to time, so some money must be spent on the rewards. The ideal would be points which people would value but which would never cost the bank anything. Item: Computer games are, deliberately, addictive. Social games are especially addictive. Accordingly, if I were an evil and unscrupulous credit card company (but I repeat myself), I would create an online game, where people could get points either from playing the game, or from spending money with my credit card. For legal reasons, I think it would probably be best to allow the game to technically be open to everyone, but with a registration fee which is, naturally, waived for card-holders. Of course, the game software would be set up to announce on Facebook (etc.) whenever the player/debtor leveled up. I would also be tempted to award double points for fees, and triple for interest charges, but one could experiment with this. If they close their credit card account, they have to start the game over from the beginning. The fact that online acquaintances can't tell whether the debtor is advancing through spending or through game-play helps keep the reward points worth having. It's true that the credit card company has to pay for the game's design (a one-time start-up cost) and the game servers, but these are fairly cheap, and the bank never has to cash out points in actual dollars or goods. The debtors themselves do all the work of investing the points with meaning and value. They impose the switching costs on themselves. My plan is sheer elegance in its simplicity, and I will be speaking to an attorney about a business method patent first thing Monday. 1: Much can be learned about our benevolent new-media overlords from the fact that this book carries a blurb from Jeff Bezos of Amazon, and that Varian now works for Google. Posted by crshalizi at January 22, 2012 10:15 | permanent link
|