<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Aid Writing</title>
	<atom:link href="http://aidwriting.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://aidwriting.wordpress.com</link>
	<description>the idle thoughts of a research fellow</description>
	<lastBuildDate>Fri, 06 Jul 2012 10:38:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='aidwriting.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/8f4eac7368344e218289fb340ffbd55e?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Aid Writing</title>
		<link>http://aidwriting.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://aidwriting.wordpress.com/osd.xml" title="Aid Writing" />
	<atom:link rel='hub' href='http://aidwriting.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Why so quiet?</title>
		<link>http://aidwriting.wordpress.com/2012/07/03/why-so-quiet/</link>
		<comments>http://aidwriting.wordpress.com/2012/07/03/why-so-quiet/#comments</comments>
		<pubDate>Tue, 03 Jul 2012 11:13:05 +0000</pubDate>
		<dc:creator>paulclist</dc:creator>
				<category><![CDATA[Mini Essay]]></category>

		<guid isPermaLink="false">http://aidwriting.wordpress.com/?p=447</guid>
		<description><![CDATA[Why have I been writing so little of late? Well, by way of explanation here is a quote: It is strange that there should be so little reading in the world, and so much writing. People in general do not &#8230; <a href="http://aidwriting.wordpress.com/2012/07/03/why-so-quiet/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=447&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Why have I been writing so little of late? Well, by way of explanation here is a quote:</p>
<blockquote><p>It is strange that there should be so little reading in the world, and so much writing. People in general do not willingly read, if they can have any thing else to amuse them.</p></blockquote>
<p>Dr Johnson, Boswell&#8217;s life of Samuel Johnson, Vol IV May 1, 1783, p. 513. He also said:</p>
<blockquote><p>I never desire to converse with a man who has written more than he has read.</p></blockquote>
<p>So, what is the explanation? Well I&#8217;ve reading a lot and writing little. Or, perhaps more accurately, I&#8217;m reading a lot of work and revising my own. Both are fairly time consuming and so I&#8217;ve cut back on these occasion thoughts. But my idle thoughts will be posted here when the mood strikes me.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aidwriting.wordpress.com/447/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aidwriting.wordpress.com/447/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=447&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aidwriting.wordpress.com/2012/07/03/why-so-quiet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ec0c70fe5d9beb4aeb9b0e970ead4794?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">paulclist</media:title>
		</media:content>
	</item>
		<item>
		<title>Aid Conditionality: a dual self model</title>
		<link>http://aidwriting.wordpress.com/2012/05/14/aid-conditionality-a-dual-self-model/</link>
		<comments>http://aidwriting.wordpress.com/2012/05/14/aid-conditionality-a-dual-self-model/#comments</comments>
		<pubDate>Mon, 14 May 2012 08:45:25 +0000</pubDate>
		<dc:creator>paulclist</dc:creator>
				<category><![CDATA[Mini Essay]]></category>
		<category><![CDATA[conditionality]]></category>
		<category><![CDATA[dual self model]]></category>
		<category><![CDATA[seinfeld]]></category>

		<guid isPermaLink="false">http://aidwriting.wordpress.com/?p=413</guid>
		<description><![CDATA[I am currently revising this paper, that I presented at the CSAE and RES conferences around Easter. The thing I&#8217;m trying to explain is why donors find it difficult to enforce conditions on their aid, given that they themselves agreed these conditions. &#8230; <a href="http://aidwriting.wordpress.com/2012/05/14/aid-conditionality-a-dual-self-model/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=413&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I am currently revising <a href="https://editorialexpress.com/cgi-bin/conference/download.cgi?db_name=CSAE2012&amp;paper_id=180">this paper</a>, that I presented at the CSAE and RES conferences around Easter. The thing I&#8217;m trying to explain is why donors find it difficult to enforce conditions on their aid, given that they themselves agreed these conditions. Previous research has gone a long way to explaining it, but has typically taken as given the part where the aid contract is agreed, which hampers the ability to explain contradictory behaviour a lot. In the paper I try to explain the seemingly contradictory behaviour (i.e. agreeing conditions but not enforcing them) using a dual self model. The favourite way of explaining this, which I can&#8217;t put in the paper, is here:</p>
<p><a href="http://yadayadayadaecon.com/clip/102/">A Nice little clip from Yada Yada Yada Econ</a><br />
(I don&#8217;t seem to be able to embed this, so go to the site to watch it)</p>
<p>If you ignored the video, then the unfunny version is that Jerry Seinfeld is night guy &#8211; getting up early in the morning after a late night is <em>morning</em> guys problem. This is a dual-self model, as talked about by a whole host of economists. To borrow Jerry Seinfeld&#8217;s terminology, the donor that agrees the aid contract is night guy, and the morning guy is the donor that has to enforce the aid contract. However, it is emotionally quite difficult to withhold aid from poor countries &#8211; but hey that&#8217;s <em>morning</em> guys problem. Night guy doesn&#8217;t predict this difficulty, and so carries on making tough contracts that don&#8217;t get acted upon. Unfortunately, I really can&#8217;t embed the video in the revised version of the paper, so it will only get this far.</p>
<p>Another piece which won&#8217;t make it into the revised paper is a host of quotes from the <a href="http://www.parliament.uk/documents/lords-committees/economic-affairs/DevelopmentAid/DevAidEvidenceVol.pdf">Lord&#8217;s select committee on aid</a>. Select committees in the UK parliamentary system are very topical at the minute (see the judgement that Rupert Murdoch being unfit to run a company), but they are very dry affairs. So I was surprised to find such good quotes in them, from some key people, that illustrate the difficulty in enforcing aid conditions. A case in point:</p>
<blockquote><p>In a period of 35 years, we really should have learned to read the signs and to act on them, and I think we have a very, very short term view, unfortunately, in our foreign policy and our aid policy.”</p></blockquote>
<p>This is Sir Edward Clay, famous for taking the Kenyan government to task on corruption while he was the British High commissioner there. His point is that being tough is difficult in the short term but it buys you more power in the long run. But typically donors think short-term and don&#8217;t punish recipients.</p>
<p>Then we have an interesting little exchange about the mechanics of how a decision is made regarding how to change aid in the face of poor governance/corruption/etc</p>
<blockquote>
<p style="text-align:left;"><strong>Lord Tugendhat</strong>: What is the procedure in the department whereby you would decide that country X is not cutting the mustard on a sufficient number of these and that you should suspend, withhold or at any rate not dish out in the normal way your aid? Would it be the Secretary of State who decides? How would it be done?</p>
<p style="text-align:left;"><strong>Rachel Turner</strong> (Director, International Finance Division, Department for International Development): It would be the Secretary of State. We tend to articulate this as a four-step process if we are concerned about performance on one of these partnership principles. The four steps are fairly straightforward. The first is that we signal concerns to the Government and we intensify dialogue around them. We might delay all or part of a disbursement. In our annual report each year, we publish any specific delays to disbursement because of concerns about a partnership principle. We may change the way in which we deliver aid. We may take aid away from the Government and route it through NGOs or other sorts of partnerships. Finally, we may stop aid to the Government and/or to the country. So we have that four-step process.</p>
</blockquote>
<p style="text-align:left;">So, a four step process with the last step being withholding aid, and the decision is made by the secretary of state. This is interesting because while certain statements may be made about how and when aid would be cut off, it is unclear from most documents who makes the final decision.</p>
<p style="text-align:left;">Here is another interesting exchange about whether donors can actually withhold aid, which could be taken straight from the theoretical models of the difficulty of withholding aid:</p>
<blockquote><p><strong>Baroness Kingsmill</strong>: And could we withhold aid if that was not forthcoming?<br />
<strong>Max Lawson</strong> (acting Head of Advocacy, Oxfam): My personal feeling is that, in almost every instance, withholding aid achieves the opposite of what you want to do. I am watching with horror at the slow-motion car crash that we are seeing in Malawi at the moment , where the President, who had been doing a great job, has basically, as far as we can see, gone a little bit mad and is very sick. We are seeing a situation where he is getting very, very intransigent and he is looking across the borders at Zimbabwe and is thinking and acting in a very similar way. We are withdrawing our aid, as the UK, and all this is succeeding in doing is making him more angry, so that he is impinging swingeing cuts on his population to pay for that. I really worry that quite often a kneejerk reaction, and the removal of aid entirely, only hurts the poorest people&#8230; It is about weighing the different rights up against each other&#8230;</p></blockquote>
<p>And yet another interesting exchange illustrating the same thing.</p>
<blockquote><p><strong>Lord Lipsey</strong>: It is more than just complicated, isn’t it? If you withdraw the aid, you may have a dual effect. Yes, you punish the person who has been ripping off the money but you also punish the people who were benefiting from the project. If, out of the money going to an education project, 80% was getting through and 20% was going into the pocket of the civil servant responsible for that bit of education, you would be making the beneficiaries of  the 80% suffer if you stopped the aid.<br />
<strong>Laurence Cockcroft</strong> ( Member of  the Board of Trustees, Transparency International UK) : That is part of a broader argument. There is frankly not a ready answer to that question. In informal discussions with many people in the countries that we are concerned with, I found an extraordinary willingness to be tough with those at the top who are milking the system, but that is a slightly different point.</p></blockquote>
<p>It is rare to get such a good insight into the thought processes of the people whose decisions you are trying to model, and so these quotes are really useful background. Unfortunately I don&#8217;t have the space for all of them, or the guts to include Jerry Seinfeld in the paper.</p>
<br /> Tagged: <a href='http://aidwriting.wordpress.com/tag/conditionality/'>conditionality</a>, <a href='http://aidwriting.wordpress.com/tag/dual-self-model/'>dual self model</a>, <a href='http://aidwriting.wordpress.com/tag/seinfeld/'>seinfeld</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aidwriting.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aidwriting.wordpress.com/413/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=413&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aidwriting.wordpress.com/2012/05/14/aid-conditionality-a-dual-self-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ec0c70fe5d9beb4aeb9b0e970ead4794?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">paulclist</media:title>
		</media:content>
	</item>
		<item>
		<title>MVP paper in the Lancet</title>
		<link>http://aidwriting.wordpress.com/2012/05/09/mvp-paper-in-the-lancet/</link>
		<comments>http://aidwriting.wordpress.com/2012/05/09/mvp-paper-in-the-lancet/#comments</comments>
		<pubDate>Wed, 09 May 2012 14:18:45 +0000</pubDate>
		<dc:creator>paulclist</dc:creator>
				<category><![CDATA[Mini Essay]]></category>

		<guid isPermaLink="false">http://aidwriting.wordpress.com/?p=406</guid>
		<description><![CDATA[So, the much promised paper on the Millennium Village Project has landed, published in the Lancet (open access; see also an article in the huffington post by some of the authors).The headline claim is an effect on infant mortality, said to be falling 3 &#8230; <a href="http://aidwriting.wordpress.com/2012/05/09/mvp-paper-in-the-lancet/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=406&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>So, the much promised paper on the Millennium Village Project has landed, published in the <a href="http://press.thelancet.com/mv.pdf">Lancet (open access</a>; see also <a href="http://www.huffingtonpost.com/jeffrey-sachs/breakthroughs-in-health-i_b_1498330.html">an article in the huffington post</a> by some of the authors).The headline claim is an effect on infant mortality, said to be falling 3 times quicker in MVP villages versus a control. I covered some of the background on this <a href="http://wp.me/p1ZG81-6t">here</a>, and the reactions in the aid blogs can be found below, from least skeptical to most.</p>
<ul>
<li><a href="http://www.guardian.co.uk/global-development/2012/may/08/child-mortality-jeffrey-sachs-millennium-villages">The Guardian</a> have been very supportive of the whole MVP idea, and their write up could have been written by Sachs himself such is its support for the paper.</li>
<li><a href="http://www.aviewfromthecave.com/2012/05/mvp-claims-child-mortality-reduction.html">A View From The Cave</a> quotes a skeptical article in <a href="http://www.nature.com/news/development-project-touts-health-victory-1.10603">Nature</a>, and has a long summary of the points, but he says &#8220;This all not to suggest that the program was not successful. We have to take the gains at face value.&#8221; Hmm.</li>
<li><a href="http://www.developmenthorizons.com/2012/05/mvp-impacts-new-paper-in-lancet.html">Lawrence Haddad</a> is not convinced, and doesn&#8217;t think this tells us enough about MVPs to &#8216;prove&#8217; whether they are good or bad.</li>
<li>I agree with <a href="http://aidthoughts.org/?p=3330">Matt at Aid Thoughts</a> when he says &#8220;Enter the <a href="http://www.thelancet.com/">Lancet</a>, a reputable medical journal which has a worrying tendency to publish really disreputable social science research&#8221;. He also puts the study in the context of widely falling rates of infant mortality across Africa i.e. the MVP result is <em>not</em> exceptional, and a properly chosen counter factual would tell you that.</li>
<li><a href="http://www.rovingbandit.com/2012/05/omg-millennium-villages-increase.html">Lee Crawford</a> is&#8230; even less impressed. He goes through some of the non-touted results, showing the paper cherry picks its headline results somewhat.</li>
</ul>
<p>Personally, I&#8217;m waiting to see Michael Clemens take the paper apart in his admirably detached and sensible fashion. Three points from me:</p>
<ol>
<li>It seem incredible that the topic of value for money isn&#8217;t engaged with. At all.</li>
<li>To spend so much money with so little regard for results (and defensible methodology) is, well, shocking.</li>
<li>Claiming success based on <em>one</em> of many indicators is choosing your target after you&#8217;ve shot.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aidwriting.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aidwriting.wordpress.com/406/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=406&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aidwriting.wordpress.com/2012/05/09/mvp-paper-in-the-lancet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ec0c70fe5d9beb4aeb9b0e970ead4794?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">paulclist</media:title>
		</media:content>
	</item>
		<item>
		<title>NYU&#8217;s DRI Conference videos 1: MVPs</title>
		<link>http://aidwriting.wordpress.com/2012/05/02/nyus-dri-conference-videos-1-mvps/</link>
		<comments>http://aidwriting.wordpress.com/2012/05/02/nyus-dri-conference-videos-1-mvps/#comments</comments>
		<pubDate>Wed, 02 May 2012 08:47:11 +0000</pubDate>
		<dc:creator>paulclist</dc:creator>
				<category><![CDATA[Mini Essay]]></category>

		<guid isPermaLink="false">http://aidwriting.wordpress.com/?p=401</guid>
		<description><![CDATA[A fantastic set of videos are available from the Development Conference that was held at NYU&#8217;s Development Research Institute. Today I&#8217;ll talk about the first theme of the day: the Millennium Village Project. We had, in order of appearance: William Easterly, doing an odd &#8216;stand-up&#8217; routine. He also &#8230; <a href="http://aidwriting.wordpress.com/2012/05/02/nyus-dri-conference-videos-1-mvps/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=401&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>A fantastic <a href="http://nyudri.org/events/past-events/annual-conference-2012-debates-in-development/">set of videos</a> are available from the Development Conference that was held at NYU&#8217;s Development Research Institute. Today I&#8217;ll talk about the first theme of the day: the Millennium Village Project. We had, in order of appearance:</p>
<ul>
<li>William Easterly, doing an odd &#8216;stand-up&#8217; routine. He also makes points about learning by failure (entrepreneurial) vs learning by experts (RCTs). It was more of the same point he hammers away at (searchers &gt; planners) but in the RCT context.</li>
<li>Michael Clemens, giving a really great talk on MVPs, and more broadly the post-MDG world where either an &#8216;evaluation&#8217; or &#8216;goals&#8217; mindset will take the lead. He was passionate and level-headed the whole way through.</li>
<li>Bernadette Wanjala, presenting her paper (which I heard at the CSAE), which is the best evidence of which I&#8217;m aware regarding the impact of MVPs. She basically finds that the massive investment had little/no effect on those in the MVP.</li>
<li>Stewart Paperin, saying that the Soros foundation helped fund the MVP without thinking it would solve poverty for the treated villages. This is despite the per person spend of several thousand dollars (492 dollars per person for 5 years, i.e. 8 times income). He completely missed  Michael Clemens&#8217; point, and downplayed the usefulness of knowing what effect this massive investment had. I find it amazing that you can spend so much money with so little regard for the effect it has on the lives of those you claim to be trying to help.</li>
</ul>
<div>
<p>In the &#8217;round 2&#8242; video, Michael Clemens then explains clearly to Stewart Paperin why he is wrong.  Stewart Paperin fails to understand again. The Q&amp;A had various questions from Columbia students, but there wasn&#8217;t time to answer them.</p>
<p>In general, Michael Clemens showed the benefit of being modest and sensible. William Easterly&#8230; didn&#8217;t. Although Easterly was fun &amp; interesting he wouldn&#8217;t have convinced  anyone that didn&#8217;t agree with him already. I thought it was amazing that Stewart Paperin can justify that the MVPs do not collect the most basic information available. Maybe thats why I&#8217;m not a billionaire, a case of &#8216;ignore the millions and the billions will look after themselves?&#8217;</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aidwriting.wordpress.com/401/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aidwriting.wordpress.com/401/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=401&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aidwriting.wordpress.com/2012/05/02/nyus-dri-conference-videos-1-mvps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ec0c70fe5d9beb4aeb9b0e970ead4794?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">paulclist</media:title>
		</media:content>
	</item>
		<item>
		<title>UK Aid debates: a round up of the last few weeks/months</title>
		<link>http://aidwriting.wordpress.com/2012/04/30/uk-aid-debates-a-round-up-of-the-last-few-weeksmonths/</link>
		<comments>http://aidwriting.wordpress.com/2012/04/30/uk-aid-debates-a-round-up-of-the-last-few-weeksmonths/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 06:40:03 +0000</pubDate>
		<dc:creator>paulclist</dc:creator>
				<category><![CDATA[Mini Essay]]></category>

		<guid isPermaLink="false">http://aidwriting.wordpress.com/?p=365</guid>
		<description><![CDATA[There have been a host of interesting little bits and bobs about aid in the UK over the last few weeks/months. A lot of the discussion has been around the 0.7% figure: the amount of GNI that the UK has &#8230; <a href="http://aidwriting.wordpress.com/2012/04/30/uk-aid-debates-a-round-up-of-the-last-few-weeksmonths/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=365&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>There have been a host of interesting little bits and bobs about aid in the UK over the last few weeks/months. A lot of the discussion has been around the 0.7% figure: the amount of GNI that the UK has promised to spend on development from 2013. My own thoughts are that a) the target shows the extent to which development aid receives popular support. When all of the polls said that the electorate wanted to spend more on aid, it was highly possible that they&#8217;d change their minds when it actually came to paying for it. That hasn&#8217;t happened. b) The target will lead to all sorts of shenanigans that are unhelpful. You can see the rise of expensive PPP funding of infrastructure projects as a way of governments keeping within artificial debt rules (see most editions of Private Eye). In the case of aid, I&#8217;m worried that non-development spending will get counted as aid. So, if the government starts increasing the definition of aid to include (for example) research funding, Iraq security and embassy costs, then how do we know aid has actually increased? There are lots of other views available&#8230;</p>
<h2>DfID under the Conservatives</h2>
<p><a href="http://www.developmenthorizons.com/2012/04/dfid-two-years-in-hows-it-going-so-far.html">Lawrence Haddad</a> has a nice little reflective piece with comments from several interesting people on DfID&#8217;s performance under the coalition government. In general their is praise for the 0.7% target and a good spread of different criticisms, which either means DfID are doing well (not missing anything big &amp; obvious) or awfully (they could improve everywhere!). It definitely appears to be the former.</p>
<p>There is an interview with DfID&#8217;s Secretary of State, <a href="http://www.guardian.co.uk/global-development/2012/mar/23/andrew-mitchell-interview-international-development">Andrew Mitchell</a>. It isn&#8217;t particularly revealing, but it is worth a read.</p>
<h2>The 0.7% target</h2>
<p><a href="http://www.guardian.co.uk/global-development/2012/mar/29/abolish-uk-aid-target-say-peers?INTCMP=SRCH">The Lords</a> start this off, with a good quote:</p>
<blockquote><p>&#8220;We believe that development aid should be judged by the criteria of effectiveness and value for money, not by whether a specific arbitrary spending target is reached.&#8221;</p></blockquote>
<p>There is some reaction from <a href="http://www.guardian.co.uk/global-development/poverty-matters/2012/mar/30/move-beyond-aid-debate?INTCMP=SRCH">John Hillary in the guardian</a>, where he states &#8220;we must now move beyond aid in any discussion of social and economic justice.&#8221; <a href="http://www.newstatesman.com/blogs/the-staggers/2012/04/aid-target-development-debate">Alice Evans (head of ODI), in the new statesman</a>, is a lot more thoughtful and worth reading. At the other end of the spectrum is Ian Birrell, in the <a href="http://www.spectator.co.uk/essays/all/7652098/big-charity.thtml">Spectator</a> about aid, with a fairly familiar disdain towards the whole &#8216;aid industry&#8217;. He makes some cheap points, and talks about the great oxfam pool debate, without giving any context or fairness to it. He gives some examples of waste &#8211; the usual stuff.</p>
<p>This post shows how far the aid debate in the UK has come, and how far it needs to go. The public does accept that aid is an important part of the UK government, but a mature debate about aid doesn&#8217;t consist of each side pretending aid is uniformly good or bad. When we accept that aid can be either, we can work on improving it, bit by bit, without fear that &#8216;aid is bad&#8217; stories undermine the public support for aid. And we can celebrate successes with more credibility.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aidwriting.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aidwriting.wordpress.com/365/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=365&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aidwriting.wordpress.com/2012/04/30/uk-aid-debates-a-round-up-of-the-last-few-weeksmonths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ec0c70fe5d9beb4aeb9b0e970ead4794?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">paulclist</media:title>
		</media:content>
	</item>
		<item>
		<title>Confirmation Bias</title>
		<link>http://aidwriting.wordpress.com/2012/04/23/confirmation-bias/</link>
		<comments>http://aidwriting.wordpress.com/2012/04/23/confirmation-bias/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 08:59:23 +0000</pubDate>
		<dc:creator>paulclist</dc:creator>
				<category><![CDATA[Mini Essay]]></category>

		<guid isPermaLink="false">http://aidwriting.wordpress.com/?p=388</guid>
		<description><![CDATA[Matt from aidthoughts.org has a nice post about 2 RCTs that look at the effect of clean stoves. One is popular, well known and confirms the suspicion of many. The other isn&#8217;t. The former finds no impact of providing clean stoves &#8230; <a href="http://aidwriting.wordpress.com/2012/04/23/confirmation-bias/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=388&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://aidthoughts.org/?p=3282">Matt from aidthoughts.org</a> has a nice post about 2 RCTs that look at the effect of clean stoves. One is popular, well known and confirms the suspicion of many. The other isn&#8217;t. The former finds no impact of providing clean stoves in India, the latter finds that they do make a difference in rural Senegal. Matt argues that we should be wary of listening to only things we agree with, and not be surprised by finding different results in different contexts.</p>
<p>This is a nice example of confirmation bias (where you listen most to evidence that confirms what you already think) but also publication bias (i.e. boring papers aren&#8217;t published). Because the prevailing attitude of funders has been that clean stoves are important, the null result is interesting and the alternative result isn&#8217;t, but in time the more interesting result would be the alternative result. Unfortunately, boring papers are quiet useful &#8211; they confirm things we already know, and that is a very good thing.</p>
<p>One thing struck me while reading the post &#8211; publication bias and confirmation bias will often work in opposite directions. Confirmation bias will mean that something we all think is more likely to be listened to, whereas publication bias means it is less likely to be published. As usual, my go to recomendation on this kind of thing is <a href="http://www.amazon.co.uk/gp/product/000728487X/ref=as_li_ss_tl?ie=UTF8&amp;tag=aidwr-21">Bad Science</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aidwriting.wordpress.com/388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aidwriting.wordpress.com/388/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=388&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aidwriting.wordpress.com/2012/04/23/confirmation-bias/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ec0c70fe5d9beb4aeb9b0e970ead4794?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">paulclist</media:title>
		</media:content>
	</item>
		<item>
		<title>CSAE Plenary Sessions</title>
		<link>http://aidwriting.wordpress.com/2012/04/18/csae-plenary-sessions/</link>
		<comments>http://aidwriting.wordpress.com/2012/04/18/csae-plenary-sessions/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 09:51:33 +0000</pubDate>
		<dc:creator>paulclist</dc:creator>
				<category><![CDATA[Mini Essay]]></category>
		<category><![CDATA[csae]]></category>

		<guid isPermaLink="false">http://aidwriting.wordpress.com/?p=367</guid>
		<description><![CDATA[Normally I&#8217;m not a fan of plenary sessions, but there were a few interesting discussions that highlighted research I hadn&#8217;t previously come across. They can all be watched here. The highlights for me were: Jakob Svensson&#8217;s call for micro research on institutions, &#8230; <a href="http://aidwriting.wordpress.com/2012/04/18/csae-plenary-sessions/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=367&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Normally I&#8217;m not a fan of plenary sessions, but there were a few interesting discussions that highlighted research I hadn&#8217;t previously come across. They can all be watched <a href="http://fsmevents.com/csae/index.html">here</a>. The highlights for me were:</p>
<p>Jakob Svensson&#8217;s call for micro research on institutions, which drew my attention to <a href="http://people.su.se/~jsven/PtP_QJE.pdf">this paper</a>, forthcoming in the QJE. It looks at strong/lite participation in community monitoring of health provision and is a nice example of the kind of literature which he was pushing.</p>
<p>Martin Ravallion spoke about the effect of poverty on growth, and claims growth economists have mistakenly attributed this effect to inequality. You can read his thoughts in a <a href="http://blogs.worldbank.org/developmenttalk/politically-filtered-views-on-progress-against-poverty">blog post</a> or in the <a href="http://www.aeaweb.org/articles.php?doi=10.1257/aer.102.1.504">forthcoming AER article</a>.</p>
<p>The last panel had little structure, but had a few intersting discussions. It was nice to hear Ernest Aryeety&#8217;s optimism over lessons learnt. Ravi Kanbur pointed out that young nations need time to foster a sense of national unity &#8211; a non-linear process. It was also interesting to hear a certain member of the panel be quite so openly negative about Wade&#8217;s decision to stand in the Senegalese elections &#8211; but I&#8217;m sure he would be very happy to see Wade make the decision to stand down, as soon as it became crystal clear he would lose the election.</p>
<p>A bit of an eclectic mix, but there should be something worth looking at.</p>
<br /> Tagged: <a href='http://aidwriting.wordpress.com/tag/csae/'>csae</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aidwriting.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aidwriting.wordpress.com/367/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=367&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aidwriting.wordpress.com/2012/04/18/csae-plenary-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ec0c70fe5d9beb4aeb9b0e970ead4794?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">paulclist</media:title>
		</media:content>
	</item>
		<item>
		<title>What double-blind experiments help us to see about RCTs</title>
		<link>http://aidwriting.wordpress.com/2012/04/03/what-double-blind-experiments-help-us-to-see-about-rcts/</link>
		<comments>http://aidwriting.wordpress.com/2012/04/03/what-double-blind-experiments-help-us-to-see-about-rcts/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 11:01:58 +0000</pubDate>
		<dc:creator>paulclist</dc:creator>
				<category><![CDATA[Mini Essay]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[csae]]></category>
		<category><![CDATA[RCTs]]></category>

		<guid isPermaLink="false">http://aidwriting.wordpress.com/?p=358</guid>
		<description><![CDATA[I am only just emerging from a post-conference fog, which happened to coincide with a number of papers needing to be revised or thought about. Now I&#8217;m feeling a little more human, I&#8217;ll post a few select highlights of papers &#8230; <a href="http://aidwriting.wordpress.com/2012/04/03/what-double-blind-experiments-help-us-to-see-about-rcts/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=358&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I am only just emerging from a post-conference fog, which happened to coincide with a number of papers needing to be revised or thought about. Now I&#8217;m feeling a little more human, I&#8217;ll post a few select highlights of papers that are worth reading, or at least hearing about. Today, I&#8217;ll kick off with a paper based around a very clever little idea, presented by <a href="http://www.dec.wur.nl/UK/Staff/Bulte/">Erwin Bulte</a> (co authors: Lei Pan, Joseph Hella, Gonne Beekman and Salvatore di Falco). You can read it <a href="https://editorialexpress.com/cgi-bin/conference/download.cgi?db_name=CSAE2012&amp;paper_id=251">here</a>. Below is my own personal account of the paper, to whet your appetite.</p>
<p>Basically, they wanted to look at whether RCTs as normally done are missing the point. Standard RCTs in medicine have &#8216;true&#8217; placebos, with the control group receiving an injection or sugar pill, whereas in economics the control group normally has no &#8216;intervention&#8217;. Medicine is advanced in looking at placebo effects: an injection has a bigger effect than a pill, and a coloured pill has a bigger effect than a white pill. The effect <em>is not just psychological:</em> it really does effect how the body works (see <a href="http://www.amazon.co.uk/gp/product/0007240198/ref=as_li_ss_tl?ie=UTF8&amp;tag=aidwr-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=0007240198">Bad Science </a>for a readable account). So, what has this got to do with development? Basically the idea is that the treated group may change their behaviour because they know they are being treated. Bulte et al found an ingenius way of testing for this.</p>
<p>They took two seeds. One was a &#8216;miracle new seed&#8217;, the other a standard seed. First, they ran a standard RCT whereby they gave the standard seed to a control group, and the new seed to the treated group (with random assignment). If you just looked at the results on this, you&#8217;d conclude it was a great success. But&#8230;</p>
<p>They also ran a second part of the experiment. This second group of farmers was also divided into two, and they got either the new seed or the old seed. However, they didn&#8217;t know which one they got. If you compared the yields of these farmers, there was no difference &#8211; the miracle seed didn&#8217;t work. The mechanism seems to be that treated farmers (who knew they were being treated) increased the amount of land they gave over to the miracle seed. The great thing about the paper is that it allows you to get a handle on the size of these effects. We can&#8217;t run sham clinics or sham micro-finance groups, but the indistinguishable seeds allow us to distinguish between the effect of the treatment on the treated, and the effect of knowing you&#8217;re being treated on the treated. This sheds some doubt on results in areas where we can&#8217;t easily control for this effect.</p>
<p>I have one question for you, readers. They call this effect (the effect of knowing you&#8217;re being treated on the treated) the pseudo-placebo effect. I thought the Hawthorne effect covered this but Erwin thinks this is just the narrow effect of working harder. I suspect we&#8217;ve had a case of semantic narrowing in economics, whereas in medicine the Hawthorne effect is much broader. Any ideas?</p>
<br /> Tagged: <a href='http://aidwriting.wordpress.com/tag/conference/'>conference</a>, <a href='http://aidwriting.wordpress.com/tag/csae/'>csae</a>, <a href='http://aidwriting.wordpress.com/tag/rcts/'>RCTs</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aidwriting.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aidwriting.wordpress.com/358/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=358&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aidwriting.wordpress.com/2012/04/03/what-double-blind-experiments-help-us-to-see-about-rcts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ec0c70fe5d9beb4aeb9b0e970ead4794?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">paulclist</media:title>
		</media:content>
	</item>
		<item>
		<title>The CSAE Conference (and my most popular post)</title>
		<link>http://aidwriting.wordpress.com/2012/03/21/the-csae-conference-and-my-most-popular-post/</link>
		<comments>http://aidwriting.wordpress.com/2012/03/21/the-csae-conference-and-my-most-popular-post/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 11:04:29 +0000</pubDate>
		<dc:creator>paulclist</dc:creator>
				<category><![CDATA[Mini Essay]]></category>

		<guid isPermaLink="false">http://aidwriting.wordpress.com/?p=356</guid>
		<description><![CDATA[My most popular post: I wrote a very simple bit of code using stata to track simple stocks portfolios, and posted it here on my development blog. The post attracted more attention than any of my posts about development aid, &#8230; <a href="http://aidwriting.wordpress.com/2012/03/21/the-csae-conference-and-my-most-popular-post/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=356&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><strong>My most popular post</strong>: I wrote a very simple bit of code using stata to track simple stocks portfolios, <a href="http://aidwriting.wordpress.com/2012/03/16/checking-a-simple-stock-portfolio-with-stata-easily/">and posted it here on my development blog</a>. The post attracted more attention than any of my posts about development aid, a fact of which I am slightly ashamed. But it got picked up <a href="http://enoriver.net/index.php/2012/03/20/stata-for-stocks/">here </a>and by stata themselves, and I&#8217;m glad that it has been of use.</p>
<p>The<strong> CSAE conference</strong>: I am in a post-conference fog have listened to a vast number of presentations in a few days. I will post links to interesting papers at some point (once I recover) but until then I&#8217;d recommend having a look at the <a href="http://fsmevents.com/csae/index.html">plenary sessions</a> which are available to watch. I&#8217;d suggest Martin Ravallion&#8217;s would be a good place to start, as he argues poverty (not inequality) restrains growth. It was a very interesting talk.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aidwriting.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aidwriting.wordpress.com/356/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=356&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aidwriting.wordpress.com/2012/03/21/the-csae-conference-and-my-most-popular-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ec0c70fe5d9beb4aeb9b0e970ead4794?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">paulclist</media:title>
		</media:content>
	</item>
		<item>
		<title>Checking a simple stock portfolio with stata, easily</title>
		<link>http://aidwriting.wordpress.com/2012/03/16/checking-a-simple-stock-portfolio-with-stata-easily/</link>
		<comments>http://aidwriting.wordpress.com/2012/03/16/checking-a-simple-stock-portfolio-with-stata-easily/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 10:36:13 +0000</pubDate>
		<dc:creator>paulclist</dc:creator>
				<category><![CDATA[Mini Essay]]></category>
		<category><![CDATA[stata]]></category>
		<category><![CDATA[stocks]]></category>

		<guid isPermaLink="false">http://aidwriting.wordpress.com/?p=337</guid>
		<description><![CDATA[If you are in the limited group of people who: Own some stocks, Own a copy of Stata, and Want to use 2 to check on 1 &#8230; then this post may be very useful for you. I used the &#8230; <a href="http://aidwriting.wordpress.com/2012/03/16/checking-a-simple-stock-portfolio-with-stata-easily/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=337&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If you are in the limited group of people who:</p>
<ol>
<li>Own some stocks,</li>
<li>Own a copy of Stata, and</li>
<li>Want to use 2 to check on 1</li>
</ol>
<p>&#8230; then this post may be very useful for you. I used the stata command stockquote so you&#8217;ll have to install that first (type: findit stockquote) if you haven&#8217;t already. That command does all the heavy lifting, I&#8217;ve just written 3 small programs to mean you can use it to see what your portfolio is worth, with minimal fuss. I wrote it for 2 reasons: first to practise using dates in stata, and second to solve a problem. I got fed up with using google finance to check my (very modest) investments as it seems to add or subtract cash from the portfolio for no apparent reason. Stata does the job well, but as soon as others use it I&#8217;m sure you&#8217;ll find a bug or two: let me know if you do at paulclist -at- gmail.com.</p>
<p>Step 1: copy and past the hundred-ish lines of code at the end of this post (after the fold) into a do file. Run it as an individual do file, save as an ado or just stick it at the top of a do file. If several people find it useful I may write it up properly, so it can be installed from stata and so forth, but for now I&#8217;m using a low tech solution.</p>
<p>Step 2: Write a do file with your investments using three commands, giving information on the starting date and funds (stockstart), purchases (stockbuy) and sales (stocksell).</p>
<p>Step 3: Press do. You&#8217;ll get the daily price of your portfolio and the equivalent performance of the ftse.</p>
<p>So, lets do a little <strong>example </strong>of step 2 (included at the end of the code below too):</p>
<p>stockstart 2011 01 03 1000<br />
stockbuy 10/01/2011 RR.L 152 1000<br />
stocksell 10/01/2012 RR.L 152 1169<br />
tsset Date, daily<br />
tsline ftsecompare total</p>
<p>The<strong> first</strong> command  tells stata that you started investing on the 3rd of January 2011 with 1000 (I&#8217;ll use pounds here but the currency is determined by the currency of the stock you buy). The <strong>second</strong> command says that you bought 152 shares in Rolls Royce (you need to use Yahoo Finances ticker symbols) on the 10th of Jan 2011 at the total cost of 1000. The <strong>third</strong> command tells Stata you sold the whole stock on the 10th of Jan 2012, for a total of 1169. The <strong>fourth</strong> and <strong>fifth</strong> commands give you a graph of your performance versus the alternative of putting all you money into the ftse on the day you started investing. This is the graph it makes:</p>
<div id="attachment_353" class="wp-caption aligncenter" style="width: 1034px"><a href="http://aidwriting.files.wordpress.com/2012/03/stockbuy-chart1.png"><img class="size-large wp-image-353" title="Stata for Stocks: the example graph" src="http://aidwriting.files.wordpress.com/2012/03/stockbuy-chart1.png?w=1024&#038;h=745" alt="" width="1024" height="745" /></a><p class="wp-caption-text">Stata for Stocks: the example graph</p></div>
<p>As long as you follow the rules of how to out the data in, it should work ok. Do let me know if you pick up any bugs, or if you find it useful!</p>
<p><span id="more-337"></span></p>
<h1>The main code, with a 4 line example:</h1>
<div>
<pre>***********define stockstart
capture program drop stockstart
program define stockstart
args year month day cash
display "year " `year' " month " `month' " day " `day' " cash " `cash'
local sysdate = c(current_date)
display "`sysdate'"
local Day = substr("`sysdate'", 1,2)
display `Day'
local Year = substr("`sysdate'", 8,.)
display `Year'
local today=date("`sysdate'", "DMY")
display "`today'"
local Month = month(`today')
display "`Month'"
stockquote ^FTSE, fm(`month') fd(`day') fy(`year') lm(`Month') ld(`Day') ly(`Year') frequency(d)
keep date close
rename close ftse
gen cash=`cash'
gen portfolio = 0
gen total =`cash'
gen Date = date(date, "YMD")
gen ftsebase=ftse if _n==1
sum ftsebase
local ftsebase=r(mean)
gen ftseunits=`cash'/`ftsebase'
drop ftsebase
gen ftsecompare=ftseunits*ftse
save "stockFTSE.dta", replace
end
*********************************define stockbuy
capture program drop stockbuy
program define stockbuy
args date ticker units cost
local Purchasedate=date("`date'", "DMY")
local Pday=day(`Purchasedate')
local Pmonth=month(`Purchasedate')
local Pyear=year(`Purchasedate')
local sysdate = c(current_date)
local Day = substr("`sysdate'", 1,2)
local Year = substr("`sysdate'", 8,.)
local today=date("`sysdate'", "DMY")
local Month = month(`today')
stockquote `ticker', fm(`Pmonth') fd(`Pday') fy(`Pyear') lm(`Month') ld(`Day') ly(`Year') frequency(d)
keep date close
local ticker = subinstr("`ticker'",".","",.)
display "`ticker'"
rename close `ticker'
gen Date = date(date, "YMD")
joinby using "stockFTSE.dta", unmatched(both) _merge(_`ticker')
sort Date
display `Purchasedate'
capture gen `ticker'number =0
replace portfolio=portfolio-(`ticker'number*`ticker'/100) if `Purchasedate'&lt;=Date
replace `ticker'number =`ticker'number + `units' if `Purchasedate'&lt;=Date
replace portfolio=portfolio+(`ticker'number*`ticker'/100) if `Purchasedate'&lt;=Date
replace cash=cash-`cost' if `Purchasedate'&lt;=Date
drop _*
replace total=cash+portfolio
order date cash portfolio total Date ftsecompare ftse
save "stockFTSE.dta", replace
end
****************************************define stocksell
capture program drop stocksell
program define stocksell
args date ticker units cost
local Purchasedate=date("`date'", "DMY")
local Pday=day(`Purchasedate')
local Pmonth=month(`Purchasedate')
local Pyear=year(`Purchasedate')
use "stockFTSE.dta", clear
local ticker = subinstr("`ticker'",".","",.)
display "`ticker'"
replace `ticker'number =`ticker'number - `units' if `Purchasedate'&lt;=Date
replace portfolio=portfolio-(`units'*`ticker'/100) if `Purchasedate'&lt;=Date
replace cash=cash+`cost' if `Purchasedate'&lt;=Date
replace total=cash+portfolio
order date cash portfolio total ftsecompare ftse Date
save "stockFTSE.dta", replace
end

***********************************an example
stockstart 2011 01 10 1000
stockbuy 11/01/2011 RR.L 152 1000
stocksell 11/01/2012 RR.L 152 1169
tsset Date, daily
tsline ftsecompare total</pre>
</div>
<div></div>
<div><span style="font-family:'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif;"><br />
</span></div>
<br /> Tagged: <a href='http://aidwriting.wordpress.com/tag/stata/'>stata</a>, <a href='http://aidwriting.wordpress.com/tag/stocks/'>stocks</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aidwriting.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aidwriting.wordpress.com/337/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aidwriting.wordpress.com&#038;blog=29476289&#038;post=337&#038;subd=aidwriting&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aidwriting.wordpress.com/2012/03/16/checking-a-simple-stock-portfolio-with-stata-easily/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ec0c70fe5d9beb4aeb9b0e970ead4794?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">paulclist</media:title>
		</media:content>

		<media:content url="http://aidwriting.files.wordpress.com/2012/03/stockbuy-chart1.png?w=1024" medium="image">
			<media:title type="html">Stata for Stocks: the example graph</media:title>
		</media:content>
	</item>
	</channel>
</rss>
