<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>R-bloggers</title>
	
	<link>http://www.r-bloggers.com</link>
	<description>R news and tutorials contributed by (365) R bloggers</description>
	<lastBuildDate>Sun, 27 May 2012 21:41:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/RBloggers" /><feedburner:info uri="rbloggers" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>RBloggers</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>The aesthetics of error bars</title>
		<link>http://feedproxy.google.com/~r/RBloggers/~3/jFYS43tBZnw/</link>
		<comments>http://www.r-bloggers.com/the-aesthetics-of-error-bars/#comments</comments>
		<pubDate>Sun, 27 May 2012 20:28:00 +0000</pubDate>
		<dc:creator>Thom</dc:creator>
				<category><![CDATA[R bloggers]]></category>
		<category><![CDATA[ANOVA]]></category>
		<category><![CDATA[confidence intervals]]></category>
		<category><![CDATA[displaying means]]></category>
		<category><![CDATA[dynamite plots]]></category>
		<category><![CDATA[Exploratory Data Analysis]]></category>
		<category><![CDATA[interaction]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[serious stats]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[text book]]></category>

		<guid isPermaLink="false">http://www.r-bloggers.com/?guid=389ab9ff73c011c001d51d86bf682c7a</guid>
		<description><![CDATA[This blog and my other main blog (the companion blog for my book) are now syndicated via R-bloggers (posts tagged R only) and statsblogs.com. The latter is a relatively new blog aggregator but looks to have some interesting content. R-bloggers it quite...]]></description>
			<content:encoded><![CDATA[<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 12px;">
(This article was first published on  <strong><a href="http://psychologicalstatistics.blogspot.com/2012/05/aesthetics-of-error-bars.html"> Psychological Statistics</a></strong>, and kindly contributed to <a href="http://www.r-bloggers.com/">R-bloggers)</a>      
</div></p>
This blog and <a href="http://seriousstats.wordpress.com/" ref="nofollow" target="_blank">my other main blog (the companion blog for my book)</a> are now syndicated via <a href="http://www.r-bloggers.com/" ref="nofollow" target="_blank">R-bloggers</a> (posts tagged R only) and <a href="http://statsblogs.com/" ref="nofollow" target="_blank">statsblogs.com</a>. The latter is a relatively new blog aggregator but looks to have some interesting content. R-bloggers it quite well established and I was already an occasional reader.<br /><br />Looking at some recent content I noticed an <a href="http://emdbolker.wikidot.com/blog%3Adynamite" ref="nofollow" target="_blank">interesting piece by Ben Bolker</a> (author, among other things, of the excellent <span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">bbmle</span> package in R) on dynamite plots. Until a few years ago (possibly in the early research for my book) I had not heard the term 'dynamite plot' or the negative press the attract in some research fields. In my own discipline (psychology) and in experimental psychology in particular bar plots with error bars (looking like sticks of dynamite stacked in a row) are rather popular. In fact, I was taught to use them in preference to dot plots when plotting interactions in ANOVA (their main application in experimental psychology). The main arguments against dot plots are that it is easy to manipulate them to make effects look large large by adjusting the scale (and sometimes software does this automatically). The advantage of switching to a bar plot is that these are supposed to be zero-referenced and thus effects are likely to more appropriately scaled.<br /><br />Here is an example of a dynamite plot adapted from chapter 3 of <a href="http://www.blogger.com/%3Cscript%20type=%22text/javascript%22%20src=%22http%3A//wms.assoc-amazon.co.uk/20070822/GB/js/link-enhancer-common.js?tag=psychologic05-21%22%3E%20%3C/script%3E%20%3Cnoscript%3E%20%20%20%20%20%3Cimg%20src=%22http://wms.assoc-amazon.co.uk/20070822/GB/img/noscript.gif?tag=psychologic05-21%22%20alt=%22%22%20/%3E%20%3C/noscript%3E" ref="nofollow" target="_blank">my book</a>:<br /><br /><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-5gkFgYdKyWE/T8KFMQAaMlI/AAAAAAAAAFs/n7F5SxcjV0c/s1600/dynamite+plot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;" ref="nofollow" target="_blank"><img border="0" height="320" src="http://4.bp.blogspot.com/-5gkFgYdKyWE/T8KFMQAaMlI/AAAAAAAAAFs/n7F5SxcjV0c/s320/dynamite+plot.png" width="320" /></a></div><div style="text-align: left;">(Colleagues of mine will note that the quantity displayed by the error bars is not labeled. This should always be clear from plot or figure caption - here they are 95% CIs).</div><br />Some of the material on dynamite plots on the web is somewhat one-sided (e.g., see <a href="http://pablomarin-garcia.blogspot.co.nz/2010/02/why-dynamite-plots-are-bad.html" ref="nofollow" target="_blank">here</a>, <a href="http://biostat.mc.vanderbilt.edu/wiki/pub/Main/TatsukiKoyama/Poster3.pdf" ref="nofollow" target="_blank">here</a>, <a href="http://sharpstatistics.co.uk/stats/comparing-data-sets/" ref="nofollow" target="_blank">here</a> or the comments <a href="http://flowingdata.com/2008/02/15/how-to-read-and-use-a-box-and-whisker-plot/" ref="nofollow" target="_blank">here</a>).&nbsp;Ben Bolker bravely presents a more balanced picture. He also gets to the heart of the issue by noting that most criticisms of dynamite plots suggest box plots or plots of raw data as alternatives. This doesn't seem appropriate if your goal is inference rather than description. As Bolker notes, if you've decided to something like ANOVA you are already implicitly assuming approximate normality of the errors and so forth. Thus if the main purpose of the plot is inferential or to display key patterns among the data, box plots or raw data plots are not so useful. (Don't get me wrong I think think that plotting raw data is a good idea - but exploratory work and model checking are different from inference). So for a plot of means with error bars, the choice of dot plot or bar plot is one of aesthetics. These days my preference is for dot plots (which are more versatile and have a better information to ink ratio), but I think a well constructed dynamite plot can be appropriate in some situations. I would usually save these for a situation in which the pattern was quite simple (e.g., a 2 by 2 interaction), there was a meaningful zero or other reference point and when my audience are familiar with this style of plot and may prefer them.<br /><br />A further aesthetic point here is how to plot the error bars themselves. I am persuaded by <a href="http://andrewgelman.com/2011/07/any-good-articles-on-the-use-of-error-bars/" ref="nofollow" target="_blank">Andrew Gelman's argument</a>&nbsp;that the crossbars on conventional error bar plots are ugly and counterproductive. They draw your attention to the extremes of the error bar - when values closer to the statistic being estimated are more plausible. Here is the earlier dyamite plot redrawn as a conventional error bar plot and in cleaner Gelman-approved style:<br /><br /><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-stcvR9hl5qg/T8KF9TYH3-I/AAAAAAAAAF0/Bhv5cQ46hQY/s1600/error+bar+plots.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;" ref="nofollow" target="_blank"><img border="0" height="196" src="http://4.bp.blogspot.com/-stcvR9hl5qg/T8KF9TYH3-I/AAAAAAAAAF0/Bhv5cQ46hQY/s400/error+bar+plots.png" width="400" /></a></div>I find the version on the right to be much prettier. Furthermore it makes it easier to adapt them into two-tiered error bar plots. I like to use two-tier plots to convey 95% CIs for individual means (outer tier) and <a href="http://psychologicalstatistics.blogspot.co.uk/2012/03/graphing-between-subject-confidence.html" ref="nofollow" target="_blank">inferential (difference-adjusted) 95% CIs</a> (inner tier). The inner tier approximates to a 95% CI for the difference - so that the means can be considered different by conventional criteria if the inner tier error bars don't overlap:<br /><br /><div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/-cmVbr3eqU6s/T8KI0xrrYSI/AAAAAAAAAGA/Lt47DTS4W2g/s1600/twotiered.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;" ref="nofollow" target="_blank"><img border="0" height="200" src="http://3.bp.blogspot.com/-cmVbr3eqU6s/T8KI0xrrYSI/AAAAAAAAAGA/Lt47DTS4W2g/s400/twotiered.png" width="400" /></a></div><br /><br />In my paper on <a href="http://psychologicalstatistics.blogspot.co.uk/2011/10/calculating-and-graphing-within-subject.html" ref="nofollow" target="_blank">within-subject CIs</a>&nbsp;I used the style on the left. However, with hindsight I wish I'd included the style on the right. Varying the width of the bars avoids the ugly crossbars but may make detecting a 'statistically significant' difference trickier. I think that aesthetics win here because graphical methods aim to support informal inference - they are not supposed to be there for fine-grain, formal inference (which can be supported by formal hypothesis tests of various kinds - not just null hypothesis significance tests).<br /><br /><br /><br /><br /><br /><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27862247-8611486187331986229?l=psychologicalstatistics.blogspot.com' alt='' /></div>
<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 13px;">
<div style="text-align: center;">To <strong>leave a comment</strong> for the author, please follow the link and comment on his blog: <strong><a href="http://psychologicalstatistics.blogspot.com/2012/05/aesthetics-of-error-bars.html"> Psychological Statistics</a></strong>.</div>
<hr />
<a href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a href="http://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" href="http://www.r-project.org/">R</a> news and <a title="R tutorials" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: visualization (<a title="ggplot and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" href="http://www.r-bloggers.com/?s=time+series">time series</a>,<a title="ecdf" href="http://www.r-bloggers.com/?s=ecdf">ecdf</a>, <a title="finance trading" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
</div></p><img src="http://feeds.feedburner.com/~r/RBloggers/~4/jFYS43tBZnw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.r-bloggers.com/the-aesthetics-of-error-bars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="" type="" />
		<feedburner:origLink>http://www.r-bloggers.com/the-aesthetics-of-error-bars/</feedburner:origLink></item>
		<item>
		<title>Tweets Analysis about Himpuan Jutaan Belia PutraJaya (Malaysia Youth Day 2012)</title>
		<link>http://feedproxy.google.com/~r/RBloggers/~3/4btJ5tmSmmA/</link>
		<comments>http://www.r-bloggers.com/tweets-analysis-about-himpuan-jutaan-belia-putrajaya-malaysia-youth-day-2012/#comments</comments>
		<pubDate>Sun, 27 May 2012 09:06:24 +0000</pubDate>
		<dc:creator>CloudStat</dc:creator>
				<category><![CDATA[R bloggers]]></category>
		<category><![CDATA[Malaysia]]></category>
		<category><![CDATA[Najib Razak]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[R Language]]></category>

		<guid isPermaLink="false">http://blog.cloudstat.org/post/23853039512</guid>
		<description><![CDATA[I&#8217;m using the Twitter Listening Robot to know what people is talking Najib Razak, Malaysia Prime Minister. Apparently,  23-27 are the Malaysia Youth Day 2012.  There were many funny retweets (more than 50 times) by the public:
RT @Faizrawrr: Be...]]></description>
			<content:encoded><![CDATA[<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 12px;">
(This article was first published on  <strong><a href="http://blog.cloudstat.org/post/23853039512"> CloudStat</a></strong>, and kindly contributed to <a href="http://www.r-bloggers.com/">R-bloggers)</a>      
</div></p>
<p>I&#8217;m using the <a href="http://www.cloudstat.org/index.php?do=/kafechew/blog/twitter-listening-apps/" ref="nofollow" target="_blank">Twitter Listening Robot</a> to know what people is talking <strong>Najib Razak</strong>, Malaysia Prime Minister. Apparently,  23-27 are the Malaysia Youth Day 2012.  There were many funny retweets (more than 50 times) by the public:</p>
<ul><li>RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Saya akan letak aircond 1Malaysia di semua kelas sekolah di Malaysia &#8220; </li>
<li>RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Buku teks akan digantikan dengan iPad &#8220; </li>
<li>RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Saya akan bina Disneyland di Malaysia &#8220; </li>
<li>RT @FahmeeMacos: Best Words To Hear from Najib Razak &#8220;Semua dapat RM100 lagi &#8220;  </li>
<li>RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Isteri saya dah bertudung &#8220; </li>
<li>RT @Hanisnees: Best Words To Hear from Najib Razak .. &#8220;Pada minggu hadapan, iPad akan diagihkan kepada setiap pelajar sekolah di Malaysia dgn percuma&#8221; </li>
<li>RT @Hanisnees: Best Words To Hear from Najib Razak &#8220;Bermula pada minggu hadapan, pelajar sekolah dikehendaki belajar menggunakan iPad sahaja&#8221; </li>
<li>RT @alenmeri: Malaysia ade seorang Perdana Menteri , Datuk Seri Rosmah Mansor &amp; Isterinya , Datin Seri Najib Razak . </li>
<li>RT @501Awani: &#8220;Belia yg bertindak liar dgn menyerang polis serta melompat di atas kereta peronda bukan contoh belia di Malaysia&#8221;- PM Najib Razak </li>
</ul><div>Just in case you don&#8217;t know Malays, I used Google Translation:</div>
<div>
<div>
<ul><li>RT @ Faizrawrr: Best Words To Hear from Najib Razak &#8220;I will put the aircond 1Malaysia in all classes of schools in Malaysia&#8221;</li>
<li>RT @ Faizrawrr: Best Words To Hear from Najib Razak &#8220;Textbooks will be replaced with iPad&#8221;</li>
<li>RT @ Faizrawrr: Best Words To Hear from Najib Razak &#8220;I will build Disneyland in Malaysia&#8221;</li>
<li>RT @ FahmeeMacos: Best Words To Hear from Najib Razak &#8220;All can be RM100 again&#8221;</li>
<li>RT @ Faizrawrr: Best Words To Hear from Najib Razak &#8220;I covered my wife&#8221;</li>
<li>RT @ Hanisnees: Best Words To Hear from Najib Razak .. &#8220;In the weeks ahead, the iPad will be distributed to every school student in Malaysia with free&#8221;</li>
<li>RT @ Hanisnees: Best Words To Hear from Najib Razak &#8220;Starting next week, students are required to learn to use iPad only&#8221;</li>
<li>RT @ alenmeri: ade a Prime Minister of Malaysia, Datuk Seri Rosmah Mansor &amp; wife, Datin Seri Najib Razak.</li>
<li>RT @ 501Awani: &#8220;Youth I act wild and jump with the police attack on the patrol car is not an example of youth in Malaysia&#8221; - PM Najib Razak</li>
</ul></div>
</div>
<p><img src="http://www.cloudstat.org:8080/tmp/fileba456ae222c.png"/></p>
<p>Warning messages: <br/>1: In `levels&lt;-`(`*tmp*`, value = if (nl == nL) as.character(labels) else paste0(labels,&#160;: <br/> duplicated levels will not be allowed in factors anymore <br/>2: In `levels&lt;-`(`*tmp*`, value = if (nl == nL) as.character(labels) else paste0(labels,&#160;: <br/> duplicated levels will not be allowed in factors anymore</p>
<p><img src="http://www.cloudstat.org:8080/tmp/fileba44302207c.png"/></p>

<p><img src="http://www.cloudstat.org:8080/tmp/fileba45fcc79cd.png"/></p>

<p><img src="http://www.cloudstat.org:8080/tmp/fileba421ec1e5d.png"/></p>
<p><br/> Faizrawrr Hanisnees FahmeeMacos alenmeri 501Awani <br/> PapaGomo ameliameliy imNan4 Pwincessayu HasbullahAwang <br/> 6&#160;5 4&#160;3 2&#160;<br/> PasBeruk Qayyummmm _RayScxha_ AimieMalek AnesHoran <br/> apaijas apitrusdi FaezAzam HeyyPaish LeanaKamal <br/> lullabygift nadcydot NoraliaAshikin Npowerof2 panglima_cyber <br/> PelikHensem SrikandiMelayu tiewnama TokGuru86&#160;<br/><br/> mallaccra FeeFarah SsupNurin Pwincessayu NurAtieshaa <br/> 5&#160;4 4&#160;4 3&#160;<br/> cucumoklong theloliipop jaiiohsom AnesHoran NabilahRuzali <br/> 3&#160;3 3&#160;3 3&#160;<br/> SyazaRika AinaaSyafirah OfficialSuhaimi CikZah Hanisnees <br/> 3&#160;3 3&#160;3 3&#160;<br/> najibhazlan azyyaaati Aisyah_BMahfouz PelikHensem anis_2803&#160;<br/> 3&#160;2 2&#160;2 2&#160;<br/> EryfAlya NurSyafiqahDaud sweet_mushroom AzyanIman lullabygift <br/> 2&#160;2 2&#160;2 2&#160;<br/> EhhyellowDino Faizrawrr syazaliah RRozairi BuzzL_Year <br/> 2&#160;2 2&#160;2 2&#160;<br/> NHNurulHana MynameisCruzita UmiDomo husna_shah lzjessica <br/> 2&#160;2 2&#160;2 2&#160;<br/> qylahnis operaisback AjimKroos DidaqtAwesome yanadayana19&#160;<br/> 2&#160;2 2&#160;2 2&#160;<br/> syasyagemok luqman_adnan Nanamiera amirahgummies princessputeghi <br/> 2&#160;2 2&#160;2 2&#160;<br/> imNan4 In_nocentPerson AmeraSimpsons Mialololol ImanSyarmine <br/> 2&#160;2 2&#160;2 2&#160;<br/> alenmeri Haze_Rain banihakim rayliew70_13 fatihahh_ <br/> 2&#160;2 2&#160;2 2&#160;<br/> fazrinfauzi Hafiz_Mail myGovPortal AbdulRazief hasliza_mohd <br/> AinaAfqh MiraRamle ameerafaezah ImmaNurulAtikah SyazNanaKim <br/> aslindaNA ElyannaRashid dynshdm AimieMalek hidayahadzman <br/> atiraazman IMRANBALBOA aleenazhari WaanyyM anuarridhwan <br/> AmirahhAzizi amyrazaly AmirulHershey ikadrew hidayah_sehh <br/> anisfarhanee_ WarzaiiMonstaa GhonamGodi Officialfarish Qayyummmm <br/> dirapocoyo momodekzaa _Ijaaa wanie_suhaimi Pdmsungailang <br/> NoraliaAshikin syuhadazolkefly eszaazwa adlinafzl Erni_Erlia <br/> NurFarhanaa NununZayn falisadainy AdriannaQystina nurfaietakcomel <br/> nabilaizam sitinoorzaimira Hafizie98 KisahAlia faridbuncas <br/> Farah_azlinda syeramustazzar fatinnabihah98 Qisfistifinafa MLeennn <br/> freakingnamy azreenamiera HangLiJoDHO Ladythirah faizahhafiza <br/> qibah97 Nurulnuwwul audyrahman IlyanaIskandar Awwween <br/> Sara_haniii nurnabila27 farafyroo faris_PP HaneyBarney <br/> FarraFyella ImMrsYooSwagger Ieqaaa sherynashehany Minieica <br/> Syaraafanaa NynaKay DatinSriAzura caaareen ohhiman <br/> amirunaisy nadcydot HumairasuhaimI HarrisRamlee ArielZainal <br/> fiqahraihanah sryyyooowww IDINN7 SharinaSazali syanisss <br/> ameliameliy FatinNorAdila putericamylia Hanis_Afiqah NinaaArianna <br/> AmirRizwan97 FarhahWahidah Afiqalalala ArissaMeow ainaakrekk <br/> AbinZainuddin AinnZaini ZerulAzim nashaarashid Helsynelly <br/> tashashark46 noorsyazwanie1 asyllasalblla Kien0612 AdamHamizan77&#160;<br/> eykaNorafiqa syakirahkiera HayierulFrost ArishaAzhan DearLyinn <br/> imaanbalqis rafaelblur AnakCikguPiie eyaamustaffa ultramanmisser <br/> _umaimah FatynSyafieqah ZulHealmi mimieeazizudin IzzatieNurul <br/> meeyazara ShafieqGomez AmaliaSyahirah DhiyaEiyra UmmuSyaff <br/> aisyahashimm nabilajill oreo_milo F4RH4N4H LiyanaHshmdn <br/> BellaTheLala MazuinHanissa HmzyRsman NurNajwah KhaliesahN <br/> ainadhra Syafiqahibrahim TuttiTebutti ZahirahNabila AhmadZulhaimi_ <br/> TengkuQusyairi Syafiqa_Athirah ainilruffehe Nabilah_Hamidon sepettttttttttt <br/> JihaaRosli fadhlinaramli AfizatulJasri farhanadaudMKA AMIRULHFZ <br/> FarahFaizal1 NailahM_ Aqilah_Hamdan iFaaaahhhh NajiahC <br/> Fafeyn pamelamelay FatinurShazwani RabiatulRozaimy DoolyVampire <br/> neeshahnn alepjeffri nursyafifi AmiraLyana GelfuwenAdam <br/> nurulamyeza afiqahcomey NisaaLullaby IsmahaniZ anissyahirahhx <br/> msrhaziz hananosofia hazimLive whtdywnt mainstreamedia <br/> Kuaci_Man AdeeNodoka DS_Rashida AshreenSuhaimi NuhaaAzaha <br/> IzzulAzwar ainfarzanaaaa ElyenaEhwal mckngjay AmnaFatirah <br/> FaezAzam athirah_arashid amirafarhanaN ImHereNabilah MimiNoren <br/> AshrafAdler MohdArif_yeah MsarahKhair Mohd_Idzuddin nabilahisham <br/> MuhdAfiqHaha withaqie3698 BalqisAkmal Npowerof2 iDontCare_Ok <br/> kakarikiss telfaMonb OutMeyrul NurFakhiraIraa tiewnama <br/> bsyeeqa FaziraPerry shelyzazuwan S_Ezul mahaganapathy <br/>fazlyaelvaenged hafizahjamilah Nanaraffie alynahmd 111ErmanAkim <br/> aqilaqilala nurulshaz_wani fatihaN9 MUNIF4444 meyaina <br/> adnntsneem nurakmalnazifa YanaDodol AdrianaRazak ShahiraShafieee <br/> TaibMustGo Adiboboyot zeawesome AzsSamz ohhdamnitstyra <br/> AfinaAriffs AkmaalHakim AienChain Ciin_Laaaaaa MuhammadThaqafi <br/> apaijas beihamat ZahirahZulkefli NisZnddn wrdhyun <br/> MOFASAD asrulaffendi38 pemuda_melayu ahmadtarmizi5 politikrss <br/> AbieyMickey safwanpelik AliaAlioAlie NurYasminn_ Muhd_AA <br/> hana_qila Suffianzulkafli MikeClans amirulruslii ImmztlNurAim <br/> CaptainItik08 Fakarepain NynaChance FaridGhazali billyaimi <br/> DXowey Menysaa_VI supersuperman13 HadziqIdham1 irdinaaziz <br/> PerakToday TokGuru86 ahmadalbab70 ketambuyau_13 PERAKINSIDER <br/> fitryabubakar NurEileen TehTarik831 tm_insider yasminsuhana <br/> shapiraa daniel_azlan66 FackStifk aienmustafa DalilaHusna <br/> Ollypinnnnn NuynNadya Dyaans Ayishcepot EnyAbdRahman <br/> 501Awani farahmohdnorr Deejaree DylaAlan imranputih <br/> MelayuRT kamera_kupang SyuhadaHaizad omeynyacyn chokepoh <br/> wafeeqzz Nadiaahhh OFFICIALfMARS akmalios fckyeahsilly <br/> Mirashra nursyuhadanizam AINNURAMYSYA mREiLLa Mizamahirahh <br/> FarahAtieykah MIqbalNasir KadijaUmaiya RoxyLaily rafiqzain <br/> aqua_climb shimaziz HasifHussin EldaEleenaRahim milinmedhu <br/> fyzaville MarsyaJayMahone shalenananana AyuniSyahira PuteriKhalidah <br/> Ayieeeeen SabreenaMK Muzvarkatzas KieRazid neebuulaa <br/> SarahNabielah Muhamad_Azrin OhFeefie MariaAwesome BalqisRuslann <br/> abeMat77 shaddiqmowetti MiMieMoNsterr _s_A_b_ simieY <br/> talk2wr iyahpakkeri FarahAdlina YuyuLola OnethecrOfts <br/> Mieza_99 Qamarinottttt PasBeruk PenaTanahMelayu FirzanahAni <br/> matkilaupenang penang_today spekong FirdausPiturekA JajaFritt <br/> zahidfadhli tunkusulaiman OhMyDib doUspeak AhmadRaqibuddin <br/> SabJeff farezhafizi MubinKacak Limaudong_13 izizree <br/> ZAINULROCKERS myGovPortal <br/><br/> RT T <br/>408&#160;92&#160;<br/><br/> RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Saya akan letak aircond 1Malaysia di semua kelas sekolah di Malaysia &#8221; <br/> RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Buku teks akan digantikan dengan iPad &#8221; <br/> 89&#160;<br/> RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Saya akan bina Disneyland di Malaysia &#8221; <br/> 66&#160;<br/> RT @FahmeeMacos: Best Words To Hear from Najib Razak &#8220;Semua dapat RM100 lagi &#8221; <br/> 23&#160;<br/> RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Isteri saya dah bertudung &#8221; <br/> RT @Hanisnees: Best Words To Hear from Najib Razak .. &#8220;Pada minggu hadapan, iPad akan diagihkan kepada setiap pelajar sekolah di Malaysia dgn percuma&#8221; <br/> RT @Hanisnees: Best Words To Hear from Najib Razak &#8220;Bermula pada minggu hadapan, pelajar sekolah dikehendaki belajar menggunakan iPad sahaja&#8221; <br/> RT @alenmeri: Malaysia ade seorang Perdana Menteri , Datuk Seri Rosmah Mansor &amp; Isterinya , Datin Seri Najib Razak . <br/> RT @501Awani: &#8220;Belia yg bertindak liar dgn menyerang polis serta melompat di atas kereta peronda bukan contoh belia di Malaysia&#8221;- PM Najib Razak <br/> 7&#160;<br/> RT @Hanisnees: Best Words To Hear from Najib Razak.. &#8220;Peperiksaan akan dihapuskan. Ini adalah kerana kami nak &#8216;Save Trees!&#8217; Selamatkan bumi&#8221; Yeah! <br/> 7&#160;<br/> RT @ameliameliy: Best Words To Hear from Najib Razak &#8221;homework tidak dibenarkan sama sekali diberikan pada pelajar masa musim sekolah &#8221; hohoho *loncat* <br/> 5&#160;<br/> RT @imNan4: Best Words To Hear from Najib Razak: &#8220;sorang satu iPad untuk setiap pelajar, no text book. save our planet&#8221; <br/> 4&#160;<br/> RT @Pwincessayu: Best Words To Hear from Najib Razak.. &#8220;Peperiksaan akan dihapuskan. Ini adalah kerana kami nak &#8216;Save Trees!&#8217; Selamatkan bumi&#8221; Yeahman ^~^ <br/> 3&#160;<br/> &#8220;Belia yg bertindak liar dgn menyerang polis serta melompat di atas kereta peronda bukan contoh belia di Malaysia&#8221;- PM Najib Razak <br/> 2&#160;<br/> Best Words To Hear from Najib Razak .. &#8220;Pada minggu hadapan, iPad akan diagihkan kepada setiap pelajar sekolah di Malaysia dgn percuma&#8221; ^~^ <br/> 2&#160;<br/> RT @HasbullahAwang: Najib Razak vs Anwar Ibrahim? Jgn mimpi lah Dr Mazli, tentu saya menjadi moderatornya. <br/> 2&#160;<br/> RT @PapaGomo: Ucapan Najib Razak Sempena HBN 2012 - Belia Semakin Bijak Dan Matang <a href="http://t.co/kv54ahov" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/kv54ahov" ref="nofollow" target="_blank">http://t.co/kv54ahov</a></a> <br/> 2&#160;<br/> RT @Qayyummmm: Best Words To Hear from Najib Razak &#8221; semua sekolah ada locker dan hanya perlu bawak ipad yang dibagi free sahaja &#8221; <br/> 2&#160;<br/> &#8221; @imNan4&#160;: Best Words To Hear from Najib Razak: &#8220;sorang satu iPad untuk setiap pelajar, no text book. save our planet&#8221; &#8221; <br/> &#8220;@Faizrawrr: Best Words To Hear from Najib Razak &#8221; Saya akan bina Disneyland di Malaysia &#8220;&#8221; <br/> &#8220;@Faizrawrr: Best Words To Hear from Najib Razak &#8221; Saya akan bina Disneyland di Malaysia &#8220;&#8221; dgn bayaran tiket 10 ringgit setiap org. <br/> &#8220;@HasbullahAwang: Najib Razak vs Anwar Ibrahim? Jgn mimpi lah Dr Mazli, tentu saya menjadi moderatornya.&#8221; <br/> #SRWKAMEK Cabaran Debat Bakal Perdana Menteri (Najib Razak VS Anwar Ibrahim). Moderator Dihentam di Twitter!! <br/> @anwaribrahim dsai najib razak duk pki rantai pasai pa&#8230;???duk berasa betol la tu..haha <br/> @farhanzulhusmi kena loh tukar screen meh. mintak aje kat Najib Razak, nak dekat PRU ni semua benda tak mustahil boleh dapat XD <br/> @fatinbajang haha, tapi najib razak ada pengalaman luas :b okay, trimas :D nak yang cmne&#160;? Cakap je :) <br/> @fatinbajang memilih doe, najib razak ada pulau tau xD haha . Perli aku ke -,- takde&#160;? Nak aku carikan :b haha <br/> @fatinbajang najib razak takkan kau tak kenal :p aku comel ke&#160;? Erk -,- haha <br/> @jasunka_05 Kalau lu niat nak saiko wa sorry lah der! Gua pergi pada kenyataan. Najib Bin Razak bacul dengan Anwar Bin Ibrahim!! <br/> @MuhaiminMzln haha,jgn risau hati ini tetap utk Najib Razak:) <br/> AHHHHH HEAVEN NYA~~~~~~~ RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Buku teks akan digantikan dengan iPad &#8221; <br/> Belia di Malaysia bukan &#8216;demo crazy&#8217;, kata Najib: - Datuk Seri Najib Tun Razak hari ini menegaskan bahawa go&#8230; <a href="http://t.co/Xj0Bpuxf" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/Xj0Bpuxf" ref="nofollow" target="_blank">http://t.co/Xj0Bpuxf</a></a> #fb <br/> Belia Di Malaysia Bukan �Demo Crazy�, Kata Najib: PUTRAJAYA, 26 Mei � Datuk Seri Najib Tun Razak hari ini menega&#8230; <a href="http://t.co/3Q6ixv6W" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/3Q6ixv6W" ref="nofollow" target="_blank">http://t.co/3Q6ixv6W</a></a> <br/> Belia Di Malaysia Bukan �Demo Crazy�, Kata Najib: PUTRAJAYA, 26 Mei � Datuk Seri Najib Tun Razak hari ini menega&#8230; <a href="http://t.co/9LCilBhO" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/9LCilBhO" ref="nofollow" target="_blank">http://t.co/9LCilBhO</a></a> <br/> Belia Di Malaysia Bukan �Demo Crazy�, Kata Najib: PUTRAJAYA, 26 Mei � Datuk Seri Najib Tun Razak hari ini menega&#8230; <a href="http://t.co/fyQF8HKV" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/fyQF8HKV" ref="nofollow" target="_blank">http://t.co/fyQF8HKV</a></a> <br/> Belia Di Malaysia Bukan �Demo Crazy�, Kata Najib: PUTRAJAYA, 26 Mei � Datuk Seri Najib Tun Razak hari ini menega&#8230; <a href="http://t.co/x4lZD6dG" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/x4lZD6dG" ref="nofollow" target="_blank">http://t.co/x4lZD6dG</a></a> <br/> Belia Di Malaysia Bukan �Demo Crazy�, Kata Najib: PUTRAJAYA, 26 Mei � Datuk Seri Najib Tun Razak hari ini menegaskan&#8230; <a href="http://t.co/iPRCuP90" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/iPRCuP90" ref="nofollow" target="_blank">http://t.co/iPRCuP90</a></a> <br/> Belia Di Malaysia Bukan �Demo Crazy�: Datuk Seri Najib Tun Razak menegaskan bahawa golongan belia di negara ini&#8230; <a href="http://t.co/KBiXKcTo" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/KBiXKcTo" ref="nofollow" target="_blank">http://t.co/KBiXKcTo</a></a> <br/> BEST WORDS EVER! :D RT @Faizrawrr Best Words To Hear from Najib Razak &#8221; Buku teks akan digantikan dengan iPad &#8221; <br/> Best Words To Hear from Najib Razak&#8221; pelajar x perlu guna buku teks , saya akan menukarkan buku teks kepada i pad..&#8221; <br/> Best Words To Hear from Najib Razak&#8221; sekolah akan bermula pada pukul 8.00 pagi supaya tidak menyusahkan pelajar bangun awal2&#8221; <br/> Best Words To Hear from Najib Razak &#8221; Waktu persekolahan akan ditukar daripada lima hari seminggu kepada tiga hari seminggu &#8221; <br/> Best Words To Hear from Najib Razak &#8221;homework tidak dibenarkan sama sekali diberikan pada pelajar masa musim sekolah &#8221; hohoho *loncat* <br/> Best Words To Hear from Najib Razak - &#8220;Mulai hari ni, hukuman hudud dan qisas akan dilaksanakan&#8221; Automatik , kadar jenayah turun (Y) <br/> Best Words To Hear From Najib Razak &#8221; Bermula minggu depan , sekolah tidak di perlukan lagi &#8221; ORHH&#160;!! <br/> Best Words To Hear from Najib Razak &#8221; Saya akan bina Disneyland di Malaysia &#8221; <br/> Best Words To Hear from Najib Razak &#8221; Saya akan letak aircond 1Malaysia di semua kelas sekolah di Malaysia &#8221; <br/> Best Words To Hear from Najib Razak &#8221; semua sekolah ada locker dan hanya perlu bawak ipad yang dibagi free sahaja &#8221; <br/> Best Words To Hear from Najib Razak &#8220;Bermula pada minggu hadapan, pelajar sekolah dikehendaki belajar menggunakan iPad sahaja&#8221; <br/> Best Words To Hear from Najib Razak &#8220;Bermula pada minggu hadapan, pelajar sekolah dikehendaki belajar menggunakan iPad sahaja&#8221; :&#8217;D <br/> Best Words To Hear from Najib Razak &#8220;Buku Teks akan ditukarkan kepada iPad&#8221; :) <br/> Best Words To Hear from Najib Razak &#8220;Rosmah akan mula berhijab&#8221; <br/> Best Words To Hear from Najib Razak &#8220;Saya dah pasang lif kat semua sekolah&#8221; <br/> Best Words To Hear from Najib Razak &#8220;Tahun ni semua pelajar sekolah akan dapat duit raya&#8221; <br/> Best Words To Hear from Najib Razak .. &#8220;Pada minggu hadapan, iPad akan diagihkan kepada setiap pelajar sekolah di Malaysia dgn percuma&#8221; <br/> Best Words To Hear from Najib Razak.. &#8220;Peperiksaan akan dihapuskan. Ini adalah kerana kami nak &#8216;Save Trees!&#8217; Selamatkan bumi&#8221; Yeah! <br/> Best Words To Hear from Najib Razak.. &#8220;Peperiksaan akan dihapuskan. Ini adalah kerana kami nak &#8216;Save Trees!&#8217; Selamatkan bumi&#8221; Yeahman ^~^ <br/> Best Words To Hear from Najib Razak: &#8220;sorang satu iPad untuk setiap pelajar, no text book. save our planet&#8221; <br/> Bumi akan panas T.T RT @tikaaaaahhhhh: RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Saya akan letak aircond 1Malaysia di semua k &#8230; <br/> Cc Najib Razak ,Anwar Ibrahim RT @_LoveShak: Sape je la yang dok sibuk tweet berkualiti ni oi.. aku nak gak tgk. <br/> Dan ipad adalah hak milik kekal semua pelajar :) &#8220;@Faizrawrr: Best Words To Hear from Najib Razak &#8221; Buku teks akan digantikan dengan iPad &#8220;&#8221; <br/> Dear najib razak, tolong dengar luahan kami. kami tuntut hak kami kami nak belajar guna iPad *campak buku teks dalam laut* <br/> Debat Dato&#8217; Seri Anwar Ibrahim vs Dato&#8217; Seri Najib Razak. hahaha~ - Alang <a href="http://t.co/EHJP2Sra" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/EHJP2Sra" ref="nofollow" target="_blank">http://t.co/EHJP2Sra</a></a> <br/> Dia kata dalam forum mana? RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Saya akan bina Disneyland di Malaysia &#8221; <br/> gua steady sebab najib razak akan bekap gua. gua kan belia <br/> Hidup DS Najib! RT @LokmanAdam: Himpunan 2 Juta Belia Capai Sasaran - Najib Razak <a href="http://t.co/YAt6WxN4" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/YAt6WxN4" ref="nofollow" target="_blank">http://t.co/YAt6WxN4</a></a> <br/><a href="http://t.co/KiIT5lHv" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/KiIT5lHv" ref="nofollow" target="_blank">http://t.co/KiIT5lHv</a></a> blog najib tun razak\nhttp://t.co/Zl3kLWwI pharmacists without borders canada <br/> Huduh betol aku tgk najib razak ni duk pki rantai..bajet 3 line la tu..aku kutip jgk kang&#8230; <br/> Macam2 hal negara Najib Razak ni, heran gua. <br/> Malaysia ade seorang Perdana Menteri , Datuk Seri Rosmah Mansor &amp; Isterinya , Datin Seri Najib Razak . <br/> Malaysian Youths Are Not &#8216;Demo Crazy&#8217;, Says PM: \n\tPUTRAJAYA, May 26&#160;2012 (Bernama) &#8212; Datuk Seri Najib Tun Razak&#8230; <a href="http://t.co/ErSbJeyc" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/ErSbJeyc" ref="nofollow" target="_blank">http://t.co/ErSbJeyc</a></a> <br/> Malaysian Youths Are Not &#8216;Demo Crazy&#8217;, Says PM: \n\tPUTRAJAYA, May 26&#160;2012 (Bernama) &#8212; Datuk Seri Najib Tun Razak&#8230; <a href="http://t.co/uAYc19Xp" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/uAYc19Xp" ref="nofollow" target="_blank">http://t.co/uAYc19Xp</a></a> <br/> Memang cuti pun ~ RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Semua akan cuti esok &#8221; <br/> Najib janji negara yang lebih baik untuk semua belia ..: Datuk Seri Najib Tun Razak berkata kerajaan berjanji ak&#8230; <a href="http://t.co/PM7NxsMB" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/PM7NxsMB" ref="nofollow" target="_blank">http://t.co/PM7NxsMB</a></a> <br/> Najib janji negara yang lebih baik untuk semua belia ..: Datuk Seri Najib Tun Razak berkata kerajaan berjanji ak&#8230; <a href="http://t.co/YyQv0TLy" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/YyQv0TLy" ref="nofollow" target="_blank">http://t.co/YyQv0TLy</a></a> <br/> Najib Razak is the new Opposition Leader of Malaysia #BestWordsToHear <br/> najib razak tu kulit putih gebu x heran la dia ok je pakai pink. tengok la muhyidin yasin pakai pink. hamagaddd <br/> NST NEWS: Najib will launch FGVH prospectus on Thursday: Dungun: Prime Minister Datuk Seri Najib Tun Razak will &#8230; <a href="http://t.co/TTo5epse" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/TTo5epse" ref="nofollow" target="_blank">http://t.co/TTo5epse</a></a> <br/> owh, AMIN&#160;! RT @Faizrawrr Best Words To Hear from Najib Razak &#8221; Saya akan bina Disneyland di Malaysia &#8221; <br/> Penat bru blek Hari Belia , balik pukul 7&#160;pm . lps Najib Tun Razak buat perasmian . <br/> PENDEDAHAN!! BUKAN ROSMAH SAJA YANG CINTA PM RUPENYER ADA LAGI?: Najib Razak, Sebut saja sudah kenal.. semua rak&#8230; <a href="http://t.co/7ZbHyR9e" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/7ZbHyR9e" ref="nofollow" target="_blank">http://t.co/7ZbHyR9e</a></a> <br/> PENDEDAHAN!! BUKAN ROSMAH SAJA YANG CINTA PM RUPENYER ADA LAGI?: Najib Razak, Sebut saja sudah kenal.. semua rak&#8230; <a href="http://t.co/uazrCn9c" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/uazrCn9c" ref="nofollow" target="_blank">http://t.co/uazrCn9c</a></a> <br/> PM lancar prospektus FGVH Khamis: DUNGUN: Perdana Menteri, Datuk Seri Najib Razak akan melancarkan prospektus&#8230; <a href="http://t.co/LAsfgc8I" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/LAsfgc8I" ref="nofollow" target="_blank">http://t.co/LAsfgc8I</a></a> <br/> PM Najib Razak telah di masukkan ke hospital hari ini kerana serangan jantung akibat daripada himpunan sejuta&#8230; <a href="http://t.co/5bflZBMm" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/5bflZBMm" ref="nofollow" target="_blank">http://t.co/5bflZBMm</a></a> <br/> PM urges country�s youth to ensure future by voting for BN: � PUTRAJAYA: Prime Minister Datuk Seri Najib Tun Razak&#8230; <a href="http://t.co/CO4sQPED" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/CO4sQPED" ref="nofollow" target="_blank">http://t.co/CO4sQPED</a></a> <br/> PM urges country�s youth to ensure future by voting for BN: PUTRAJAYA:�Prime Minister Datuk Seri Najib Tun Razak&#8230; <a href="http://t.co/4nZaMgxZ" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/4nZaMgxZ" ref="nofollow" target="_blank">http://t.co/4nZaMgxZ</a></a> <br/> PM urges country�s youth to ensure future by voting for BN: PUTRAJAYA:�Prime Minister Datuk Seri Najib Tun Razak&#8230; <a href="http://t.co/daX5fUSS" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/daX5fUSS" ref="nofollow" target="_blank">http://t.co/daX5fUSS</a></a> <br/> PM urges country�s youth to ensure future by voting for BN: PUTRAJAYA:�Prime Minister Datuk Seri Najib Tun Razak&#8230; <a href="http://t.co/egnVuy66" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/egnVuy66" ref="nofollow" target="_blank">http://t.co/egnVuy66</a></a> <br/> PM urges country�s youth to ensure future by voting for BN: PUTRAJAYA:�Prime Minister Datuk Seri Najib Tun Razak&#8230; <a href="http://t.co/hes1FNCa" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/hes1FNCa" ref="nofollow" target="_blank">http://t.co/hes1FNCa</a></a> <br/> PM urges country�s youth to ensure future by voting for BN: PUTRAJAYA:�Prime Minister Datuk Seri Najib Tun Razak&#8230; <a href="http://t.co/kEboYCAa" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/kEboYCAa" ref="nofollow" target="_blank">http://t.co/kEboYCAa</a></a> <br/> PM urges country�s youth to ensure future by voting for BN: PUTRAJAYA:�Prime Minister Datuk Seri Najib Tun Razak&#8230; <a href="http://t.co/pEQpdnU3" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/pEQpdnU3" ref="nofollow" target="_blank">http://t.co/pEQpdnU3</a></a> <br/> PM urges country�s youth to ensure future by voting for BN: PUTRAJAYA:�Prime Minister Datuk Seri Najib Tun Razak&#8230; <a href="http://t.co/XTFERD4V" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/XTFERD4V" ref="nofollow" target="_blank">http://t.co/XTFERD4V</a></a> <br/> PM urges country�s youth to ensure future by voting for BN: PUTRAJAYA:�Prime Minister Datuk Seri Najib Tun Razak&#8230; <a href="http://t.co/zApsh8EM" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/zApsh8EM" ref="nofollow" target="_blank">http://t.co/zApsh8EM</a></a> <br/> PM will launch FGVH prospectus on Thursday: DUNGUN, May 26 � Prime Minister Datuk Seri Najib Tun Razak will laun&#8230; <a href="http://t.co/ciIFKTXk" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/ciIFKTXk" ref="nofollow" target="_blank">http://t.co/ciIFKTXk</a></a> <br/> PM will launch FGVH prospectus on Thursday: DUNGUN, May 26 � Prime Minister Datuk Seri Najib Tun Razak will laun&#8230; <a href="http://t.co/FCyA4U0M" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/FCyA4U0M" ref="nofollow" target="_blank">http://t.co/FCyA4U0M</a></a> <br/> Rosmah gila dengan tas tangan dan cincin berlian nya. Najib Razak pula dengan rantai emasnya. <br/> RT &#8220;@Faizrawrr: Best Words To Hear from Najib Razak &#8221; Saya akan bina Disneyland di Malaysia &#8220;&#8221; <br/> RT @_RayScxha_: RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Buku teks akan digantikan dengan iPad &#8221; <br/> RT @AimieMalek: RT @FahmeeMacos: Best Words To Hear from Najib Razak &#8220;Semua dapat RM100 lagi &#8221; <br/> RT @alenmeri: soalan: kenapa najib razak botak&#160;? jawapan: sebab rosmah cabut rambut najib n gam d kepala dia untuk buat sarang lebah . <br/> RT @AnesHoran: This ;) RT @Faizrawrr&#160;: Best Words To Hear from Najib Razak &#8221; Saya akan bina Disneyland di Malaysia &#8221; <br/> RT @apaijas: saya hot macam najib razak RT: @farishakim: saya hot seperti bieber <br/> RT @apitrusdi: Best Words To Hear from Najib Razak: &#8221;Disneyland akan dibina di Malaysia! Kamu semua tak payah susah-susah pergi luar negara.&#8221; <br/> RT @FaezAzam: Dia kata dalam forum mana? RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Saya akan bina Disneyland di Malaysia &#8221; <br/> RT @HeyyPaish: #KamiRemaja yang masih bersekolah memohon supaya Najib Tun Razak menyediakan Ipad 1 Malaysia untuk kami belajar. Baru bersemangat :p <br/> RT @LeanaKamal: &#8220;@Faizrawrr: Best Words To Hear from Najib Razak &#8221; Isteri saya dah bertudung &#8220;&#8221; really? :o <br/> RT @lullabygift: RT @_RayScxha_: RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Buku teks akan digantikan dengan iPad &#8221; <br/> RT @nadcydot: &#8220;@Faizrawrr: Best Words To Hear from Najib Razak &#8221; Saya akan bina Disneyland di Malaysia &#8220;&#8221; dgn bayaran tiket 10 ringgit setiap org. <br/> RT @NoraliaAshikin: RT @AimieMalek: RT @FahmeeMacos: Best Words To Hear from Najib Razak &#8220;Semua dapat RM100 lagi &#8221; <br/> RT @Npowerof2: RT @lullabygift: RT @_RayScxha_: RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Buku teks akan digantikan dengan iPad &#8221; <br/>RT @panglima_cyber: Berita Harian&#160;: Najib gariskan lima ciri belia masa depan: PUTRAJAYA: Perdana Menteri, Datuk Seri Najib Razak me&#8230; <a href="http://t.co/JDmbmonT" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/JDmbmonT" ref="nofollow" target="_blank">http://t.co/JDmbmonT</a></a> <br/> RT @PapaGomo: Himpunan 2 Juta Belia Capai Sasaran - Najib Razak <a href="http://t.co/OZk30NXW" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/OZk30NXW" ref="nofollow" target="_blank">http://t.co/OZk30NXW</a></a> <br/> RT @PapaGomo: Himpunan 2 Juta Belia Capai Sasaran - Najib Razak: YAB Dato Sri Najib Razak Perdana Menteri Malaysia&#8221;Belia akan &#8230; <a href="http://t.co/iV8jGiqD" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/iV8jGiqD" ref="nofollow" target="_blank">http://t.co/iV8jGiqD</a></a> <br/> RT @PapaGomo: Ucapan Najib Razak Sempena HBN 2012 - Belia Semakin Bijak Dan Matang: �Golongan belia yang &#8230; <a href="http://t.co/tdZiB774" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/tdZiB774" ref="nofollow" target="_blank">http://t.co/tdZiB774</a></a> <br/> RT @PapaGomo: Ucapan Najib Razak Sempena HBN 2012 - Belia Semakin Bijak Dan Matang: �Golongan belia yang mempunyai nilai kemas&#8230; <a href="http://t.co/rEftrjE2" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/rEftrjE2" ref="nofollow" target="_blank">http://t.co/rEftrjE2</a></a> <br/> RT @PasBeruk: Himpunan 2 Juta Belia Capai Sasaran - Najib Razak: YAB Dato Sri Najib Razak Perdana Menteri Malaysia&#8221;Belia akan &#8230; <a href="http://t.co/H0voA7nT" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/H0voA7nT" ref="nofollow" target="_blank">http://t.co/H0voA7nT</a></a> <br/> RT @PasBeruk: Ucapan Najib Razak Sempena HBN 2012 - Belia Semakin Bijak Dan Matang: �Golongan belia yang mempunyai nilai kemas&#8230; <a href="http://t.co/M1lhCnv8" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/M1lhCnv8" ref="nofollow" target="_blank">http://t.co/M1lhCnv8</a></a> <br/> RT @PelikHensem: BEST WORDS EVER! :D RT @Faizrawrr Best Words To Hear from Najib Razak &#8221; Buku teks akan digantikan dengan iPad &#8221; <br/> RT @SrikandiMelayu: Ucapan Najib Razak Sempena HBN 2012 - Belia Semakin Bijak Dan Matang <a href="http://t.co/Pwp6UhF3" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/Pwp6UhF3" ref="nofollow" target="_blank">http://t.co/Pwp6UhF3</a></a> <br/> RT @tiewnama: PM Najib Razak telah di masukkan ke hospital hari ini kerana serangan jantung akibat daripada &#8230; <a href="http://t.co/RGnVZe9G" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/RGnVZe9G" ref="nofollow" target="_blank">http://t.co/RGnVZe9G</a></a> <br/> RT @TokGuru86: PM urges country�s youth to ensure future by voting for BN: PUTRAJAYA:�Prime Minister Datuk Seri Najib Tun Razak&#8230; <a href="http://t.co/zApsh8EM" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/zApsh8EM" ref="nofollow" target="_blank">http://t.co/zApsh8EM</a></a> <br/> RT tomorrowland better (Y) @Afiqalalala: RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Saya akan bina Disneyland di Malaysia &#8221; <br/> saya hot macam najib razak RT: @farishakim: saya hot seperti bieber <br/> sinar&#160;: Belia di Malaysia bukan &#8216;demo crazy&#8217;, kata Najib: - Datuk Seri Najib Tun Razak hari ini menegaskan bahaw&#8230; <a href="http://t.co/zcugaNcc" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/zcugaNcc" ref="nofollow" target="_blank">http://t.co/zcugaNcc</a></a> <br/> soalan: kenapa najib razak botak&#160;? jawapan: sebab rosmah cabut rambut najib n gam d kepala dia untuk buat sarang lebah . <br/> This ;) RT @Faizrawrr&#160;: Best Words To Hear from Najib Razak &#8221; Saya akan bina Disneyland di Malaysia &#8221; <br/> Tika&#8230; Najib Tun Razak tu tiap2 tahun baju raya dia warna pink ok.. Restu jer kak mah tengok&#8230; Kah kah kah <br/> Ucapan Najib Razak Sempena HBN 2012 - Belia Semakin Bijak Dan Matang: �Golongan belia yang mempunyai nilai&#8230; <a href="http://t.co/sd7hOffI" rel="nofollow" ref="nofollow" target="_blank"><a href="http://t.co/sd7hOffI" ref="nofollow" target="_blank">http://t.co/sd7hOffI</a></a> <br/> Untung pelajar Singapore dah start pakai dah :( RT @Hanisnees Best Words To Hear from Najib Razak &#8220;Bermula pada minggu hadapan, pela&#8230;&#8230;.&#8221; <br/> Wahh, best feeling ever. RT @Faizrawrr: Best Words To Hear from Najib Razak &#8221; Buku teks akan digantikan dengan iPad &#8221; <br/>&gt;</p>
<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 13px;">
<div style="text-align: center;">To <strong>leave a comment</strong> for the author, please follow the link and comment on his blog: <strong><a href="http://blog.cloudstat.org/post/23853039512"> CloudStat</a></strong>.</div>
<hr />
<a href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a href="http://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" href="http://www.r-project.org/">R</a> news and <a title="R tutorials" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: visualization (<a title="ggplot and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" href="http://www.r-bloggers.com/?s=time+series">time series</a>,<a title="ecdf" href="http://www.r-bloggers.com/?s=ecdf">ecdf</a>, <a title="finance trading" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
</div></p><img src="http://feeds.feedburner.com/~r/RBloggers/~4/4btJ5tmSmmA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.r-bloggers.com/tweets-analysis-about-himpuan-jutaan-belia-putrajaya-malaysia-youth-day-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.r-bloggers.com/tweets-analysis-about-himpuan-jutaan-belia-putrajaya-malaysia-youth-day-2012/</feedburner:origLink></item>
		<item>
		<title>Updating to R 2.15, warnings in R and an updated function list for Serious Stats</title>
		<link>http://feedproxy.google.com/~r/RBloggers/~3/IE5EPoNCpjk/</link>
		<comments>http://www.r-bloggers.com/updating-to-r-2-15-warnings-in-r-and-an-updated-function-list-for-serious-stats/#comments</comments>
		<pubDate>Sun, 27 May 2012 08:09:10 +0000</pubDate>
		<dc:creator>Thom</dc:creator>
				<category><![CDATA[R bloggers]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[R code]]></category>
		<category><![CDATA[serious stats]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://seriousstats.wordpress.com/?p=176</guid>
		<description><![CDATA[Whilst writing the book  the latest version of R changed several times. Although I started on an earlier version, the bulk of the book was written with 2.11 and it was finished under R 2.12. The final version of the R scripts &#8230; <a href="http://seriousstats.wordpress.com/2012/05/27/updating-to-r-2-15/">Continue reading <span>&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=seriousstats.wordpress.com&#38;blog=32281679&#38;post=176&#38;subd=seriousstats&#38;ref=&#38;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 12px;">
(This article was first published on  <strong><a href="http://seriousstats.wordpress.com/2012/05/27/updating-to-r-2-15/"> Serious Stats » R code</a></strong>, and kindly contributed to <a href="http://www.r-bloggers.com/">R-bloggers)</a>      
</div></p>
<p>Whilst writing <a href="http://wms.assoc-amazon.co.uk/20070822/GB/img/noscript.gif?tag=psychologic05-21&quot;%20alt=&quot;&quot;%20/&gt;%20&lt;/noscript&gt;" ref="nofollow" target="_blank">the book</a>  the latest version of R changed several times. Although I started on an earlier version, the bulk of the book was written with 2.11 and it was finished under R 2.12. The final version of the R scripts were therefore run and checked using R 2.12 and, in the main, the most recent packages versions for R 2.12.</p>
<p>When it came to proof read R 2.13 was already out and therefore most of the examples were also checked with version, but I stuck with R 2.12 on my home and work machines until last week.</p>
<p>In general I don&#8217;t see the point of updating to a new version number if everything is working fine. One advantage of this approach is that the version I install will usually have bugs from the initial release already ironed out. That said, new versions of R have (in my experience) been very stable.</p>
<p>I tend to download the version only when I fall several versions behind or if it is a requirement for a new package or package version. On this occasion it turned out that the latest version of the <span style="font-family:monospace;">ordinal</span> package (for fitting ordered logistic regression and multilevel ordered logistic regression models). There are two main drawbacks with updating. The first is reinstalling all your favourite package libraries (and generally getting it set up how you like it). The second is dealing with changes in the way R behaves.</p>
<p>For re-installing all my packages I use a very crude system. For any given platform (Mac OS, Windows or Linux) there are cleverer solutions (that you can find via google). My solution works across cross-platform and is fairly robust, if inelegant. I simply keep an R script with a number of <span style="font-family:monospace;">install.packages()</span> commands such as:</p>
<p><span style="font-family:monospace;">install.packages(&#8216;lme4&#8242;, &#8216;exactci&#8217;, &#8216;pwr&#8217;, &#8216;arm&#8217;)</span></p>
<p>I run these in batches after installing the new R version. I find this useful because I&#8217;m forever installing R on different machines (so far Mac OS or Windows) at work (e.g., for teaching or if working away from the office or on a borrowed machine). I can also comment the file (e.g., to note if there are issues with any of the packages under a particular version of R). This usually suffices for me as I usually run a &#8216;vanilla&#8217; set-up without customization. It would be more efficient for me to customize my set-up, but for teaching purposes I find it helps not to do that. Likewise, I tend to work with a clean workspace (and use a script file to save R code that creates my workspaces). I should stress that this isn&#8217;t advice &#8211; and I would work differently myself if I didn&#8217;t use R so much for teaching.</p>
<p>One of the first things that happened after installing R 2.15 was that some of my own functions started producing warnings. R warnings can be pretty scary for new users but are generally benign. Some of them are there to detect behaviour associated with common R errors or common statistical errors (and thus give you a chance to check your work). Others alert you to non-standard behaviour from a function in R (e.g., changing the procedure it uses when sample sizes are small). Yet others offer tips on writing better R code. Only very rarely are they an indication that something has gone badly wrong.</p>
<p>Thus most R warnings are slightly annoying but potentially useful. In my case R 2.15 disliked a number of my functions of the form:</p>
<p><span style="font-family:monospace;">mean(data.frame)</span></p>
<p>The precise warning was:</p>
<p><span style="color:#ff0000;"><span style="font-family:monospace;">Warning message:<br />
mean() is deprecated.<br />
Use colMeans() or sapply(*, mean) instead.</span> </span></p>
<p>All the functions worked just fine, but (after my initial irritation had receded) I realize that <span style="font-family:monospace;">colMeans()</span> is a much better function. It is more efficient but, even better, it is obvious that it calculates the means of the columns of a data frame or matrix. With the more general  <span style="font-family:monospace;">mean()</span> function it is not immediately obvious what will happen when called with a data frame as an argument. It is also trivial to infer that <span style="font-family:monospace;"> rowMeans()</span> calculates the row means.</p>
<p>I have now re-written  a number of functions to deal with this problem and to make a few other minor changes. The latest version of my functions can be loaded with the call:</p>
<div style="overflow:auto;">
<div class="geshifilter">
<pre class="r geshifilter-R" style="font-family:monospace;"><a href="http://inside-r.org/r-doc/base/source" ref="nofollow" target="_blank"><span style="color:#003399;font-weight:bold;">source</span></a><span style="color:#009900;">(</span><span style="color:#0000ff;">'http://sites.google.com/site/seriousstats2012/home/SeriousStatsAllfunctions.txt'</span><span style="color:#009900;">)</span></pre>
</div>
</div>
<p>I will try and keep this file up-to-date with recent versions of R and correct any bugs as they are detected.</p>
<p>The functions can be downloaded as a text file from:</p>
<p><a href="http://sites.google.com/site/seriousstats2012/home/" ref="nofollow" target="_blank">http://sites.google.com/site/seriousstats2012/home/</a></p>
<br />Filed under: <a href='http://seriousstats.wordpress.com/category/news/' ref="nofollow" target="_blank">news</a>, <a href='http://seriousstats.wordpress.com/category/r-code/' ref="nofollow" target="_blank">R code</a>, <a href='http://seriousstats.wordpress.com/category/serious-stats/' ref="nofollow" target="_blank">serious stats</a> Tagged: <a href='http://seriousstats.wordpress.com/tag/r/' ref="nofollow" target="_blank">R</a>, <a href='http://seriousstats.wordpress.com/tag/software/' ref="nofollow" target="_blank">software</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/seriousstats.wordpress.com/176/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/seriousstats.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/seriousstats.wordpress.com/176/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/seriousstats.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/seriousstats.wordpress.com/176/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/seriousstats.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/seriousstats.wordpress.com/176/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/seriousstats.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/seriousstats.wordpress.com/176/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/seriousstats.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/seriousstats.wordpress.com/176/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/seriousstats.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/seriousstats.wordpress.com/176/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/seriousstats.wordpress.com/176/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=seriousstats.wordpress.com&#038;blog=32281679&%23038;post=176&%23038;subd=seriousstats&%23038;ref=&%23038;feed=1" width="1" height="1" />
<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 13px;">
<div style="text-align: center;">To <strong>leave a comment</strong> for the author, please follow the link and comment on his blog: <strong><a href="http://seriousstats.wordpress.com/2012/05/27/updating-to-r-2-15/"> Serious Stats » R code</a></strong>.</div>
<hr />
<a href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a href="http://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" href="http://www.r-project.org/">R</a> news and <a title="R tutorials" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: visualization (<a title="ggplot and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" href="http://www.r-bloggers.com/?s=time+series">time series</a>,<a title="ecdf" href="http://www.r-bloggers.com/?s=ecdf">ecdf</a>, <a title="finance trading" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
</div></p><img src="http://feeds.feedburner.com/~r/RBloggers/~4/IE5EPoNCpjk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.r-bloggers.com/updating-to-r-2-15-warnings-in-r-and-an-updated-function-list-for-serious-stats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://1.gravatar.com/avatar/1fe0e0b57d18ecd95ad62e9daeabc038?s=96&amp;amp;d=identicon&amp;amp;r=G" length="" type="" />
		<feedburner:origLink>http://www.r-bloggers.com/updating-to-r-2-15-warnings-in-r-and-an-updated-function-list-for-serious-stats/</feedburner:origLink></item>
		<item>
		<title>Cross-valitation variability example, part I</title>
		<link>http://feedproxy.google.com/~r/RBloggers/~3/fnqnuMv8vNM/</link>
		<comments>http://www.r-bloggers.com/cross-valitation-variability-example-part-i/#comments</comments>
		<pubDate>Sat, 26 May 2012 15:48:00 +0000</pubDate>
		<dc:creator>Bogumił Kamiński</dc:creator>
				<category><![CDATA[R bloggers]]></category>

		<guid isPermaLink="false">http://www.r-bloggers.com/?guid=9e535ea2b8317ba016574c7cb8f1f6ff</guid>
		<description><![CDATA[Recently I had a discussion with a student about variability of results obtained from cross-validation procedure. While the subject is well known there are not many examples on the web showing it, so I have written its simple presentation.Results from ...]]></description>
			<content:encoded><![CDATA[<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 12px;">
(This article was first published on  <strong><a href="http://rsnippets.blogspot.com/2012/05/cross-valitation-variability-example.html"> R snippets</a></strong>, and kindly contributed to <a href="http://www.r-bloggers.com/">R-bloggers)</a>      
</div></p>
Recently I had a discussion with a student about variability of results obtained from cross-validation procedure. While the subject is well known there are not many examples on the web showing it, so I have written its simple presentation.<br /><a name='more'></a>Results from cross-validation are reported as a standard by&nbsp;<span style="background-color: white; font-family: 'Courier New'; font-size: 13px;">rpart</span>&nbsp;procedure (<span style="background-color: white; font-family: 'Courier New'; font-size: 13px;">printcp</span>&nbsp;and&nbsp;<span style="background-color: white; font-family: 'Courier New'; font-size: 13px;">plotcp</span>) and optimal&nbsp;<span style="background-color: white; font-family: 'Courier New'; font-size: 13px;">cp</span>&nbsp;is selected for tree pruning. Many people I have talked to think that because each time&nbsp;<span style="background-color: white; font-family: 'Courier New'; font-size: 13px;">rpart</span>&nbsp;is run on the same data-set the same tree is obtained that also&nbsp;<span style="background-color: white; font-family: 'Courier New'; font-size: 13px;">printcp</span>&nbsp;and&nbsp;<span style="background-color: white; font-family: 'Courier New'; font-size: 13px;">plotcp</span>&nbsp;results do not change. However, it should be remembered that x-val relative error returned by them is based on random sampling and is not constant. Therefore two runs of&nbsp;<span style="background-color: white; font-family: 'Courier New'; font-size: 13px;">rpart</span>&nbsp;might indicate different values of optimal&nbsp;<span style="background-color: white; font-family: 'Courier New'; font-size: 13px;">cp</span>.<br /><br />Here is the code that illustrates this situation using&nbsp;<span style="background-color: white; font-family: 'Courier New'; font-size: 13px;">Participation</span>&nbsp;data from&nbsp;<span style="background-color: white; font-family: 'Courier New'; font-size: 13px;">Ecdat</span>&nbsp;package:<br /><br /><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="EN-US" style="background-color: white; color: #8000ff; font-family: 'Courier New'; font-size: 10pt;">library</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">(</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">Ecdat</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">)</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="EN-US" style="background-color: white; color: #8000ff; font-family: 'Courier New'; font-size: 10pt;">library</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">(</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">rpart</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">)</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="EN-US" style="background-color: white; color: #8000ff; font-family: 'Courier New'; font-size: 10pt;">data</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">(</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">Participation</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">)</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><br /></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">set.seed</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">(</span></b><span lang="EN-US" style="background-color: white; color: #ff8000; font-family: 'Courier New'; font-size: 10pt;">1</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">)</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">xerror </span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">&lt;-</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"> </span><span lang="EN-US" style="background-color: white; color: #8000ff; font-family: 'Courier New'; font-size: 10pt;">t</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">(</span></b><span lang="EN-US" style="background-color: white; color: #8000ff; font-family: 'Courier New'; font-size: 10pt;">replicate</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">(</span></b><span lang="EN-US" style="background-color: white; color: #ff8000; font-family: 'Courier New'; font-size: 10pt;">8192</span><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">,<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">&nbsp;&nbsp;&nbsp; rpart</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">(</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">lfp </span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">~ </span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">., </span><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">data <b><span style="color: navy;">=</span></b> Participation<b><span style="color: navy;">)$</span></b>cptable<b><span style="color: navy;">[</span></b>,<span style="color: #ff8000;">4</span><b><span style="color: navy;">]))</span></b><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">tree.size </span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">&lt;-</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"> </span><span lang="EN-US" style="background-color: white; color: #8000ff; font-family: 'Courier New'; font-size: 10pt;">factor</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">(</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">&nbsp;&nbsp;&nbsp; rpart</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">(</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">lfp </span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">~ </span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">., </span><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">data <b><span style="color: navy;">=</span></b> Participation<b><span style="color: navy;">)$</span></b>cptable<b><span style="color: navy;">[</span></b>,<span style="color: #ff8000;">2</span><b><span style="color: navy;">]</span></b> <b><span style="color: navy;">+</span></b> <span style="color: #ff8000;">1</span><b><span style="color: navy;">)</span></b><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="EN-US" style="background-color: white; color: #8000ff; font-family: 'Courier New'; font-size: 10pt;">colnames</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">(</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">xerror</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">)</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"> </span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">&lt;-</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"> tree.size<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="EN-US" style="background-color: white; color: #8000ff; font-family: 'Courier New'; font-size: 10pt;">par</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">(</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">mfrow </span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">=</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"> </span><span lang="EN-US" style="background-color: white; color: #8000ff; font-family: 'Courier New'; font-size: 10pt;">c</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">(</span></b><span lang="EN-US" style="background-color: white; color: #ff8000; font-family: 'Courier New'; font-size: 10pt;">1</span><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">, </span><span lang="EN-US" style="background-color: white; color: #ff8000; font-family: 'Courier New'; font-size: 10pt;">2</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">))</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="EN-US" style="background-color: white; color: #8000ff; font-family: 'Courier New'; font-size: 10pt;">boxplot</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">(</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">xerror, xlab </span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">=</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"> </span><span lang="EN-US" style="background-color: white; color: grey; font-family: 'Courier New'; font-size: 10pt;">"size of tree"</span><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">,<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">&nbsp;&nbsp;&nbsp; ylab </span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">=</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"> </span><span lang="EN-US" style="background-color: white; color: grey; font-family: 'Courier New'; font-size: 10pt;">"X-val Relative Error"</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">)</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="EN-US" style="background-color: white; color: #8000ff; font-family: 'Courier New'; font-size: 10pt;">plot</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">(</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">tree.size</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">[</span></b><span lang="EN-US" style="background-color: white; color: #8000ff; font-family: 'Courier New'; font-size: 10pt;">apply</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">(</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">xerror,</span><span lang="EN-US" style="background-color: white; color: #ff8000; font-family: 'Courier New'; font-size: 10pt;">1</span><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">, which.min</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">)]</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">, xlab </span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">=</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"> </span><span lang="EN-US" style="background-color: white; color: grey; font-family: 'Courier New'; font-size: 10pt;">"size of tree"</span><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">,<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;">&nbsp;&nbsp;&nbsp; ylab </span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">=</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"> </span><span lang="EN-US" style="background-color: white; color: grey; font-family: 'Courier New'; font-size: 10pt;">"# minimal"</span><b><span lang="EN-US" style="background-color: white; color: navy; font-family: 'Courier New'; font-size: 10pt;">)</span></b><span lang="EN-US" style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"><o:p></o:p></span></div><br />The resulting plot is the following:<br /><br /><div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-Loq__oFrog0/T8D255E5TrI/AAAAAAAAAEc/zv5kaWjMthE/s1600/cvtree.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;" ref="nofollow" target="_blank"><img border="0" height="195" src="http://1.bp.blogspot.com/-Loq__oFrog0/T8D255E5TrI/AAAAAAAAAEc/zv5kaWjMthE/s400/cvtree.png" width="400" /></a></div><br />We can see that using x-val criterion tree of size 5 is selected in around 2/3 of cases and size 6 is found best otherwise.<br /><br />The other issue is why there is no variability of x-val for tree size 1 and almost no variability at size 2. The answer is that for those tree sizes the split in every cross-validation fold is made on nominal variable (for example&nbsp;<span style="background-color: white; font-family: 'Courier New'; font-size: 13px;">foreign</span>&nbsp;for tree size 1) at the same cut-point and all resulting trees are identical (one outlier for tree size 2 is due single different split). For tree sizes 5 and 6 continuous variables enter the tree (<span style="background-color: white; font-family: 'Courier New'; font-size: 13px;">age</span>&nbsp;and&nbsp;<span style="background-color: white; font-family: 'Courier New'; font-size: 13px;">lnnlinc</span>) and cut-points start moving, so the resulting trees in different cross-validation runs are different.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4946490806848569840-3945150295469204541?l=rsnippets.blogspot.com' alt='' /></div>
<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 13px;">
<div style="text-align: center;">To <strong>leave a comment</strong> for the author, please follow the link and comment on his blog: <strong><a href="http://rsnippets.blogspot.com/2012/05/cross-valitation-variability-example.html"> R snippets</a></strong>.</div>
<hr />
<a href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a href="http://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" href="http://www.r-project.org/">R</a> news and <a title="R tutorials" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: visualization (<a title="ggplot and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" href="http://www.r-bloggers.com/?s=time+series">time series</a>,<a title="ecdf" href="http://www.r-bloggers.com/?s=ecdf">ecdf</a>, <a title="finance trading" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
</div></p><img src="http://feeds.feedburner.com/~r/RBloggers/~4/fnqnuMv8vNM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.r-bloggers.com/cross-valitation-variability-example-part-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="" type="" />
		<feedburner:origLink>http://www.r-bloggers.com/cross-valitation-variability-example-part-i/</feedburner:origLink></item>
		<item>
		<title>MathJax Syntax Change</title>
		<link>http://feedproxy.google.com/~r/RBloggers/~3/ogW0xuiT_Hs/</link>
		<comments>http://www.r-bloggers.com/mathjax-syntax-change/#comments</comments>
		<pubDate>Fri, 25 May 2012 21:07:09 +0000</pubDate>
		<dc:creator>jjallaire</dc:creator>
				<category><![CDATA[R bloggers]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://blog.rstudio.org/?p=495</guid>
		<description><![CDATA[We&#8217;ve just a made a change to the syntax for embedding MathJax equations in R Markdown documents. The change was made to eliminate some parsing ambiguities and to support future extensibility to additional formats. The revised syntax adds a &#8220;latex&#8221; qualifier to the $ or $$ equation begin delimiter. It looks like this: This change [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.rstudio.org&#38;blog=18843819&#38;post=495&#38;subd=rstudioblog&#38;ref=&#38;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 12px;">
(This article was first published on  <strong><a href="http://blog.rstudio.org/2012/05/25/mathjax-syntax-change/"> RStudio Blog</a></strong>, and kindly contributed to <a href="http://www.r-bloggers.com/">R-bloggers)</a>      
</div></p>
<p>We&#8217;ve just a made a change to the syntax for embedding MathJax equations in R Markdown documents. The change was made to eliminate some parsing ambiguities and to support future extensibility to additional formats.</p>
<p>The revised syntax adds a &#8220;latex&#8221; qualifier to the $ or $$ equation begin delimiter. It looks like this:</p>
<p style="padding-left:30px;text-align:center;"><a href="http://rstudioblog.files.wordpress.com/2012/05/mathjax_latex_syntax.png" ref="nofollow" target="_blank"><img class="size-full wp-image-498 aligncenter" style="border:1px solid #dedede;" title="mathjax_latex_syntax" src="http://rstudioblog.files.wordpress.com/2012/05/mathjax_latex_syntax.png?w=630" alt=""   /></a></p>
<p>This change was the result of a few considerations:</p>
<ol>
<li>Some users encountered situations where the $<em>&lt;equation&gt;</em>$ syntax recognized standard text as an equation. There was an escape sequence (\$) to avoid this but for users not explicitly aware of MathJax semantics this was too hard to discover.</li>
<li>The requirement to have no space between equation delimiters ($) and the equation body (intended to reduce parsing ambiguity) was also confusing for users.</li>
<li>We want to eventually support <a href="http://www1.chapman.edu/~jipsen/mathml/asciimath.html" ref="nofollow" target="_blank">ASCIIMath</a> and for this will require an additional qualifier to indicate the equation format.</li>
</ol>
<p>RStudio v0.96.227 implements the new MathJax syntax and is <a href="http://www.rstudio.org/download" ref="nofollow" target="_blank">available for download</a> now.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rstudioblog.wordpress.com/495/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rstudioblog.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rstudioblog.wordpress.com/495/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rstudioblog.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rstudioblog.wordpress.com/495/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rstudioblog.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rstudioblog.wordpress.com/495/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rstudioblog.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rstudioblog.wordpress.com/495/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rstudioblog.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rstudioblog.wordpress.com/495/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rstudioblog.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rstudioblog.wordpress.com/495/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rstudioblog.wordpress.com/495/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.rstudio.org&#038;blog=18843819&%23038;post=495&%23038;subd=rstudioblog&%23038;ref=&%23038;feed=1" width="1" height="1" />
<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 13px;">
<div style="text-align: center;">To <strong>leave a comment</strong> for the author, please follow the link and comment on his blog: <strong><a href="http://blog.rstudio.org/2012/05/25/mathjax-syntax-change/"> RStudio Blog</a></strong>.</div>
<hr />
<a href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a href="http://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" href="http://www.r-project.org/">R</a> news and <a title="R tutorials" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: visualization (<a title="ggplot and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" href="http://www.r-bloggers.com/?s=time+series">time series</a>,<a title="ecdf" href="http://www.r-bloggers.com/?s=ecdf">ecdf</a>, <a title="finance trading" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
</div></p><img src="http://feeds.feedburner.com/~r/RBloggers/~4/ogW0xuiT_Hs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.r-bloggers.com/mathjax-syntax-change/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://0.gravatar.com/avatar/a8449d62acadb27e691d4134a309a49a?s=96&amp;amp;d=identicon&amp;amp;r=G" length="" type="" />
<enclosure url="http://rstudioblog.files.wordpress.com/2012/05/mathjax_latex_syntax.png" length="" type="" />
		<feedburner:origLink>http://www.r-bloggers.com/mathjax-syntax-change/</feedburner:origLink></item>
		<item>
		<title>Facebook-class social network analysis with R and Hadoop</title>
		<link>http://feedproxy.google.com/~r/RBloggers/~3/rW3vifH6asY/</link>
		<comments>http://www.r-bloggers.com/facebook-class-social-network-analysis-with-r-and-hadoop/#comments</comments>
		<pubDate>Fri, 25 May 2012 18:58:00 +0000</pubDate>
		<dc:creator>David Smith</dc:creator>
				<category><![CDATA[R bloggers]]></category>
		<category><![CDATA[Big Data]]></category>
		<category><![CDATA[packages]]></category>
		<category><![CDATA[R]]></category>

		<guid isPermaLink="false">http://www.r-bloggers.com/?guid=652f955c7d487f0f97973464d7164eb8</guid>
		<description><![CDATA[In computing, social networks are traditionally represented as graphs: a connection of nodes (people), pairs of which may be connected by edges (friend relationships). Visually, the social networks can then be represented like this: Social network analysis often amounts to calculating the statistics on a graph like this: the number of edges (friends) connected to a particular node (person), and the distribution of the number of edges connected to nodes across the entire graph. When the graph consists of up to 10 billion elements (nodes and edges), such computations can be done on a single server with dedicated graph software...]]></description>
			<content:encoded><![CDATA[<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 12px;">
(This article was first published on  <strong><a href="http://blog.revolutionanalytics.com/2012/05/facebook-class-social-network-analysis-with-r-and-hadoop.html"> Revolutions</a></strong>, and kindly contributed to <a href="http://www.r-bloggers.com/">R-bloggers)</a>      
</div></p>

<div><p>In computing, social networks are traditionally represented as <em><a href="http://en.wikipedia.org/wiki/Graph_(mathematics)" ref="nofollow" target="_blank">graphs</a></em>: a connection of nodes (people), pairs of which may be connected by edges (friend relationships). Visually, the social networks can then be represented like this:</p>
<p><a class="asset-img-link" href="http://revolution-computing.typepad.com/.a/6a010534b1db25970b016766c8c300970b-pi" ref="nofollow" target="_blank"><img alt="Network-graph" border="0" class="asset  asset-image at-xid-6a010534b1db25970b016766c8c300970b" src="http://revolution-computing.typepad.com/.a/6a010534b1db25970b016766c8c300970b-800wi" style="display: block; margin-left: auto; margin-right: auto;" title="Network-graph"></a></p>
<p>Social network analysis often amounts to calculating the statistics on a graph like this: the number of edges (friends) connected to a particular node (person), and the distribution of the number of edges connected to nodes across the entire graph. When the graph consists of up to 10 billion elements (nodes and edges), such computations can be done on a single server with dedicated graph software like <a href="http://neo4j.org/" ref="nofollow" target="_blank">Neo4j</a>. But bigger networks — like <a href="http://blog.revolutionanalytics.com/2010/12/facebooks-social-network-graph.html" ref="nofollow" target="_blank">Facebook&#039;s social network</a>, which is a graph with more than 60 billion elements — require a distributed solution.</p>
<p><a href="http://revolution-computing.typepad.com/.a/6a010534b1db25970b0147e0ae51b2970b-popup" onclick="window.open( this.href, '_blank', 'width=640,height=480,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0' ); return false" style="display: inline;" ref="nofollow" target="_blank"><img alt="Facebook-friendships" border="0" class="asset  asset-image at-xid-6a010534b1db25970b0147e0ae51b2970b image-full" src="http://revolution-computing.typepad.com/.a/6a010534b1db25970b0147e0ae51b2970b-800wi" title="Facebook-friendships"></a></p>
<p><a href="http://markorodriguez.com/" ref="nofollow" target="_blank">Marko A. Rodriguez</a>, a graph consultant with <a href="http://thinkaurelius.com/" ref="nofollow" target="_blank">Aurelius</a>, shows in a blog post how to use <a href="http://www.revolutionanalytics.com/products/r-for-apache-hadoop.php" ref="nofollow" target="_blank">R and Hadoop</a> (integrated with Revolution Analytics&#039; <a href="https://github.com/RevolutionAnalytics/RHadoop/wiki" ref="nofollow" target="_blank">RHadoop</a> packages) to analyze Facebook-scale social networks. He first simulates a social network (shown at the top of this post) using R&#039;s <a href="http://www.inside-r.org/packages/cran/igraph" ref="nofollow" target="_blank">igraph package</a>, and then distributed the network in the Hadoop cluster with <span style="font-family: 'courier new', courier;"><a href="https://github.com/RevolutionAnalytics/RHadoop/wiki/Getting-data-in-and-out" ref="nofollow" target="_blank">to.dfs</a></span> function (from the <a href="https://github.com/RevolutionAnalytics/RHadoop/wiki/rhdfs" ref="nofollow" target="_blank">rhdfs package</a>). He then used the <span style="font-family: 'courier new', courier;"><a href="https://github.com/RevolutionAnalytics/RHadoop/wiki/Tutorial" ref="nofollow" target="_blank">mapreduce</a></span> function (from the <a href="https://github.com/RevolutionAnalytics/RHadoop/wiki/rmr" ref="nofollow" target="_blank">rmr package</a>) to write a simple map-reduce algorithm in R to count the number of edges associated with each node:</p>
<div style="overflow: auto;">
<div class="geshifilter">
<pre class="r geshifilter-R" style="font-family: monospace;">degree.V <span>&lt;-</span> <a href="https://github.com/RevolutionAnalytics/RHadoop/wiki/Tutorial" ref="nofollow" target="_blank"><span>mapreduce</span></a><span style="color: #009900;">(</span>edge.list<span style="color: #339933;">,</span> 
    map=<a href="http://inside-r.org/r-doc/base/function" ref="nofollow" target="_blank"><span style="color: #003399; font-weight: bold;">function</span></a><span style="color: #009900;">(</span>k<span style="color: #339933;">,</span>v<span style="color: #009900;">)</span> keyval<span style="color: #009900;">(</span>v<span style="color: #009900;">[</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">]</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">)</span><span style="color: #339933;">,</span> 
    reduce=<a href="http://inside-r.org/r-doc/base/function" ref="nofollow" target="_blank"><span style="color: #003399; font-weight: bold;">function</span></a><span style="color: #009900;">(</span>k<span style="color: #339933;">,</span>v<span style="color: #009900;">)</span> keyval<span style="color: #009900;">(</span>k<span style="color: #339933;">,</span><a href="http://inside-r.org/r-doc/base/length" ref="nofollow" target="_blank"><span style="color: #003399; font-weight: bold;">length</span></a><span style="color: #009900;">(</span>v<span style="color: #009900;">)</span><span style="color: #009900;">)</span><span style="color: #009900;">)</span>
from.dfs<span style="color: #009900;">(</span>degree.V<span style="color: #009900;">)</span><span style="color: #009900;">[</span><span style="color: #009900;">[</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">]</span><span style="color: #009900;">]</span></pre>
</div>
</div>
<p>From there, it&#039;s another simple map-reduce job to calculate the connectivity statistics for the entire network. For more details on how Marko used RHadoop to perform this analysis, see the entire blog post linked below.</p>
<p>Aurelius blog: <a href="http://thinkaurelius.com/2012/02/05/graph-degree-distributions-using-r-over-hadoop/" rel="prev" ref="nofollow" target="_blank">Graph Degree Distributions using R over Hadoop</a></p></div>

<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 13px;">
<div style="text-align: center;">To <strong>leave a comment</strong> for the author, please follow the link and comment on his blog: <strong><a href="http://blog.revolutionanalytics.com/2012/05/facebook-class-social-network-analysis-with-r-and-hadoop.html"> Revolutions</a></strong>.</div>
<hr />
<a href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a href="http://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" href="http://www.r-project.org/">R</a> news and <a title="R tutorials" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: visualization (<a title="ggplot and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" href="http://www.r-bloggers.com/?s=time+series">time series</a>,<a title="ecdf" href="http://www.r-bloggers.com/?s=ecdf">ecdf</a>, <a title="finance trading" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
</div></p><img src="http://feeds.feedburner.com/~r/RBloggers/~4/rW3vifH6asY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.r-bloggers.com/facebook-class-social-network-analysis-with-r-and-hadoop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.r-bloggers.com/facebook-class-social-network-analysis-with-r-and-hadoop/</feedburner:origLink></item>
		<item>
		<title>Forecasting: Principles and Practice</title>
		<link>http://feedproxy.google.com/~r/RBloggers/~3/5-KwA9bWWTY/</link>
		<comments>http://www.r-bloggers.com/forecasting-principles-and-practice/#comments</comments>
		<pubDate>Fri, 25 May 2012 16:27:00 +0000</pubDate>
		<dc:creator>Dave Giles</dc:creator>
				<category><![CDATA[R bloggers]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[forecasting]]></category>
		<category><![CDATA[R]]></category>

		<guid isPermaLink="false">http://www.r-bloggers.com/?guid=ab79a8314d8892615d3b8cd3abc8b5af</guid>
		<description><![CDATA[Forecasting: Principles and Practice&#160;is the title of a new book by Rob Hyndman and George Athanasopoulos.As Rob says on his webpage:"The book is dif­fer­ent from other fore­cast­ing text­books in sev­eral ways. It is free and online, mak­in...]]></description>
			<content:encoded><![CDATA[<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 12px;">
(This article was first published on  <strong><a href="http://davegiles.blogspot.com/2012/05/forecasting-principles-and-practice.html"> Econometrics Beat: Dave Giles' Blog</a></strong>, and kindly contributed to <a href="http://www.r-bloggers.com/">R-bloggers)</a>      
</div></p>
<div style="text-align: justify;"><a href="http://otexts.com/fpp/" ref="nofollow" target="_blank"><strong><em>Forecasting: Principles and Practice</em></strong></a>&nbsp;is the title of a new book by Rob Hyndman and George Athanasopoulos.</div><div style="text-align: justify;"><br /></div><div style="text-align: justify;">As Rob says on his <a href="http://robjhyndman.com/researchtips/fpp/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed:+RobJHyndman-ResearchTips+(Research+tips)" ref="nofollow" target="_blank"><strong>webpage</strong></a>:</div><div style="text-align: justify;"><br /></div><div style="text-align: justify;">"The book is dif­fer­ent from other fore­cast­ing text­books in sev­eral ways.</div><ul><div style="text-align: justify;"> </div><li><div style="text-align: justify;">It is free and online, mak­ing it acces­si­ble to a wide audience.</div></li><div style="text-align: justify;"> </div><li><div style="text-align: justify;">It is based around the <span style="color: black;"><strong><a href="http://robjhyndman.com/software/forecast/" ref="nofollow" target="_blank">fore­cast pack­age for R</a></strong>.</span></div></li><div style="text-align: justify;"> </div><li><div style="text-align: justify;">It is con­tin­u­ously updated. You don’t have to wait until the next edi­tion for errors to be removed or new meth­ods to be dis­cussed. We will update the book frequently.</div></li><div style="text-align: justify;"> </div><li><div style="text-align: justify;">There are dozens of real data exam­ples taken from our own con­sult­ing prac­tice. We have worked with hun­dreds of busi­nesses and orga­ni­za­tions help­ing them with fore­cast­ing issues, and this expe­ri­ence has con­tributed directly to many of the exam­ples given here, as well as guid­ing our gen­eral phi­los­o­phy of forecasting.</div></li><div style="text-align: justify;"> </div><li><div style="text-align: justify;">We empha­sise graph­i­cal meth­ods more than most fore­cast­ers. We use graphs to explore the data, analyse the valid­ity of the mod­els fit­ted and present the fore­cast­ing results."</div></li></ul><div style="text-align: justify;">This looks <em>really good</em>!</div><br /><ul></ul><div style="text-align: center;">© 2012, David E. Giles</div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2198942534740642384-4124037301868507298?l=davegiles.blogspot.com' alt='' /></div>
<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 13px;">
<div style="text-align: center;">To <strong>leave a comment</strong> for the author, please follow the link and comment on his blog: <strong><a href="http://davegiles.blogspot.com/2012/05/forecasting-principles-and-practice.html"> Econometrics Beat: Dave Giles' Blog</a></strong>.</div>
<hr />
<a href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a href="http://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" href="http://www.r-project.org/">R</a> news and <a title="R tutorials" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: visualization (<a title="ggplot and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" href="http://www.r-bloggers.com/?s=time+series">time series</a>,<a title="ecdf" href="http://www.r-bloggers.com/?s=ecdf">ecdf</a>, <a title="finance trading" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
</div></p><img src="http://feeds.feedburner.com/~r/RBloggers/~4/5-KwA9bWWTY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.r-bloggers.com/forecasting-principles-and-practice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.r-bloggers.com/forecasting-principles-and-practice/</feedburner:origLink></item>
		<item>
		<title>Monitor: Adding "RER" and "RPD" statistics</title>
		<link>http://feedproxy.google.com/~r/RBloggers/~3/0ZGIRNTKyjY/</link>
		<comments>http://www.r-bloggers.com/monitor-adding-rer-and-rpd-statistics/#comments</comments>
		<pubDate>Fri, 25 May 2012 15:46:00 +0000</pubDate>
		<dc:creator>jrcuesta</dc:creator>
				<category><![CDATA[R bloggers]]></category>
		<category><![CDATA["R" Chemometrics]]></category>

		<guid isPermaLink="false">http://www.r-bloggers.com/?guid=8fb0347684ee89b35d541d7170a191d0</guid>
		<description><![CDATA[I continue developing the Monitor function in R. The idea is to&#160;get statistics which help me to understand the performance of my model.Of course the validation set must be free of outliers&#160;(X or Y).I add this time two new statistics: RER and ...]]></description>
			<content:encoded><![CDATA[<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 12px;">
(This article was first published on  <strong><a href="http://nir-quimiometria.blogspot.com/2012/05/monitor-adding-rer-and-rpd-statistics.html"> NIR-Quimiometría</a></strong>, and kindly contributed to <a href="http://www.r-bloggers.com/">R-bloggers)</a>      
</div></p>
<div style="text-align: justify;">I continue developing the Monitor function in R. The idea is to&nbsp;get statistics which help me to understand the performance of my model.</div><div style="text-align: justify;">Of course the validation set must be free of outliers&nbsp;(X or Y).</div><div style="text-align: justify;">I add this time two new statistics: RER and RPD.</div><div style="text-align: justify;">These statistics must be treated with caution, because depends of&nbsp;the range, standard deviation&nbsp;and number of samples&nbsp;for the validation set.</div>See the new video for the calculation of these statistics in "R":<br /><a href="http://screenr.com/iYX8" ref="nofollow" target="_blank">&nbsp;<strong>Monitor: Adding "RER" and "RPD" statistics</strong></a><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2424328492215531658-2048796841066321471?l=nir-quimiometria.blogspot.com' alt='' /></div>
<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 13px;">
<div style="text-align: center;">To <strong>leave a comment</strong> for the author, please follow the link and comment on his blog: <strong><a href="http://nir-quimiometria.blogspot.com/2012/05/monitor-adding-rer-and-rpd-statistics.html"> NIR-Quimiometría</a></strong>.</div>
<hr />
<a href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a href="http://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" href="http://www.r-project.org/">R</a> news and <a title="R tutorials" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: visualization (<a title="ggplot and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" href="http://www.r-bloggers.com/?s=time+series">time series</a>,<a title="ecdf" href="http://www.r-bloggers.com/?s=ecdf">ecdf</a>, <a title="finance trading" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
</div></p><img src="http://feeds.feedburner.com/~r/RBloggers/~4/0ZGIRNTKyjY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.r-bloggers.com/monitor-adding-rer-and-rpd-statistics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.r-bloggers.com/monitor-adding-rer-and-rpd-statistics/</feedburner:origLink></item>
		<item>
		<title>A course in statistical programming</title>
		<link>http://feedproxy.google.com/~r/RBloggers/~3/PIMSQQb-3pg/</link>
		<comments>http://www.r-bloggers.com/a-course-in-statistical-programming/#comments</comments>
		<pubDate>Fri, 25 May 2012 14:14:23 +0000</pubDate>
		<dc:creator>Karl Broman</dc:creator>
				<category><![CDATA[R bloggers]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[reproducible research]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[teaching]]></category>

		<guid isPermaLink="false">http://kbroman.wordpress.com/?p=987</guid>
		<description><![CDATA[Graduate students in statistics often take (or at least have the opportunity to take) a statistical computing course, but often such courses are focused on methods (like numerical linear algebra, the EM algorithm, and MCMC) and not on actual coding. For example, here&#8217;s a course in &#8220;advanced statistical computing&#8221; that I taught at Johns Hopkins [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kbroman.wordpress.com&#38;blog=26292872&#38;post=987&#38;subd=kbroman&#38;ref=&#38;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 12px;">
(This article was first published on  <strong><a href="http://kbroman.wordpress.com/2012/05/25/a-course-in-statistical-programming/"> The stupidest thing... » R</a></strong>, and kindly contributed to <a href="http://www.r-bloggers.com/">R-bloggers)</a>      
</div></p>
<p>Graduate students in statistics often take (or at least have the opportunity to take) a statistical computing course, but often such courses are focused on methods (like numerical linear algebra, the EM algorithm, and MCMC) and not on actual coding.  </p>
<p>For example, <a href="http://www.biostat.wisc.edu/~kbroman/teaching/statcomp/index.html" ref="nofollow" target="_blank">here&#8217;s a course in &#8220;advanced statistical computing&#8221;</a> that I taught at <a href="http://www.biostat.jhsph.edu" ref="nofollow" target="_blank">Johns Hopkins</a> back in 2001.</p>
<p>Many (perhaps most) good programmers learned to code outside of formal courses.  But many statisticians are terrible programmers and would benefit by a formal course.</p>
<p>Moreover, applied statisticians spend the vast majority of their time interacting with a computer and would likely benefit from more formal presentations of how to do it well.  And I think this sort of training is particularly important for ensuring that <a href="https://groups.google.com/forum/?fromgroups#!forum/reproducible-research" ref="nofollow" target="_blank">research is reproducible</a>.</p>
<p>One really learns to code in private, struggling over problems, but I benefited enormously from a statistical computing course I took from <a href="http://www.stat.berkeley.edu/~spector/" ref="nofollow" target="_blank">Phil Spector</a> at <a href="http://www.stat.berkeley.edu" ref="nofollow" target="_blank">Berkeley</a>.</p>
<p><a href="http://www.biostat.jhsph.edu/~bcaffo" ref="nofollow" target="_blank">Brian Caffo</a>, <a href="http://www.biostat.jhsph.edu/~iruczins/" ref="nofollow" target="_blank">Ingo Ruczinski</a>, <a href="http://www.biostat.jhsph.edu/~rpeng" ref="nofollow" target="_blank">Roger Peng</a>, <a href="http://www.biostat.jhsph.edu/~ririzarr/" ref="nofollow" target="_blank">Rafael Irizarry</a>, and <a href="http://www.biostat.wisc.edu/~kbroman" ref="nofollow" target="_blank">I</a> developed a <a href="http://www.biostat.jhsph.edu/~bcaffo/statcomp/" ref="nofollow" target="_blank">statistical programming course</a> at Hopkins that (I think) really did the job.  </p>
<p>I would like to develop a similar such course at <a href="http://www.biostat.wisc.edu" ref="nofollow" target="_blank">Wisconsin</a>: on statistical programming, in the most general sense.</p>
<p>I have in mind several basic principles:</p>
<ul>
<li>be self-sufficient</li>
<li>get the right answer</li>
<li>document what you did (so that you will understand what you did 6 months later)</li>
<li>if primary data change, be able to re-run the analysis without a lot of work</li>
<li>are your simulation results reproducible?</li>
<li>reuse of code (others&#8217; and your own) rather than starting from scratch every time</li>
<li>make methods accessible to (and used by) others</li>
</ul>
<p>Here are my current thoughts about the topics to include in such a course.  The key aim would be to make students aware of the basic principles and issues: to give them a good base from which to learn on their own.  Homework would include interesting and realistic programming assignments plus create a Sweave-type document and an R package.</p>
<ul>
<li>Basic unix tools (find; df; top; ps ux; grep); unix on Mac and windows</li>
<li>Emacs/vim/other editors (rstudio/eclipse)</li>
<li>Latex (for papers; for presentations)</li>
<li>slides for talks; posters; figures/tables</li>
<li>Advanced R (fancy data structures; functions; object-oriented stuff) </li>
<li>Advanced R graphics</li>
<li>R packages</li>
<li>Sweave/asciidoc/knitr</li>
<li>minimal Perl (or Python or Ruby); example of data manipulation</li>
<li>Minimal C (or C++); examples of speed-up</li>
<li>version control (eg git or mercurial); backups</li>
<li>reproducible research ideas</li>
<li>data management</li>
<li>managing projects: data, analyses, results, papers</li>
<li>programming style (readable, modular); general but not too general</li>
<li>debugging/profiling/testing</li>
<li>high-throughput computing; parallel computing; managing big jobs</li>
<li>finding answers to questions: man pages; documentation; web</li>
<li>more on visualization; dynamic graphics</li>
<li>making a web page; html &amp; css; simple cgi-type web forms?</li>
<li>writing and managing email</li>
<li>managing references to journal articles</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kbroman.wordpress.com/987/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kbroman.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kbroman.wordpress.com/987/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kbroman.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kbroman.wordpress.com/987/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kbroman.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kbroman.wordpress.com/987/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kbroman.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kbroman.wordpress.com/987/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kbroman.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kbroman.wordpress.com/987/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kbroman.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kbroman.wordpress.com/987/" ref="nofollow" target="_blank"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kbroman.wordpress.com/987/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kbroman.wordpress.com&#038;blog=26292872&%23038;post=987&%23038;subd=kbroman&%23038;ref=&%23038;feed=1" width="1" height="1" />
<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 13px;">
<div style="text-align: center;">To <strong>leave a comment</strong> for the author, please follow the link and comment on his blog: <strong><a href="http://kbroman.wordpress.com/2012/05/25/a-course-in-statistical-programming/"> The stupidest thing... » R</a></strong>.</div>
<hr />
<a href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a href="http://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" href="http://www.r-project.org/">R</a> news and <a title="R tutorials" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: visualization (<a title="ggplot and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" href="http://www.r-bloggers.com/?s=time+series">time series</a>,<a title="ecdf" href="http://www.r-bloggers.com/?s=ecdf">ecdf</a>, <a title="finance trading" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
</div></p><img src="http://feeds.feedburner.com/~r/RBloggers/~4/PIMSQQb-3pg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.r-bloggers.com/a-course-in-statistical-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://1.gravatar.com/avatar/1e38fbb5dcf9455f3738a218433e7670?s=96&amp;amp;d=identicon&amp;amp;r=G" length="" type="" />
		<feedburner:origLink>http://www.r-bloggers.com/a-course-in-statistical-programming/</feedburner:origLink></item>
		<item>
		<title>Trend Following Factors from Hsieh and Fung</title>
		<link>http://feedproxy.google.com/~r/RBloggers/~3/-tupFjdNrH8/</link>
		<comments>http://www.r-bloggers.com/trend-following-factors-from-hsieh-and-fung/#comments</comments>
		<pubDate>Fri, 25 May 2012 13:42:00 +0000</pubDate>
		<dc:creator>klr</dc:creator>
				<category><![CDATA[R bloggers]]></category>
		<category><![CDATA[factors]]></category>
		<category><![CDATA[hsieh]]></category>
		<category><![CDATA[R]]></category>

		<guid isPermaLink="false">http://www.r-bloggers.com/?guid=64b301d0062784c2f98e264225fa3541</guid>
		<description><![CDATA[The beauty of R and academic replication is that on the Friday before Memorial Day weekend I can read an academic paper and do some analysis all before breakfast.&#160; In this case, the paper is   Hsieh, David A. and Fung, William, The Risk in Hedge F...]]></description>
			<content:encoded><![CDATA[<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 12px;">
(This article was first published on  <strong><a href="http://timelyportfolio.blogspot.com/2012/05/trend-following-factors-from-hsieh-and.html"> Timely Portfolio</a></strong>, and kindly contributed to <a href="http://www.r-bloggers.com/">R-bloggers)</a>      
</div></p>
<p>The beauty of R and academic replication is that on the Friday before Memorial Day weekend I can read an academic paper and do some analysis all before breakfast.&nbsp; In this case, the paper is </p> <blockquote> <p>Hsieh, David A. and Fung, William, The Risk in Hedge Fund Strategies: Theory and Evidence from Trend Followers. The Review of Financial Studies, Vol. 14, No. 2, Summer 2001 .<br>Available at author’s site at Duke University: <a href="http://faculty.fuqua.duke.edu/~dah7/RFS2001.pdf" ref="nofollow" target="_blank">PDF file</a>.<br></p> <p>with data courtesy of the authors available at <a href="http://faculty.fuqua.duke.edu/~dah7/DataLibrary/TF-Fac.xls" ref="nofollow" target="_blank">http://faculty.fuqua.duke.edu/~dah7/DataLibrary/TF-Fac.xls</a></p></blockquote> <p>Let’s get the factors into R and run some very introductory analysis on the <a href="http://www.edhec-risk.com/AIeducation/PhD_Finance" ref="nofollow" target="_blank">Edhec</a> data from PerformanceAnalytics.&nbsp; The factors as defined by the authors are:</p> <p>Trend Following Risk Factors from Fung and Hsieh, RFS (2001) <br>PTFSBD: Return of PTFS Bond lookback straddle <br>PTFSFX: Return of PTFS Currency Lookback Straddle <br>PTFSCOM:Return of PTFS Commodity Lookback Straddle <br>PTFSIR: Return of PTFS Short Term Interest Rate Lookback Straddle <br>PTFSSTK:Return of PTFS Stock Index Lookback Straddle</p> <table style="width: auto"> <tbody> <tr> <td><a href="https://picasaweb.google.com/lh/photo/tLHgDq_-RbEhchTEppJg69MTjNZETYmyPJy0liipFm0?feat=embedwebsite" ref="nofollow" target="_blank"><img src="https://lh6.googleusercontent.com/-lLJ72kqreIs/T7-LE02ztsI/AAAAAAACmiE/4_BP1adkJy4/s800/rolling%2520style.png" width="640" height="520"></a></td></tr> <tr> <td style="text-align: right; font-family: arial,sans-serif; font-size: 11px">From <a href="https://picasaweb.google.com/115099029813395778077/TimelyPortfolio02?authuser=0&amp;feat=embedwebsite" ref="nofollow" target="_blank">TimelyPortfolio</a></td></tr></tbody></table> <table style="width: auto"> <tbody> <tr> <td><a href="https://picasaweb.google.com/lh/photo/2hRFmqMydq2D4E0NISjb3dMTjNZETYmyPJy0liipFm0?feat=embedwebsite" ref="nofollow" target="_blank"><img src="https://lh4.googleusercontent.com/-41uUpssO_R4/T7-LE10hOxI/AAAAAAACmiA/ZHm2cGBy-nE/s800/correlation.png" width="640" height="520"></a></td></tr> <tr> <td style="text-align: right; font-family: arial,sans-serif; font-size: 11px">From <a href="https://picasaweb.google.com/115099029813395778077/TimelyPortfolio02?authuser=0&amp;feat=embedwebsite" ref="nofollow" target="_blank">TimelyPortfolio</a></td></tr></tbody></table> <p>What a nice way to ease into the weekend. Now for the hard part--thinking about how I might use this.</p> <p><a href="https://gist.github.com/2788193" ref="nofollow" target="_blank">R code from GIST:</a></p><script src="https://gist.github.com/2788193.js"> </script>  <div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7630810606654250077-3308218290993894878?l=timelyportfolio.blogspot.com' alt='' /></div>
<p class="syndicated-attribution"><div style="border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 13px;">
<div style="text-align: center;">To <strong>leave a comment</strong> for the author, please follow the link and comment on his blog: <strong><a href="http://timelyportfolio.blogspot.com/2012/05/trend-following-factors-from-hsieh-and.html"> Timely Portfolio</a></strong>.</div>
<hr />
<a href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a href="http://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" href="http://www.r-project.org/">R</a> news and <a title="R tutorials" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: visualization (<a title="ggplot and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" href="http://www.r-bloggers.com/?s=time+series">time series</a>,<a title="ecdf" href="http://www.r-bloggers.com/?s=ecdf">ecdf</a>, <a title="finance trading" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
</div></p><img src="http://feeds.feedburner.com/~r/RBloggers/~4/-tupFjdNrH8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.r-bloggers.com/trend-following-factors-from-hsieh-and-fung/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="" type="" />
		<feedburner:origLink>http://www.r-bloggers.com/trend-following-factors-from-hsieh-and-fung/</feedburner:origLink></item>
	</channel>
</rss>

