<?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>Rabbit's blog</title>
	<atom:link href="http://blog.luispedro.org/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.luispedro.org</link>
	<description>Um texto pode esconder outro. Leia duas vezes antes de avançar</description>
	<lastBuildDate>Wed, 19 May 2010 22:15:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Beira Project</title>
		<link>http://blog.luispedro.org/posts/beira-project</link>
		<comments>http://blog.luispedro.org/posts/beira-project#comments</comments>
		<pubDate>Wed, 19 May 2010 22:13:22 +0000</pubDate>
		<dc:creator>luispedro</dc:creator>
				<category><![CDATA[Portugal]]></category>

		<guid isPermaLink="false">http://blog.luispedro.org/?p=1393</guid>
		<description><![CDATA[The Beira Project will provide HIV-related non-profits in Mozambique with tools, physical and technical, to do their job better, to reach more people better.
Rita and Luis, two graduate students in Pittsburgh (in theatre and computational biology), will be working with two local Mozambican organisations in Beira (Mozambique’s 2nd largest city) supporting them in their work.
It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>The Beira Project will provide HIV-related non-profits in Mozambique with tools, physical and technical, to do their job better, to reach more people better.</p>
<p>Rita and Luis, two graduate students in Pittsburgh (in theatre and computational biology), will be working with two local Mozambican organisations in Beira (Mozambique’s 2nd largest city) supporting them in their work.</p>
<p>It&#8217;s online at <a href="http://beiraproject.org/">http://beiraproject.org/</a></p>
<p>To help out, come to our <a href="http://beiraproject.org/fr">fundraiser</a> party (in Pittsburgh, USA, May 29 2010) or <a href="https://beiraproject.wufoo.com/forms/donate">donate online</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.luispedro.org/posts/beira-project/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Filhos da Puta: Sócrates Edition</title>
		<link>http://blog.luispedro.org/posts/filhos-da-puta-socrates-edition</link>
		<comments>http://blog.luispedro.org/posts/filhos-da-puta-socrates-edition#comments</comments>
		<pubDate>Sun, 05 Apr 2009 00:04:58 +0000</pubDate>
		<dc:creator>luispedro</dc:creator>
				<category><![CDATA[Ameaça à Liberdade]]></category>
		<category><![CDATA[Portugal]]></category>

		<guid isPermaLink="false">http://blog.luispedro.org/?p=1389</guid>
		<description><![CDATA[O abuso de processos de difamação por parte do nosso PM é nojento. A partir daqui, já estou do outro lado da barricada, do lado do PS com D.
As eleições vindouras, como todas as eleições, são primeiro uma votação sobre o partido do poder. Este partido gosta do poder demasiado para ficar com ele.
]]></description>
			<content:encoded><![CDATA[<p>O abuso de processos de difamação por parte do nosso PM é nojento. A partir daqui, já estou do outro lado da barricada, do lado do PS com D.</p>
<p>As eleições vindouras, como todas as eleições, são primeiro uma votação sobre o partido do poder. Este partido gosta do poder demasiado para ficar com ele.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.luispedro.org/posts/filhos-da-puta-socrates-edition/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Manuela Ferreira Leite</title>
		<link>http://blog.luispedro.org/posts/manuela-ferreira-leite</link>
		<comments>http://blog.luispedro.org/posts/manuela-ferreira-leite#comments</comments>
		<pubDate>Fri, 21 Nov 2008 00:52:30 +0000</pubDate>
		<dc:creator>luispedro</dc:creator>
				<category><![CDATA[Portugal]]></category>

		<guid isPermaLink="false">http://blog.luispedro.org/?p=1387</guid>
		<description><![CDATA[Penso que foi P.J. O&#8217;Rourke que disse de Ann Coulter (uma conhecida polemicista de direita americana): ela diz as mesmas coisas que eu digo. Excepto que eu só as digo às três da manhã, quando estou bêbado que nem um cacho.
]]></description>
			<content:encoded><![CDATA[<p>Penso que foi P.J. O&#8217;Rourke que disse de Ann Coulter (uma conhecida polemicista de direita americana): <cite>ela diz as mesmas coisas que eu digo. Excepto que eu só as digo às três da manhã, quando estou bêbado que nem um cacho</cite>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.luispedro.org/posts/manuela-ferreira-leite/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Outras Paragens</title>
		<link>http://blog.luispedro.org/posts/outras-paragens</link>
		<comments>http://blog.luispedro.org/posts/outras-paragens#comments</comments>
		<pubDate>Tue, 09 Sep 2008 14:38:46 +0000</pubDate>
		<dc:creator>luispedro</dc:creator>
				<category><![CDATA[Portugal]]></category>

		<guid isPermaLink="false">http://blog.luispedro.org/?p=1385</guid>
		<description><![CDATA[Mutual Information
]]></description>
			<content:encoded><![CDATA[<p><a href="http://mutualinformation.org">Mutual Information</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.luispedro.org/posts/outras-paragens/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Taxa de Câmbio</title>
		<link>http://blog.luispedro.org/posts/taxa-de-cambio</link>
		<comments>http://blog.luispedro.org/posts/taxa-de-cambio#comments</comments>
		<pubDate>Sun, 24 Aug 2008 18:45:24 +0000</pubDate>
		<dc:creator>luispedro</dc:creator>
				<category><![CDATA[Portugal]]></category>

		<guid isPermaLink="false">http://blog.luispedro.org/posts/taxa-de-cambio</guid>
		<description><![CDATA[Estou numa loja de roupa em Nova Iorque.
Isto está recheado de europeus.
]]></description>
			<content:encoded><![CDATA[<p>Estou numa loja de roupa em Nova Iorque.</p>
<p>Isto está recheado de europeus.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.luispedro.org/posts/taxa-de-cambio/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Estado</title>
		<link>http://blog.luispedro.org/posts/estado</link>
		<comments>http://blog.luispedro.org/posts/estado#comments</comments>
		<pubDate>Wed, 13 Aug 2008 15:58:15 +0000</pubDate>
		<dc:creator>luispedro</dc:creator>
				<category><![CDATA[Ota e TGV]]></category>
		<category><![CDATA[Portugal]]></category>

		<guid isPermaLink="false">http://blog.luispedro.org/posts/estado</guid>
		<description><![CDATA[Na série o Estado no seu melhor:
A CP está há um ano à espera de autorização dos ministérios dos transportes e das finanças para poder comprar comboios porque a procura está no pico.
As linhas estão no limite de capacidade, em parte porque pois o Governo mandou rever as obras de modernização da linha do Norte [...]]]></description>
			<content:encoded><![CDATA[<p>Na série <i>o Estado no seu melhor</i>:</p>
<p>A CP está <a href="http://economia.publico.clix.pt/noticia.aspx?id=1338780&#038;idCanal=57">há um ano</a> à espera de autorização dos ministérios dos transportes e das finanças para poder comprar comboios porque a procura está no pico.</p>
<p>As linhas estão no limite de capacidade, em parte porque <cite>pois o Governo mandou rever as obras de modernização da linha do Norte e estas tardam em rearrancar</cite>.</p>
<p>A conclusão, à Estado, é que <cite>estas dificuldades da ferrovia portuguesa em responder à procura crescente pelo comboio têm sido utilizadas pelo Governo para justificar a urgência da introdução da alta velocidade</cite>.</p>
<p>Brilhante. Dificulta-se o crescimento das alternativas ao nosso projecto preferido (o TGV) como forma de justificar o projecto preferido. Isto, meus senhores, é o Estado no seu esplendor.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.luispedro.org/posts/estado/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>22.3%</title>
		<link>http://blog.luispedro.org/posts/223</link>
		<comments>http://blog.luispedro.org/posts/223#comments</comments>
		<pubDate>Tue, 12 Aug 2008 17:47:05 +0000</pubDate>
		<dc:creator>luispedro</dc:creator>
				<category><![CDATA[Economia]]></category>

		<guid isPermaLink="false">http://blog.luispedro.org/posts/223</guid>
		<description><![CDATA[Eu tenho dúvidas que seja possível medir o PIB formal com três digitos de precisão.
Não tenho dúvidas nenhumas que a estimativa do tamanho da economia informal tenha uma margem de erro de alguns pontos percentuais.
Dizer que a economia informal são 22.3% do PIB (um número repetido por todo o lado) é um disparate, um erro [...]]]></description>
			<content:encoded><![CDATA[<p>Eu tenho dúvidas que seja possível medir o PIB formal com três digitos de precisão.</p>
<p>Não tenho dúvidas nenhumas que a estimativa do tamanho da economia informal tenha uma margem de erro de alguns pontos percentuais.</p>
<p>Dizer que a economia informal são 22.3% do PIB (um número repetido por todo o lado) é um disparate, um erro científico em nome do cientificismo. São <cite>pouco mais de 20%</cite> é muito mais correcto.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.luispedro.org/posts/223/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sentence of the Day</title>
		<link>http://blog.luispedro.org/posts/sentence-of-the-day</link>
		<comments>http://blog.luispedro.org/posts/sentence-of-the-day#comments</comments>
		<pubDate>Mon, 11 Aug 2008 23:51:15 +0000</pubDate>
		<dc:creator>luispedro</dc:creator>
				<category><![CDATA[Economia]]></category>

		<guid isPermaLink="false">http://blog.luispedro.org/posts/sentence-of-the-day</guid>
		<description><![CDATA[ After every bubble, there&#8217;s generally a sort of an anti-bubble&#8211;when analysts start looking for reasons that this is the worst crisis ever.
Megan McArdle
]]></description>
			<content:encoded><![CDATA[<p><cite> After every bubble, there&#8217;s generally a sort of an anti-bubble&#8211;when analysts start looking for reasons that this is the worst crisis ever.</cite></p>
<p><a href="http://meganmcardle.theatlantic.com/archives/2008/08/alta_mortgages_dont_panic.php">Megan McArdle</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.luispedro.org/posts/sentence-of-the-day/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Briliant</title>
		<link>http://blog.luispedro.org/posts/briliant</link>
		<comments>http://blog.luispedro.org/posts/briliant#comments</comments>
		<pubDate>Mon, 11 Aug 2008 19:07:32 +0000</pubDate>
		<dc:creator>luispedro</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.luispedro.org/posts/briliant</guid>
		<description><![CDATA[In the series this is starting to look like a blog:
Some fireworks in the Olympics opening ceremony were digitally faked.
]]></description>
			<content:encoded><![CDATA[<p>In the series <i>this is starting to look like a blog</i>:</p>
<p>Some fireworks in the Olympics opening ceremony were <a href="http://www.msnbc.msn.com/id/26139005/">digitally faked</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.luispedro.org/posts/briliant/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nr of Athletes vs. GDP</title>
		<link>http://blog.luispedro.org/posts/nr-of-athletes-vs-gdp</link>
		<comments>http://blog.luispedro.org/posts/nr-of-athletes-vs-gdp#comments</comments>
		<pubDate>Sat, 09 Aug 2008 05:27:07 +0000</pubDate>
		<dc:creator>luispedro</dc:creator>
				<category><![CDATA[EUA]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.luispedro.org/posts/nr-of-athletes-vs-gdp</guid>
		<description><![CDATA[In the series this looks like a data analysis blog:
Looking at the number of athletes vs GDP (Data from Wikipedia), brings up a nice looking graph (dots are data points, the line is a linear fit in log-log space):

The nice fit leads to the following equation:
Nr = 0.07 * sqrt(GDP)
We can use this line to [...]]]></description>
			<content:encoded><![CDATA[<p>In the series <i>this looks like a data analysis blog</i>:</p>
<p>Looking at the number of athletes vs GDP (Data from Wikipedia), brings up a nice looking graph (dots are data points, the line is a linear fit in log-log space):</p>
<p><center><a href='http://blog.luispedro.org/posts/nr-of-athletes-vs-gdp/nr-of-athletes-vs-gdp-beijing-2008/' rel='attachment wp-att-1376' title='Nr of Athletes vs GDP Beijing 2008'><img src='http://blog.luispedro.org/wp-content/uploads/2008/08/log_gdp_log_nra.png' alt='Nr of Athletes vs GDP Beijing 2008' style="max-width:80%" /></a></center></p>
<p>The nice fit leads to the following equation:</p>
<p>Nr = 0.07 * sqrt(GDP)</p>
<p>We can use this line to compare how countries compare to what their GDP would predict. Let&#8217;s look at over- and under-achievers</p>
<h3>Countries that over-achieve (relative)</h3>
<table>
<tr>
<th>Country</th>
<th style="padding-right:1em">Predicted</th>
<th style="padding-right:1em">Actual</th>
<th style="padding-right:1em">Fold Increase</th>
</tr>
<tr>
<td style='padding-right:.5em'>Belarus</td>
<td>23</td>
<td>208</td>
<td>8.9</td>
</tr>
<tr>
<td style='padding-right:.5em'>Ukraine</td>
<td>44</td>
<td>254</td>
<td>5.8</td>
</tr>
<tr>
<td style='padding-right:.5em'>Zimbabwe</td>
<td>2</td>
<td>13</td>
<td>5.7</td>
</tr>
<tr>
<td style='padding-right:.5em'>Jamaica</td>
<td>11</td>
<td>56</td>
<td>5.1</td>
</tr>
<tr>
<td style='padding-right:.5em'>Moldova</td>
<td>6</td>
<td>31</td>
<td>4.8</td>
</tr>
<tr>
<td style='padding-right:.5em'>Mongolia</td>
<td>6</td>
<td>29</td>
<td>4.7</td>
</tr>
<tr>
<td style='padding-right:.5em'>Kiribati</td>
<td>1</td>
<td>3</td>
<td>4.6</td>
</tr>
<tr>
<td style='padding-right:.5em'>New Zealand</td>
<td>42</td>
<td>182</td>
<td>4.4</td>
</tr>
<tr>
<td style='padding-right:.5em'>Croatia</td>
<td>25</td>
<td>106</td>
<td>4.2</td>
</tr>
<tr>
<td style='padding-right:.5em'>Serbia</td>
<td>23</td>
<td>92</td>
<td>4.1</td>
</tr>
</table>
<h3>Countries that under-achieve (relative)</h3>
<table>
<tr>
<th>Country</th>
<th style="padding-right:1em">Predicted</th>
<th style="padding-right:1em">Actual</th>
<th style="padding-right:1em">Fold Decrease</th>
</tr>
<tr>
<td style='padding-right:.5em'>United Arab Emirates</td>
<td>52</td>
<td>5</td>
<td>10.5</td>
</tr>
<tr>
<td style='padding-right:.5em'>Haiti</td>
<td>7</td>
<td>1</td>
<td>7.4</td>
</tr>
<tr>
<td style='padding-right:.5em'>Guinea</td>
<td>7</td>
<td>1</td>
<td>6.8</td>
</tr>
<tr>
<td style='padding-right:.5em'>Kuwait</td>
<td>39</td>
<td>6</td>
<td>6.5</td>
</tr>
<tr>
<td style='padding-right:.5em'>Bangladesh</td>
<td>31</td>
<td>5</td>
<td>6.1</td>
</tr>
<tr>
<td style='padding-right:.5em'>Botswana</td>
<td>12</td>
<td>2</td>
<td>5.8</td>
</tr>
<tr>
<td style='padding-right:.5em'>Oman</td>
<td>22</td>
<td>4</td>
<td>5.5</td>
</tr>
<tr>
<td style='padding-right:.5em'>Algeria</td>
<td>42</td>
<td>8</td>
<td>5.3</td>
</tr>
<tr>
<td style='padding-right:.5em'>Democratic Republic of the Congo</td>
<td>10</td>
<td>2</td>
<td>5.2</td>
</tr>
<tr>
<td style='padding-right:.5em'>Cameroon</td>
<td>15</td>
<td>3</td>
<td>5.1</td>
</tr>
</table>
<p style="margin-top:2em">It&#8217;s the former socialist countries that over-achieve the most. Kiribati is a fluke, which would be removed by a more complete statistical treatment. New Zealand and Jamaica simply shine in sports.</p>
<p>Under-achievers tend to be either oil-rich or at war (not all, Bangladesh has neither). Saudia Arabia also does bad (16 athletes vs 76 predicted).</p>
<p>Interesting how oil wealth does not translate into sports gains. Maybe because it&#8217;s not the sports facilities but positive cultural factors that matters most in explaining the GDP dependency. The two factors just tend to be bundled together in rich countries. However, they become unbundled in oil-wealthy countries and they cannot make it to the Olympics.</p>
<p>Still, note the absence of Norway and Canada in this list. In fact, Canada out-performs its GDP prediction by a factor of 2 (Norway does as expected). Not that this disproves the theory: both countries are culturally western.</p>
<p>Interesting, the US has almost exactly as many people in the event as its GDP predicts (548 predicted vs. 595 actual&#8212;too small of a difference to be significant). Its power is explained simply by wealth (and not by superior patriotism, cultural interest in sports, or any other such explanation).</p>
<p>China, on the other hand, outperforms its prediction by a factor of 2.6 (247 predicted vs. 639 actual&#8212;the biggest absolute difference between predicted and actual in the world). Like ex-socialist countries, China&#8217;s performance can probably be attributed to sport performance being treated as a state matter.</p>
<p style="font-size: smaller">For those interested in reproducing this: <a href='http://blog.luispedro.org/wp-content/uploads/2008/08/gdp_nratar.gz' title='Source Code'>Source code</a> to generate plot and figures (in Python, requiring numpy and matplotlib&#8212;mostly a dump of an interactive ipython session, so not very clean).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.luispedro.org/posts/nr-of-athletes-vs-gdp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
