# Blog Archives

## Build a search engine in 20 minutes or less

March 27, 2013
By

…or your money back.

author = "Ben Ogorek"Twitter = "@baogorek"email = paste0(sub("@", "", Twitter), "@gmail.com")

## Setup

Pretend this is Big Data:

doc1 <- "Stray cats are running all over the place. I see 10 a day!"doc2 <- "Cats are killers. They...Read more »
 
 A simple web application using Rook December 21, 2012By Ben Ogorek by Ben Ogorek I'm grateful to Rook for helping me, a simple statistician, learn a few fundamentals of web technology. For R web application development, there are increasingly polished methods available (most notably Shiny ), but you can build one...Read more » Hierarchical linear models and lmer October 31, 2012By Ben Ogorek Hierarchical linear models and lmer Article by Ben Ogorek Graphics by Bob Forrest Background My last article featured linear models with random slopes. For estimation and prediction, we used the lmer function from the lme4 package. Today we'll consider another level in the hierarchy, one...Read more » Random regression coefficients using lme4 June 11, 2012By Ben Ogorek What's the gain over lm()?By Ben OgorekRandom effects models have always intrigued me. They offer the flexibility of many parameters under a single unified, cohesive and parsimonious system. But with the growing size of data sets and increased ability to estimate many parameters with a high level of accuracy, will the subtleties of the random effects analysis be lost? In this...Read more » The lm() function with categorical predictors April 8, 2012By Ben Ogorek What's with those estimates?By Ben OgorekIn R, categorical variables can be added to a regression using the lm() function without a hint of extra work. But have you ever look at the resulting estimates and wondered exactly what they were? First, let's define a data set.set.seed(12255) n = 30sigma = 2.0AOV.df <- data.frame(category = c(rep("category1", n)     ...Read more » Top 7 articles of the week Forecast Update: Will 2014 be the Beginning of the End for SAS and SPSS? The Guerilla Guide to R Top 3 R resources for beginners Statistics vs Data Science vs BI Sharing my R notes R 3.0.1 is released Select operations on R data frames Sponsors mango-solutions.com RStudio: a free and open source IDE for R Zero Inflated Models and Generalized Linear Mixed Models with R. Zuur, Saveliev, Ieno (2012). R-bloggers was founded by Tal Galili, with gratitude to the R community. Is powered by WordPress using a bavotasan.com design. Copyright © 2013 R-bloggers. All Rights Reserved. (function(){ var corecss = document.createElement('link'); var themecss = document.createElement('link'); var corecssurl = "http://www.r-bloggers.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/styles/shCore.css?ver=3.0.83c"; if ( corecss.setAttribute ) { corecss.setAttribute( "rel", "stylesheet" ); corecss.setAttribute( "type", "text/css" ); corecss.setAttribute( "href", corecssurl ); } else { corecss.rel = "stylesheet"; corecss.href = corecssurl; } document.getElementsByTagName("head")[0].insertBefore( corecss, document.getElementById("syntaxhighlighteranchor") ); var themecssurl = "http://www.r-bloggers.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/styles/shThemeDefault.css?ver=3.0.83c"; if ( themecss.setAttribute ) { themecss.setAttribute( "rel", "stylesheet" ); themecss.setAttribute( "type", "text/css" ); themecss.setAttribute( "href", themecssurl ); } else { themecss.rel = "stylesheet"; themecss.href = themecssurl; } //document.getElementById("syntaxhighlighteranchor").appendChild(themecss); document.getElementsByTagName("head")[0].insertBefore( themecss, document.getElementById("syntaxhighlighteranchor") ); })(); SyntaxHighlighter.config.strings.expandSource = '+ expand source'; SyntaxHighlighter.config.strings.help = '?'; SyntaxHighlighter.config.strings.alert = 'SyntaxHighlighter\n\n'; SyntaxHighlighter.config.strings.noBrush = 'Can\'t find brush for: '; SyntaxHighlighter.config.strings.brushNotHtmlScript = 'Brush wasn\'t configured for html-script option: '; SyntaxHighlighter.defaults['pad-line-numbers'] = false; SyntaxHighlighter.defaults['toolbar'] = false; SyntaxHighlighter.all(); /* <![CDATA[ */ var WPGroHo = {"my_hash":""}; /* ]]> */ st_go({v:'ext',j:'1:2.2.5',blog:'11524731',post:'0',tz:'-6'}); var load_cmc = function(){linktracker_init(11524731,0,2);}; if ( typeof addLoadEvent != 'undefined' ) addLoadEvent(load_cmc); else load_cmc(); /* <![CDATA[ */ jQuery(function(){ jQuery("ul.sf-menu").supersubs({ minWidth: 12, maxWidth: 27, extraWidth: 1 }).superfish({ delay: 100, speed: 250 }); }); /* ]]> */ //<![CDATA[ // Google Analytics for WordPress by Yoast v4.3.3 | http://yoast.com/wordpress/google-analytics/ var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-419807-53']); _gaq.push(['_trackPageview']); (function () { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); //]]>