<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alex Braunstein&#039;s Blog</title>
	<atom:link href="http://alexbraunstein.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexbraunstein.com</link>
	<description></description>
	<lastBuildDate>Thu, 12 Apr 2012 19:54:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Reading big files in R</title>
		<link>http://alexbraunstein.com/2012/04/12/reading-big-files/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=reading-big-files</link>
		<comments>http://alexbraunstein.com/2012/04/12/reading-big-files/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 19:54:12 +0000</pubDate>
		<dc:creator>Alex Braunstein</dc:creator>
				<category><![CDATA[R]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://alexbraunstein.com/?p=854</guid>
		<description><![CDATA[As the lone statistician in my workplace, I end up introducing many people to R. After the inevitable pirate jokes, my coworkers who program in real languages (C++, Java, Python, PHP, etc.) ultimately end up complaining about R, which does a couple of things very well and a lot of things VERY poorly. Each has [...]]]></description>
			<content:encoded><![CDATA[<p>As the lone statistician in my workplace, I end up introducing many people to R. After the inevitable pirate jokes, my coworkers who program in real languages (C++, Java, Python, PHP, etc.) ultimately end up complaining about R, which does a couple of things very well and a lot of things VERY poorly. Each has complained about data tables and reading data into R.</p>
<p>For those that don&#8217;t know, the default data type for a .csv is not an array or list, its a data table, which takes up far more memory than it should and converts all string to factors for easier use in regression. This is dumb and in my experience will 5x-10x the time it takes to read in the file and memory it takes up. For a quick fix, set stringsAsFactors=F. If you don&#8217;t have column headings, which I normally don&#8217;t, set header=F as well:</p>
<p>data = read.csv(&#8220;datafile.csv&#8221;,header=F,stringsAsFactors = F)</p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://alexbraunstein.com/2012/04/12/reading-big-files/&via=alexbraunstein&text=Reading big files in R&related=Alex Braunstein:Alex Braunstein's Twitter Feed&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://alexbraunstein.com/2012/04/12/reading-big-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chomp App Search Analytics Year End Summary 2011</title>
		<link>http://alexbraunstein.com/2012/02/07/chomp-app-search-analytics-year-summary-2011/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=chomp-app-search-analytics-year-summary-2011</link>
		<comments>http://alexbraunstein.com/2012/02/07/chomp-app-search-analytics-year-summary-2011/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 01:26:43 +0000</pubDate>
		<dc:creator>Alex Braunstein</dc:creator>
				<category><![CDATA[apps]]></category>
		<category><![CDATA[Chomp]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://alexbraunstein.com/?p=824</guid>
		<description><![CDATA[My most recent App Search Analytics report from Chomp was written up in TechCrunch. Sarah Perez wrote a fantastic summary in her article, Games Decreasing In Popularity On Android, Entertainment Apps On The Rise, but I wanted to emphasize the most interesting points. First, as implied by the title of the article, games are decreasing [...]]]></description>
			<content:encoded><![CDATA[<p>My most recent App Search Analytics report from <a href="http://chomp.com/">Chomp</a> was written up in <a href="http://techcrunch.com/">TechCrunch</a>. <a href="http://techcrunch.com/author/sarah-perez/">Sarah Perez</a> wrote a fantastic summary in her article, <a href="http://techcrunch.com/2012/01/29/games-decreasing-in-popularity-on-android-entertainment-apps-on-the-rise/">Games Decreasing In Popularity On Android, Entertainment Apps On The Rise</a>, but I wanted to emphasize the most interesting points.</p>
<p>First, as implied by the title of the article, games are decreasing in popularity on Android as a share of total downloads, while that same share is increasing on iOS. In December, games were 36.1% of iTunes downloads and 22% of Android downloads.</p>
<p><img src="http://tctechcrunch2011.files.wordpress.com/2012/01/games-ios-android2.png?w=640" width=600></p>
<p>Next, I wanted to tackle some misconceptions about app pricing on the two platforms. As a proportion, paid apps are an almost negligible proportion of downloads on Android (where they hover around 3-4%). Consequently, average &#8220;app purchase price&#8221; (shown below) is quite low compared to iOS, where the proportion of paid app downloads is between 6 and 10 times as high. </p>
<p><img src="http://tctechcrunch2011.files.wordpress.com/2012/01/app-pricing-chomp2011.png?w=640&#038;h=310" width=600></p>
<p>The above plot is misleading because it hides two important facts:</p>
<ul>
<li> $.99 apps are a <strong> VERY </strong> large proportion of iOS app downloads
<li> a relatively larger proportion of app downloads on Android are at &#8220;premium&#8221; price points due to this relative lack of apps at price points less than $1
</ul>
<p>As a result, average app price, conditional on non-free apps, is actually higher on Android.</p>
<p><img src="http://tctechcrunch2011.files.wordpress.com/2012/01/paid-app-price.png?w=640&#038;h=312" width=600></p>
<p>The point of this article isn&#8217;t to steer developers of apps (premium or otherwise) to or away from either platform, each of which has its strengths. You can read up on monetization of platforms <a href="http://www.appleinsider.com/articles/12/01/24/apple_has_now_paid_4_billion_to_app_store_developers_.html">here</a> and <a href"http://articles.businessinsider.com/2012-01-25/tech/30662052_1_ios-android-smartphone">here</a> (one article is very pro-iOS, the other very pro-Android). Rather, I wanted to reinforce a basic lesson from Stat 101: averages can be very misleading.</p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://alexbraunstein.com/2012/02/07/chomp-app-search-analytics-year-summary-2011/&via=alexbraunstein&text=Chomp App Search Analytics Year End Summary 2011&related=Alex Braunstein:Alex Braunstein's Twitter Feed&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://alexbraunstein.com/2012/02/07/chomp-app-search-analytics-year-summary-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quotes from Alex on Social Media and the Super Bowl</title>
		<link>http://alexbraunstein.com/2012/02/07/quotes-alex-social-media-super-bowl/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=quotes-alex-social-media-super-bowl</link>
		<comments>http://alexbraunstein.com/2012/02/07/quotes-alex-social-media-super-bowl/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 01:00:20 +0000</pubDate>
		<dc:creator>Alex Braunstein</dc:creator>
				<category><![CDATA[shameless self promotion]]></category>

		<guid isPermaLink="false">http://alexbraunstein.com/?p=826</guid>
		<description><![CDATA[I had the privilege of being interviewed for an article on titled Sports are going social, and it’s a winning combination. It&#8217;s not really super relevant to anything else on my blog, but I have a quote in there about why sports generate so much intense interest/conversation: “We endear ourselves to the teams and even [...]]]></description>
			<content:encoded><![CDATA[<p>I had the privilege of being interviewed for an article on titled <a href="http://www.digitaltrends.com/social-media/sports-are-going-social-and-its-a-winning-combination/">Sports are going social, and it’s a winning combination</a>. It&#8217;s not really super relevant to anything else on my blog, but I have a quote in there about why sports generate so much intense interest/conversation:</p>
<p>“We endear ourselves to the teams and even use terms such as ‘we’ and ‘us’ when talking about their most recent triumph or failure. It’s natural that something which creates such a deep emotional reaction yields so much conversation both in person and in social networks and social apps.” </p>
<p>and another one on why athletes and particularly fans engage with social networks:</p>
<p>“Rather than simply reading about players online, collecting cards, or wearing their jerseys, fans can follow their favorite players on Twitter, subscribe to their Facebook feed, or even see where they check-in on Foursquare, I see this trend not only continuing, but accelerating in the coming year as social media continues to become more ubiquitous.” </p>
<p>Just thought it was cool and would make my mom proud.</p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://alexbraunstein.com/2012/02/07/quotes-alex-social-media-super-bowl/&via=alexbraunstein&text=Quotes from Alex on Social Media and the Super Bowl&related=Alex Braunstein:Alex Braunstein's Twitter Feed&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://alexbraunstein.com/2012/02/07/quotes-alex-social-media-super-bowl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>November App Search Analytics</title>
		<link>http://alexbraunstein.com/2011/12/06/november-app-search-analytics/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=november-app-search-analytics</link>
		<comments>http://alexbraunstein.com/2011/12/06/november-app-search-analytics/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 20:49:31 +0000</pubDate>
		<dc:creator>Alex Braunstein</dc:creator>
				<category><![CDATA[apps]]></category>
		<category><![CDATA[Chomp]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://alexbraunstein.com/?p=799</guid>
		<description><![CDATA[The November Chomp App Search Analytics report is out! The official Chomp blog post can be found here. The quick summary is: search traffic for the terms shopping and discounts spiked more than 1300% and 3000%, respectively on Black Friday and returned to normal on Cyber Monday I highlight tons of great Holiday Apps and [...]]]></description>
			<content:encoded><![CDATA[<p>The November Chomp App Search Analytics report is out! The official Chomp blog post can be found <a href="http://blog.chomp.com/2011/12/shopping-and-discounts-dominate-app-search-queries-in-november.html" title="Chomp November App Search Analytics">here</a>. The quick summary is:</p>
<ul>
<li> search traffic for the terms shopping and discounts spiked more than 1300% and 3000%, respectively on Black Friday and returned to normal on Cyber Monday
<li> I highlight tons of great Holiday Apps and Games to keep you busy through the season
<li> paid downloads were up 7% on iPhone
</ul>
<p>More details can be found in the report below:</p>
<p><a title="View Chomp Charts November on Scribd" href="http://www.scribd.com/doc/74814366/Chomp-Charts-November" style="margin: 12px auto 6px auto; font-family: Helvetica,Arial,Sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; display: block; text-decoration: underline;">Chomp Charts November</a> <object id="doc_40964" name="doc_40964" height="600" width="100%" type="application/x-shockwave-flash" data="http://d1.scribdassets.com/ScribdViewer.swf" style="outline:none;" ><param name="movie" value="http://d1.scribdassets.com/ScribdViewer.swf"><param name="wmode" value="opaque"><param name="bgcolor" value="#ffffff"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><param name="FlashVars" value="document_id=74814366&#038;access_key=key-1aktlhucgbepfwyhv4m3&#038;page=1&#038;viewMode=slideshow"><embed id="doc_40964" name="doc_40964" src="http://d1.scribdassets.com/ScribdViewer.swf?document_id=74814366&#038;access_key=key-1aktlhucgbepfwyhv4m3&#038;page=1&#038;viewMode=slideshow" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="600" width="100%" wmode="opaque" bgcolor="#ffffff"></embed></object></p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://alexbraunstein.com/2011/12/06/november-app-search-analytics/&via=alexbraunstein&text=November App Search Analytics&related=Alex Braunstein:Alex Braunstein's Twitter Feed&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://alexbraunstein.com/2011/12/06/november-app-search-analytics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Legends and Dates in R plots</title>
		<link>http://alexbraunstein.com/2011/12/05/legend-plots/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=legend-plots</link>
		<comments>http://alexbraunstein.com/2011/12/05/legend-plots/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 01:17:36 +0000</pubDate>
		<dc:creator>Alex Braunstein</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alexbraunstein.com/?p=637</guid>
		<description><![CDATA[After looking up how to create a legend using ?legend and searching the R forums for the 86586586th time, I&#8217;ve decided to write my own post with a few examples and tricks I&#8217;ve picked up. I also provide example code for using dates as an x-axis. I do most of my heavy computation in Python, [...]]]></description>
			<content:encoded><![CDATA[<p>After looking up how to create a legend using ?legend and searching the R forums for the 86586586th time, I&#8217;ve decided to write my own post with a few examples and tricks I&#8217;ve picked up. I also provide example code for using dates as an x-axis.</p>
<p>I do most of my heavy computation in Python, leaving R for primarily making pretty plots, exploratory data analysis (EDA) when I first get my hands on a data set, and using my favorite R packages/functions that I&#8217;ll never implement on my own (ie Random Forests, CART, SVM). Below is an example plot, with two sets of numbers, a legend, and dates on the axis. Hopefully this is more helpful than the R documentation.</p>
<p><img src="http://alexbraunstein.com/exampleplot.png" width=600></p>
<div style="border: 1px dashed #999999;padding:1px;">
# pick a length, and generate two random normals of this length<br />
len = 43<br />
vals = rnorm(len,0,1)<br />
vals2 = rnorm(len,0,.5)</p>
<p># pick an initial date in form YYYYMMDD, then generate a years worth of weekly dates<br />
date = 20110201<br />
mydates<-as.Date(as.character(date),"%Y%m%d")<br />
for(i in 1:52){  #<br />
  mydates = c(mydates,mydates[length(mydates)]+7)<br />
}<br />
# rename something shorter<br />
x=mydates[2:(len+1)]</p>
<p># set graphical parameters and plot both random normals, use xaxt="n" to eliminate the x-axis<br />
par(mfrow=c(1,1))<br />
plot(vals,type="l",col="blue",xaxt="n",ylab="y axis label",xlab="",main="Plot Title")<br />
lines(vals2,col="red")<br />
# add back an x-axis with dates, las and cex.axis set direction and size of dates<br />
axis(1, at=1:len,x,las=2,cex.axis=.9)<br />
# add a legend, lwd sets line width, you can use x,y coordinates instead of "bottomleft"<br />
legend("bottomleft", c("thing1","thing2"), col = c("blue", "red"), lwd = 1, title="legend title")
</p></div>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://alexbraunstein.com/2011/12/05/legend-plots/&via=alexbraunstein&text=Legends and Dates in R plots&related=Alex Braunstein:Alex Braunstein's Twitter Feed&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://alexbraunstein.com/2011/12/05/legend-plots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Best Noodle Kugel Recipe</title>
		<link>http://alexbraunstein.com/2011/12/04/noodle-kugel-recipe/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=noodle-kugel-recipe</link>
		<comments>http://alexbraunstein.com/2011/12/04/noodle-kugel-recipe/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 18:49:29 +0000</pubDate>
		<dc:creator>Alex Braunstein</dc:creator>
				<category><![CDATA[recipes]]></category>

		<guid isPermaLink="false">http://alexbraunstein.com/?p=733</guid>
		<description><![CDATA[I&#8217;m still powering through all the recipe posts I wanted to do after Rosh Hashanah, so here&#8217;s the latest, the best noodle kugel recipe ever. It&#8217;s my grandmother&#8217;s, so I know that slightly biases me, but I&#8217;ve had at least 10 people tell me it&#8217;s better than their grandmothers&#8217;. First here&#8217;s a pic of all [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m still powering through all the recipe posts I wanted to do after Rosh Hashanah, so here&#8217;s the latest, the best noodle kugel recipe ever. It&#8217;s my grandmother&#8217;s, so I know that slightly biases me, but I&#8217;ve had at least 10 people tell me it&#8217;s better than their grandmothers&#8217;. First here&#8217;s a pic of all the ingredients:</p>
<p><img src="http://www.alexbraunstein.com/kugelingredients.jpg" width=600></p>
<p>The full ingredient list is:</p>
<ul>
<li> 1 pkg egg noodles.
<li> cook, drain, put in large pot and add
<li> 1/2 cup sugar
<li> 1 cup sour cream
<li> 1 container cottage cheese
<li> 3 eggs beaten
<li> 1 sm can crushed pineapple with juice
<li> 1 stick melted margarine  (butter)
<li> 1 apple grated  (thick)
<li> 1 teaspoon vanilla
<li> 1.5 teaspoon cinnamon
</ul>
<p>Beat eggs then add all other ingredients, cottage cheese last. When fully mixed the ingredients should smell like kugel and have roughly this consistency:</p>
<p><img src="http://www.alexbraunstein.com/kugel_liquid.jpg" width=600></p>
<p>Mix well put in large baking pan sprinkle with crushed cornflake crumbs and dot with butter. Bake 1 hour at 350 and it should look like this:</p>
<p><img src="http://www.alexbraunstein.com/kugelfinal.jpg" width=600></p>
<p>Last, but certainly not least, here&#8217;s a pic of my grandmother (right) and me as its her recipe:</p>
<p><img src="http://www.alexbraunstein.com/gm2.jpg" width=600></p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://alexbraunstein.com/2011/12/04/noodle-kugel-recipe/&via=alexbraunstein&text=Best Noodle Kugel Recipe&related=Alex Braunstein:Alex Braunstein's Twitter Feed&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://alexbraunstein.com/2011/12/04/noodle-kugel-recipe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Bayesian Variable Selection Approach to Major League Baseball Hitting Metrics</title>
		<link>http://alexbraunstein.com/2011/10/27/bayesian-variable-selection-approach-major-league-baseball-hitting-metrics/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bayesian-variable-selection-approach-major-league-baseball-hitting-metrics</link>
		<comments>http://alexbraunstein.com/2011/10/27/bayesian-variable-selection-approach-major-league-baseball-hitting-metrics/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 23:36:32 +0000</pubDate>
		<dc:creator>Alex Braunstein</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://alexbraunstein.com/?p=583</guid>
		<description><![CDATA[I&#8217;m happy to announce my most recent publication &#8220;A Bayesian Variable Selection Approach to Major League Baseball Hitting Metrics&#8221; in the Journal of Quantitative Analysis in Sports. Though this might sound boring unless you are a baseball fan and/or a Bayesian (and perhaps even then), the paper is fundamentally about how to choose which metrics [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m happy to announce my most recent publication <a href="http://www.bepress.com/jqas/vol7/iss4/2/">&#8220;A Bayesian Variable Selection Approach to Major League Baseball Hitting Metrics&#8221;</a> in the Journal of Quantitative Analysis in Sports. Though this might sound boring unless you are a baseball fan and/or a Bayesian (and perhaps even then), the paper is fundamentally about how to choose which metrics are predictive, a topic anyone in statistics, analytics, or any other data driven field should care deeply about. </p>
<p>I&#8217;ll try to motivate this in as general a setting as possible. Suppose you have some metric (batting average, earnings, engagement) for a population of individuals (baseball players, businesses, users of your product) over several time periods. A traditional Random effects model estimates an intercept term for every individual. In some situations the assumption is unrealistic. </p>
<p>Often populations contain individuals who are indistinguishable from average, meaning its better to estimate their value with the overall mean rather than with their own data. This implies the metric is not predictive for that player. By definition, those not in the previous group are systematically high or low relative to the average. Examples of the second group include Barry Bonds, who always hit more home runs and took more steroids than average, Warren Buffet and Berkshire Hathaway, who always made better investments than average, or my Google friends&#8217; use of Facebook since the release of Google+, which is systematically lower than average. This is best visualized by two distributions, the black spike with all its probability at the overall mean (average individuals), and the red distribution with most of its probability far above or below this value (non-average individuals). </p>
<p><img src="http://www.alexbraunstein.com/playermeans.png" width=600></p>
<p>Once we find the probability each player is a member of the two categories for each metric, we can tell if a metric is predictive if: a) most individuals are systematically different from the average and b) most of the metric&#8217;s variance is explained by the model. Finally, the obligatory plot showing our method performs at least as well on a holdout sample as other methods for the 50 metrics tested:</p>
<p><img src="http://www.alexbraunstein.com/hittingrmses.png" width=600></p>
<p>For those interested (which should be everyone but in practice is almost no one), our method also automatically controls for multiple testing, as we perform 1,575 tests in our analysis.</p>
<p>This paper was co-authored with <a href="http://www.blakemcshane.com/">Blake McShane</a>, James Piette, and <a href="http://www-stat.wharton.upenn.edu/~stjensen/">Shane Jensen</a>, and can be viewed as a more technical companion piece to our previous paper &#8220;A Point-Mass Mixture Random Effects Model for Pitching Metrics&#8221; which can be downloaded <a href="http://www.bepress.com/jqas/vol6/iss3/8/">here</a>. The poorly commented python code for the MCMC sampler can be found <a href="http://alexbraunstein.com/pitchingmcmc.tar.gz">here</a>. If you&#8217;re interested in implementing or tweaking our methodology, feel free to send me an email or reach out on Twitter.</p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://alexbraunstein.com/2011/10/27/bayesian-variable-selection-approach-major-league-baseball-hitting-metrics/&via=alexbraunstein&text=A Bayesian Variable Selection Approach to Major League Baseball Hitting Metrics&related=Alex Braunstein:Alex Braunstein's Twitter Feed&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://alexbraunstein.com/2011/10/27/bayesian-variable-selection-approach-major-league-baseball-hitting-metrics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hey Klout, Adding More Decimal Places Does Not Make Your Score More Accurate</title>
		<link>http://alexbraunstein.com/2011/10/26/klout-update/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=klout-update</link>
		<comments>http://alexbraunstein.com/2011/10/26/klout-update/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 22:34:01 +0000</pubDate>
		<dc:creator>Alex Braunstein</dc:creator>
				<category><![CDATA[Klout]]></category>
		<category><![CDATA[PeerIndex]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://alexbraunstein.com/?p=765</guid>
		<description><![CDATA[Klout has been hyping up their score changes for a week now. The CEO Joe Fernandez has claimed that this makes the score more accurate, more transparent, and may cure some forms of cancer (well maybe not the last claim). Let&#8217;s just say I haven&#8217;t been this disappointed since the 2000 election. Let&#8217;s start with [...]]]></description>
			<content:encoded><![CDATA[<p>Klout has been hyping up their score changes for a week now. The CEO Joe Fernandez has claimed that this makes the score more accurate, more transparent, and may cure some forms of cancer (well maybe not the last claim). Let&#8217;s just say I haven&#8217;t been this disappointed since the 2000 election. Let&#8217;s start with their first claim: accuracy. See figure 1, my new score</p>
<p><img src="http://alexbraunstein.com/newklout.10.26.11.png" width=600></p>
<p>It&#8217;s exactly the same graphic as before, but with two decimal places. While my 8th grade Chemistry teacher may be glad that they are using more significant digits, I honestly don&#8217;t care. They were there before, just not displayed. Lame.</p>
<p>In their <a href="http://corp.klout.com/blog/2011/10/a-more-accurate-transparent-klout-score/">blog post</a>, they claim: &#8220;This project represents the biggest step forward in accuracy, transparency and our technology in Klout’s history.&#8221; They support this vague claim with the histogram below, showing the differences in Klout scores, before and after the change:</p>
<p><img src="http://farm7.static.flickr.com/6060/6283094309_6c8c41d5f8.jpg" width=600></p>
<p>This histogram leaves tons of open questions. Is this different than your normal daily shift in scores? The histogram reminds me of a t-distribution with a fatter positive tail. If more people are signing up for Klout than are leaving, thats probably what it should look like anyways as users hookup more networks and gradually become more active online. The graphic doesn&#8217;t show that your score is any better, just that it changed. That&#8217;s not impressive at all.</p>
<p>My beef with Klout remains simply that the service provides us with no real validation or explanation of our scores. They don&#8217;t show us how many times we have been RT&#8217;ed, mentioned, etc. On Google, you can look up your page rank, on app stores you can see your average rating and number of ratings, on Klout, you are told that your true reach has increased, but not told what that implies or how you can verify it.</p>
<p>Klout is still the social influence measurement leader, but with <a href="http://www.peerindex.com/">Peerindex</a> rapidly improving (and better in many ways in my opinion), and new competitors such as <a href="http://www.proskore.com/">Proskore</a> and <a href="http://kred.ly/">Kred</a> popping up, Klout should be worried. I&#8217;ll have a review of both Proskore and Kred up shortly as well so you can easily compare them for yourself.</p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://alexbraunstein.com/2011/10/26/klout-update/&via=alexbraunstein&text=Hey Klout, Adding More Decimal Places Does Not Make Your Score More Accurate&related=Alex Braunstein:Alex Braunstein's Twitter Feed&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://alexbraunstein.com/2011/10/26/klout-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Honey Cake Recipe</title>
		<link>http://alexbraunstein.com/2011/10/18/honey-cake-recipe/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=honey-cake-recipe</link>
		<comments>http://alexbraunstein.com/2011/10/18/honey-cake-recipe/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 22:07:08 +0000</pubDate>
		<dc:creator>Alex Braunstein</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alexbraunstein.com/?p=735</guid>
		<description><![CDATA[In addition to hating on Klout and writing random code blog posts, I&#8217;ve decided to branch out a bit with my posts and write about one of my other passions: baking and cooking. I recently had a Rosh Hashanah (Jewish New Year) dinner party with my roommates and made several desserts. The traditional dessert for [...]]]></description>
			<content:encoded><![CDATA[<p>In addition to hating on Klout and writing random code blog posts, I&#8217;ve decided to branch out a bit with my posts and write about one of my other passions: baking and cooking. I recently had a Rosh Hashanah (Jewish New Year) dinner party with my roommates and made several desserts. The traditional dessert for the holiday is a Honey Cake, for a &#8220;sweet&#8221; new year. I&#8217;ve tried about 5 recipes and this is my favorite. Pictures, ingredient list and directions can be found below.</p>
<p><img src="http://www.alexbraunstein.com/honeycakefinal.jpg" width = 600></p>
<p>Ingredients:</p>
<ul>
<li>3 1/2 cups all-purpose flour
<li>1 tablespoon baking powder
<li>1 teaspoon baking soda
<li>1/2 teaspoon kosher salt
<li>4 teaspoons ground cinnamon
<li>1/2 teaspoon ground cloves
<li>1/2 teaspoon ground allspice
<li>1 cup vegetable oil
<li>1 cup honey
<li>1 1/2 cups granulated sugar
<li>1/2 cup brown sugar
<li>3 large eggs at room temperature
<li>1 teaspoon vanilla extract
<li>1 cup coffee
<li>1/2 cup fresh orange juice
<li>1/4 cup bourbon
</ul>
<p>Preparation Instructions:</p>
<ol>
<li> In a large bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, cloves and allspice
<li> Make a well in the center, and add oil, honey, granulated sugar, brown sugar, eggs, vanilla, coffee, orange juice and bourbon
<li> Mix well and then portion into tins. Do not overbeat! If you are using an electric mixer, do so at a low setting.
</ol>
<p>This is a huge recipe and its into FIVE 7.75 Inch x 3.75 Inch x 2.75 loaf pans. I normally just pick up a pack of 6 disposable aluminum tins at the grocery store.</p>
<p>The batter should look like this once combined:</p>
<p><img src="http://www.alexbraunstein.com/honeycakebatter.jpg" width = 600></p>
<p>The cakes keep for up to 5 days and honestly are better after sitting for a day, just cover with foil or cling wrap in the tin to store. Enjoy!</p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://alexbraunstein.com/2011/10/18/honey-cake-recipe/&via=alexbraunstein&text=Honey Cake Recipe&related=Alex Braunstein:Alex Braunstein's Twitter Feed&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://alexbraunstein.com/2011/10/18/honey-cake-recipe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing MACS (Markovian Coalescent Simulator) on OS X 10.7 Lion</title>
		<link>http://alexbraunstein.com/2011/10/15/installing-macs-markovian-coalescent-simulator-os-10-7-lion/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-macs-markovian-coalescent-simulator-os-10-7-lion</link>
		<comments>http://alexbraunstein.com/2011/10/15/installing-macs-markovian-coalescent-simulator-os-10-7-lion/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 22:39:12 +0000</pubDate>
		<dc:creator>Alex Braunstein</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alexbraunstein.com/?p=740</guid>
		<description><![CDATA[After a few years break from my dissertation research on coalescent modeling of HIV sequences, I&#8217;ve decided to dive in again. I am interested in generating some sequences from coalescent models with various characterestics. Though ms and msHOT from the Hudson lab are what I&#8217;ve used previously, I decided to see what else is out [...]]]></description>
			<content:encoded><![CDATA[<p>After a few years break from my dissertation research on coalescent modeling of HIV sequences, I&#8217;ve decided to dive in again. I am interested in generating some sequences from coalescent models with various characterestics. Though ms and msHOT from the Hudson lab are what I&#8217;ve used previously, I decided to see what else is out there.</p>
<p>The paper describing their methodology can be found <a href="http://mec.usc.edu/software/GenomeRes-2009-Chen-136-42.pdf">here</a>. The files are available here. In the extracted directory simply run &#8220;make all&#8221;.</p>
<p>I ran into two compilation errors:</p>
<div style="border: 1px dashed #999999;padding:1px;">
g++ -Wall -g -I /Users/garychen/software/boost_1_36_0 -c algorithm.cpp<br />
algorithm.cpp: In member function ‘void GraphBuilder::build()’:<br />
algorithm.cpp:1272: error: ‘uint’ was not declared in this scope<br />
algorithm.cpp:1272: error: expected `;&#8217; before ‘iSegLength’<br />
algorithm.cpp:1273: error: ‘iSegLength’ was not declared in this scope<br />
make: *** [algorithm.o] Error 1
</div>
<p>I changed uint to int on line 1272 and combined the cout onlines 1273 and 1274 into one line, which fixed the complaints. Then the build complained:</p>
<div style="border: 1px dashed #999999;padding:1px;">
<span style="padding-left:20px">g++ -o macs simulator.o algorithm.o datastructures.o -static<br />
<span style="padding-left:20px">ld: library not found for -lcrt0.o
</div>
<p>Simply comment out &#8220;LINKFLAGS = -static&#8221; and everything should happily compile.</p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://alexbraunstein.com/2011/10/15/installing-macs-markovian-coalescent-simulator-os-10-7-lion/&via=alexbraunstein&text=Installing MACS (Markovian Coalescent Simulator) on OS X 10.7 Lion&related=Alex Braunstein:Alex Braunstein's Twitter Feed&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://alexbraunstein.com/2011/10/15/installing-macs-markovian-coalescent-simulator-os-10-7-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

