{"id":233,"date":"2009-11-30T23:54:22","date_gmt":"2009-12-01T07:54:22","guid":{"rendered":"http:\/\/www.deaneckles.com\/blog\/?p=233"},"modified":"2009-12-03T00:15:06","modified_gmt":"2009-12-03T08:15:06","slug":"search-terms-and-the-flu-preferring-complex-models","status":"publish","type":"post","link":"http:\/\/www.deaneckles.com\/blog\/233_search-terms-and-the-flu-preferring-complex-models\/","title":{"rendered":"Search terms and the flu: preferring complex models"},"content":{"rendered":"<p>Simplicity has its draws. A simple model of some phenomena can be quick to understand and test. But with the resources we have today for theory building and prediction, it is worth recognizing that many phenomena of interest (e.g., in social sciences, epidemiology) are very, very complex. Using a more complex model can help. <a href=\"http:\/\/www.stat.columbia.edu\/~cook\/movabletype\/archives\/2009\/07\/that_modeling_f.html\">It&#8217;s great to try many simple models along the way &#8212; as scaffolding &#8212; but if you have a large enough N in an observational study, a larger model will likely be an improvement.<\/a><\/p>\n<p>One obvious way a model gets more complex is by adding predictors. There has recently been a good deal of attention on using the frequency of search terms to predict important goings-on &#8212; like flu trends. Sharad Goel et al. (<a href=\"http:\/\/messymatters.com\/2009\/11\/30\/what-can-search-predict\/\">blog post<\/a>, <a href=\"http:\/\/www.cam.cornell.edu\/~sharad\/papers\/searchpreds.pdf\">paper<\/a>) temper the excitement a bit by demonstrating that simple models using other, existing public data sets outperform the search data. In some cases (music popularity, in particular), adding the search data to the model improves predictions: the more complex combined model can &#8220;explain&#8221; some of the variance not handled by the more basic non-search-data models.<\/p>\n<p><a href=\"http:\/\/messymatters.com\/2009\/11\/30\/what-can-search-predict\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" title=\"Model comparisons\" src=\"http:\/\/messymatters.com\/wp-content\/uploads\/2009\/11\/searchpreds.jpg\" alt=\"\" width=\"425\" height=\"250\" \/><\/a><\/p>\n<p>This echos one big takeaway from the Netflix Prize competition: committees win. The top competitors were all large teams formed from smaller teams and their models were tuned combinations of several models. That is, the strategy is, <em>take a bunch of complex models and combine them. <\/em><\/p>\n<p>One way of doing this is just taking a weighted average of the predictions of several simpler models. <a href=\"http:\/\/lingpipe-blog.com\/2009\/09\/29\/convexity-of-root-mean-square-error-or-why-committees-won-the-netflix-prize\/\">This works quite well when your measure of the value of your model is root mean squared error (RMSE), since RMSE is convex.<\/a><\/p>\n<p>While often the larger model &#8220;explains&#8221; more of the variance, what &#8220;explains&#8221; means here is just that the R-squared is larger: less of the variance is error. More complex models can be difficult to understand, just like the phenomena they model. We will continue to need better tools to understand, visualize, and evaluate our models as their complexity increases. I think the committee metaphor will be an interesting and practical one to apply in the many cases where the best we can do is use a weighted average of several simpler, pretty good models.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Simplicity has its draws. A simple model of some phenomena can be quick to understand and test. But with the resources we have today for theory building and prediction, it is worth recognizing that many phenomena of interest (e.g., in social sciences, epidemiology) are very, very complex. Using a more complex model can help. It&#8217;s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[44,37,67,26,34,13,75,41,76,22],"tags":[],"class_list":["post-233","post","type-post","status-publish","format-standard","hentry","category-communication","category-consumption","category-culture","category-data-collection","category-health","category-research-methods","category-search","category-sociology","category-statistics","category-surveillance"],"_links":{"self":[{"href":"http:\/\/www.deaneckles.com\/blog\/wp-json\/wp\/v2\/posts\/233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.deaneckles.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.deaneckles.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.deaneckles.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.deaneckles.com\/blog\/wp-json\/wp\/v2\/comments?post=233"}],"version-history":[{"count":13,"href":"http:\/\/www.deaneckles.com\/blog\/wp-json\/wp\/v2\/posts\/233\/revisions"}],"predecessor-version":[{"id":237,"href":"http:\/\/www.deaneckles.com\/blog\/wp-json\/wp\/v2\/posts\/233\/revisions\/237"}],"wp:attachment":[{"href":"http:\/\/www.deaneckles.com\/blog\/wp-json\/wp\/v2\/media?parent=233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.deaneckles.com\/blog\/wp-json\/wp\/v2\/categories?post=233"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.deaneckles.com\/blog\/wp-json\/wp\/v2\/tags?post=233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}