<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Christopher David Desjardins&#039;s Blog</title>
	<atom:link href="http://cddesjardins.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cddesjardins.wordpress.com</link>
	<description>Bayesian, Applied Statistics, LaTeX, R, and Linux</description>
	<lastBuildDate>Sun, 27 Nov 2011 04:16:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cddesjardins.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Christopher David Desjardins&#039;s Blog</title>
		<link>http://cddesjardins.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cddesjardins.wordpress.com/osd.xml" title="Christopher David Desjardins&#039;s Blog" />
	<atom:link rel='hub' href='http://cddesjardins.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Zero-inflation and overdispersion in count models and penalized regression</title>
		<link>http://cddesjardins.wordpress.com/2011/11/18/zero-inflation-and-overdispersion-in-count-models-and-penalized-regression/</link>
		<comments>http://cddesjardins.wordpress.com/2011/11/18/zero-inflation-and-overdispersion-in-count-models-and-penalized-regression/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 00:40:12 +0000</pubDate>
		<dc:creator>Desjardins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cddesjardins.wordpress.com/?p=354</guid>
		<description><![CDATA[It has been a while since I&#8217;ve posted but I am still busy working away at my dissertation. For my dissertation, I am developing a Bayesian mixture model with my co-advisor Dr. Chatterjee in the school of statistics at the University of Minnesota. My hope is that this approach can be useful when your data [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=354&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>It has been a while since I&#8217;ve posted but I am still busy working away at my dissertation. For my dissertation, I am developing a Bayesian mixture model with my co-advisor Dr. Chatterjee in the school of statistics at the University of Minnesota. My hope is that this approach can be useful when your data are a realization of a mixture model with more than two components. Specifically this approach is being developed to address what I perceive as a shortcoming for dealing with count data that are both zero-inflated and overdispersed. Currently the best approaches for dealing with this kind of data are the zero-inflated Poisson and zero-inflated negative binomial models, with the latter models fitting best in the case of zero-inflation and overdispersion in your non-zero counts. These approaches work best when your data arise from two latent classes: <em>structural</em> zeros and <em>sampling</em> zeros. However, in a data set that I have been working with it seems reasonable that the data are from more than two latent classes and thus the inspiration behind the development of this new technique. I will post more about this as we develop it as well as <strong>R</strong> code.</p>
<p>Finally, I am getting really excited about penalized regression. Specifically ridge, lasso, and elastic-net regression. I will hopefully be back to blog about this soon with some examples of how to do this in <strong>R</strong>. The benefits of these approaches seem limitless and would be a great addition to the arsenal of methodologies that an applied researcher in education or psychology might use. Specifically I think these types of regressions could work well as a substitute for factor analysis (as these techniques act to reduce the dimensionality of your data).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cddesjardins.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cddesjardins.wordpress.com/354/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=354&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cddesjardins.wordpress.com/2011/11/18/zero-inflation-and-overdispersion-in-count-models-and-penalized-regression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/80c20dd845c14236ac637a03f2899065?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Desjardins</media:title>
		</media:content>
	</item>
		<item>
		<title>TeXworks with Sweave</title>
		<link>http://cddesjardins.wordpress.com/2010/07/31/texworks-with-sweave/</link>
		<comments>http://cddesjardins.wordpress.com/2010/07/31/texworks-with-sweave/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 18:03:41 +0000</pubDate>
		<dc:creator>Desjardins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cddesjardins.wordpress.com/?p=341</guid>
		<description><![CDATA[Recently, I&#8217;ve started trying TeXworks for my LaTeX editing needs. It&#8217;s pretty basic but works well, is fast, cross-platform, open-source, and has a nice previewer. I didn&#8217;t find any information regarding how to set up Sweave to run with it, so I&#8217;ve decided to post how I&#8217;ve done it. Do the following Edit -&#62; Preferences... [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=341&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Recently, I&#8217;ve started trying <a href="">TeXworks</a> for my LaTeX editing needs. It&#8217;s pretty basic but works well, is fast, cross-platform, open-source, and has a nice previewer. I didn&#8217;t find any information regarding how to set up Sweave to run with it, so I&#8217;ve decided to post how I&#8217;ve done it.</p>
<p>Do the following<br />
<code>Edit -&gt; Preferences...<br />
</code></p>
<p>Under the Typesetting tab, in the Processing tools section look for the &#8216;+&#8217; and click it. This will bring up a dialog box to add your own &#8216;tool&#8217;</p>
<p>I added the following.</p>
<p>In the Name field:<br />
<code>Sweave</code></p>
<p>In the Program field:<br />
<code>R</code></p>
<p>And I gave it 3 arguments, each is a separate argument and should not be on the same line!<br />
<code>CMD<br />
Sweave<br />
$fullname<br />
</code></p>
<p>Also, I deselected view PDF as it doesn&#8217;t make sense as you now need to run LaTeX.</p>
<p>Click OK, then OK, and now you&#8217;ll have Sweave available in the drop down box.</p>
<p>It should look like the screenshot below.</p>
<p><a href="http://cddesjardins.files.wordpress.com/2010/08/sweave.png"><img src="http://cddesjardins.files.wordpress.com/2010/08/sweave.png?w=450" alt="texworks" title="SweaveTeXworks" class="aligncenter size-full wp-image-47" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cddesjardins.wordpress.com/341/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cddesjardins.wordpress.com/341/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=341&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cddesjardins.wordpress.com/2010/07/31/texworks-with-sweave/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/80c20dd845c14236ac637a03f2899065?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Desjardins</media:title>
		</media:content>

		<media:content url="http://cddesjardins.files.wordpress.com/2010/08/sweave.png" medium="image">
			<media:title type="html">SweaveTeXworks</media:title>
		</media:content>
	</item>
		<item>
		<title>WinBUGS on Ubuntu and R2WinBUGS with Wine</title>
		<link>http://cddesjardins.wordpress.com/2010/07/27/winbugs-on-ubuntu-and-r2winbugs-with-wine/</link>
		<comments>http://cddesjardins.wordpress.com/2010/07/27/winbugs-on-ubuntu-and-r2winbugs-with-wine/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 18:15:11 +0000</pubDate>
		<dc:creator>Desjardins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cddesjardins.wordpress.com/?p=312</guid>
		<description><![CDATA[The following is a how-to for setting up WinBUGS on the latest version of Ubuntu 10.04 LTS Lucid Lynx. 1. Install wine-1.0 not wine-1.2 (wine-1.2 will seg fault!) sudo apt-get install wine-1.0 2. Download WinBUGS from here. 3. Navigate to the directory where you downloaded WinBUGS, I&#8217;ll assume it was /home/user/Downloads, and run the following: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=312&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The following is a how-to for setting up WinBUGS on the latest version of Ubuntu 10.04 LTS Lucid Lynx.</p>
<p>1. Install wine-1.0 not wine-1.2 (wine-1.2 will seg fault!)<br />
<code>sudo apt-get install wine-1.0<br />
</code></p>
<p>2. Download WinBUGS from <a href="http://www.mrc-bsu.cam.ac.uk/bugs/winbugs/WinBUGS14.exe">here</a>.</p>
<p>3. Navigate to the directory where you downloaded WinBUGS, I&#8217;ll assume it was /home/user/Downloads, and run the following:<br />
<code>wine WinBUGS14.exe<br />
</code></p>
<p>4. Launch WinBUGS<br />
<code>wine ~/.wine/drive_c/Program Files/WinBUGS14/WinBUGS14.exe<br />
</code></p>
<p>5. Patch WinBUGS with the following patch &#8211; available <a href="http://www.mrc-bsu.cam.ac.uk/bugs/winbugs/WinBUGS14_cumulative_patch_No3_06_08_07_RELEASE.txt">here</a>. Apply that patch as described on the WinBUGS website. Then close WinBUGS and launch it again as previously described.</p>
<p>6. Add the immortality key &#8211; available <a href="http://www.mrc-bsu.cam.ac.uk/bugs/winbugs/WinBUGS14_immortality_key.txt"> here</a>. Apply it the same way you did the patch!</p>
<p>7. Launch R and install R2WinBUGS<br />
<code>R<br />
install.packages("R2WinBUGS")<br />
</code></p>
<p>8. Load R2WinBUGS and run the Gelman example to check that it worked<br />
<code>library(R2WinBUGS)<br />
model.file &lt;- system.file(package=&quot;R2WinBUGS&quot;,&quot;model&quot;,<br />
&quot;schools.txt&quot;)<br />
data(schools)<br />
J &lt;- nrow(schools)<br />
y &lt;- schools$estimate<br />
sigma.y &lt;- schools$sd<br />
data &lt;- list (&quot;J&quot;, &quot;y&quot;, &quot;sigma.y&quot;)<br />
inits &lt;- function(){<br />
    list(theta=rnorm(J, 0, 100), mu.theta=rnorm(1, 0, 100),<br />
         sigma.theta=runif(1, 0, 100))<br />
}<br />
parameters &lt;- c(&quot;theta&quot;, &quot;mu.theta&quot;, &quot;sigma.theta&quot;)<br />
schools.sim &lt;- bugs(data, inits, parameters, model.file, n.chains=3, n.iter=5000)<br />
print(schools.sim)<br />
plot(schools.sim)<br />
</code></p>
<p>You will get a couple of messages from Wine, but I believe you can ignore these. I have not thoroughly tested this but I can corroborate that it gives similar estimates to R2WinBUGS from Windows (see below gnome-terminal vs. Windows XP in VirtualBox). I still recommend JAGS but if you need to use WinBUGS here is how.</p>
<p>Also this should work on any Linux distribution or Mac OS X provided that you can get Wine 1.0 as the latest Wine versions do not work with WinBUGS. Let me know if you have troubles. </p>
<p><a href="http://cddesjardins.files.wordpress.com/2010/07/r2winbugs.png"><img src="http://cddesjardins.files.wordpress.com/2010/07/r2winbugs.png?w=450" alt="r2winbugs" title="R2WinBUGS" class="aligncenter size-full wp-image-47" /></a></p>
<p>9. Add a desktop launcher (OPTIONAL)<br />
<code>Right Click gnome-panel<br />
Click 'Add to Panel ...'<br />
Click 'Custom Application Launcher'<br />
</code></p>
<p>Add the following to the Name field<br />
<code>WinBUGS14</code></p>
<p>Add the following to the Command field (do include the quotes!)<br />
<code>wine '/home/USER/.wine/drive_c/Program Files/WinBUGS14/WinBUGS14.exe'</code></p>
<p>Finally, if you want to add the WinBUGS icon, click <a href="http://ubuntuone.com/p/Aof/">here</a>. Right click the image and select:<br />
<code>Save image as ...</code></p>
<p>Save it to /home/user/Downloads/ and then add it by clicking the Wine icon, navigating to the directory where you downloaded it and finally selecting the icon. Then close the Custom Application Launcher dialog box by clicking Close.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cddesjardins.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cddesjardins.wordpress.com/312/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=312&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cddesjardins.wordpress.com/2010/07/27/winbugs-on-ubuntu-and-r2winbugs-with-wine/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/80c20dd845c14236ac637a03f2899065?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Desjardins</media:title>
		</media:content>

		<media:content url="http://cddesjardins.files.wordpress.com/2010/07/r2winbugs.png" medium="image">
			<media:title type="html">R2WinBUGS</media:title>
		</media:content>
	</item>
		<item>
		<title>Rgedit plugin (32 bit + 64 bit) and JAGS 2.1.0 (64 bit) for Ubuntu 10.04</title>
		<link>http://cddesjardins.wordpress.com/2010/07/26/rgedit-plugin-for-ubuntu/</link>
		<comments>http://cddesjardins.wordpress.com/2010/07/26/rgedit-plugin-for-ubuntu/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 22:53:19 +0000</pubDate>
		<dc:creator>Desjardins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cddesjardins.wordpress.com/?p=308</guid>
		<description><![CDATA[I&#8217;ve rolled my own .deb package for Ubuntu 10.04 of Rgedit. This is a plugin for gedit that makes it act as an IDE for R in a similar fashion to ESS or TINN-R. To download the .deb file which is platform independent click here. Also, I&#8217;ve recently updated to JAGS 2.1.0 and have rolled [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=308&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve rolled my own .deb package for Ubuntu 10.04 of <a href="http://rgedit.sourceforge.net/"> Rgedit</a>. This is a plugin for gedit that makes it act as an IDE for R in a similar fashion to ESS or TINN-R. To download the .deb file which is platform independent <a href="http://ubuntuone.com/p/AjU/">click here</a>. </p>
<p>Also, I&#8217;ve recently updated to JAGS 2.1.0 and have rolled my own Ubuntu 10.04 64 bit packages. I will continue to keep JAGS updated by rebuilding Dirk&#8217;s packages from Debian Sid while 10.04 is supported (unless I move back to Debian once Squeeze is released). I will not roll packages for Ubuntu releases that are not LTS. You can get JAGS by <a href="http://ubuntuone.com/p/Aqi/">clicking here</a>. If anyone is willing to roll 32 bit package I am happy to host it here. Please let me know. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cddesjardins.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cddesjardins.wordpress.com/308/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=308&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cddesjardins.wordpress.com/2010/07/26/rgedit-plugin-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/80c20dd845c14236ac637a03f2899065?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Desjardins</media:title>
		</media:content>
	</item>
		<item>
		<title>Summer update #1</title>
		<link>http://cddesjardins.wordpress.com/2010/06/23/summer-update-1/</link>
		<comments>http://cddesjardins.wordpress.com/2010/06/23/summer-update-1/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 14:18:01 +0000</pubDate>
		<dc:creator>Desjardins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cddesjardins.wordpress.com/?p=304</guid>
		<description><![CDATA[It has been a little while since I last blogged. I have been busy finishing up a Ph.D. related project, namely my written prelim, and haven&#8217;t had any time for posting updates. However, I have three important things. First, I am continuing to work with the Fedora project to get JAGS formally into Fedora. Afterwards, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=304&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>It has been a little while since I last blogged. I have been busy finishing up a Ph.D. related project, namely my written prelim, and haven&#8217;t had any time for posting updates. However, I have three important things. </p>
<p>First, I am continuing to work with <a href="http://fedoraproject.org/">the Fedora project </a> to get <a href="http://www-fis.iarc.fr/~martyn/software/jags/">JAGS</a> formally into Fedora. Afterwards, I do hope to get R-rjags and R-coda into Fedora as well but these are much more easily installable via the fantastic R package manager and admittedly are very low on my priorities.</p>
<p>The second big thing that I&#8217;ve been working on is writing a <a href="www.kde.org">KDE/Qt </a> R editor. I know cantor and rkward exist and that you can use kate, kwrite, etc., however, none of these editors really meet my R needs. Rkward is the closest, but is way too feature rich for my needs. I am hoping that my R editor will be similar to ESS and TINN-R. I mostly just want syntax highlighting (which I already have partially implemented), the ability to easily send a line(s) of coding to a terminal using a keystroke (will default to Ctrl+R like RGui in Windows but will be configurable in a preferences dialog), the ability to launch R from the editor in a separate window (e.g. konsole, gnome-terminal, etc.), and the ability to run Sweave on the document. Maybe by the end of the summer I will be ready to release a preview or a beta version, but I am not sure.  </p>
<p>Finally, and lowest down on the priority list, I plan on writing a MCMC program in C++. After creating this program and bolstering my C++ and MCMC skills, I will stop writing the program once I&#8217;ve learned enough (as it&#8217;s a didactic experience) and instead will actively contribute to JAGS or MCMCglmm or some other Bayesian program that can interact with R. Alternatively, I might consider trying to create a KDE/Qt frontend to JAGS that could also call R and rjags just to run the JAGS engine and nothing else. I am uninterested in a Qt fronted to R (btw, that&#8217;s called rkward). </p>
<p>But that&#8217;s a long way down the road. </p>
<p>Thoughts? Ideas? Comments?  </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cddesjardins.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cddesjardins.wordpress.com/304/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=304&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cddesjardins.wordpress.com/2010/06/23/summer-update-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/80c20dd845c14236ac637a03f2899065?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Desjardins</media:title>
		</media:content>
	</item>
		<item>
		<title>JAGS, rjags, and coda packages for Fedora 13 i386 &amp; 64 bit</title>
		<link>http://cddesjardins.wordpress.com/2010/06/04/jags-package-for-fedora-13-64-bit/</link>
		<comments>http://cddesjardins.wordpress.com/2010/06/04/jags-package-for-fedora-13-64-bit/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 19:17:53 +0000</pubDate>
		<dc:creator>Desjardins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cddesjardins.wordpress.com/?p=298</guid>
		<description><![CDATA[I spent the morning working on writing up a RPM spec file to package and maintain JAGS in Fedora. So hopefully my spec file looks good and my RPM can promptly be included in Fedora (hopefully 13). The beauty of this is that after installing JAGS from my RPM you don&#8217;t need to tell rjags [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=298&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I spent the morning working on writing up a RPM spec file to package and maintain <a href="http://www-fis.iarc.fr/~martyn/software/jags/">JAGS</a> in <a href="http://fedoraproject.org/">Fedora</a>. So hopefully my spec file looks good and my RPM can promptly be included in Fedora (hopefully 13). The beauty of this is that after installing JAGS from my RPM you don&#8217;t need to tell <a href="http://cran.r-project.org/web/packages/rjags/index.html"> rjags</a> where to look for JAGS because it&#8217;s already in a place where rjags will look by default. Also you don&#8217;t have to compile JAGS. </p>
<p>For the time being I am hosting the RPMs for <a href="http://dl.dropbox.com/u/1501309/Fedora/jags-2.1.0-2.1.i386.rpm"> jags i386</a> and <a href="http://dl.dropbox.com/u/1501309/jags-2.1.0-2.1.x86_64.rpm">jags 64 bit </a>  and  <a href="http://dl.dropbox.com/u/1501309/Fedora/jags-devel-2.1.0-2.1.i386.rpm"> jags-devel i386 </a> and  <a href="http://dl.dropbox.com/u/1501309/jags-devel-2.1.0-2.1.x86_64.rpm">jags-devel 64 bit </a> on Dropbox.  Once they are accepted into Fedora they will be removed from Dropbox. </p>
<p><strong>EDIT:</strong> This afternoon I packaged up rjags and coda for Fedora (also submitted for review). I hope to start maintaining these in Fedora. If you want to use them and try them out click here for <a href="http://dl.dropbox.com/u/1501309/Fedora/R-rjags-2.1.0.4-1.fc13.x86_64.rpm">rjags 64 bit </a> and here for <a href="http://dl.dropbox.com/u/1501309/Fedora/R-coda-0.13.5-1.fc13.noarch.rpm">coda (both i386 and 64 bit) </a>.  Coda is platform independent but rjags is for 64 bit only. If you want to install rjags and you&#8217;re on a i386, just install the two JAGS rpms (jags and jags-devel) from above and fire up R and run:<br />
<code>install.packages("rjags")<br />
</code><br />
And that should be it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cddesjardins.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cddesjardins.wordpress.com/298/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=298&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cddesjardins.wordpress.com/2010/06/04/jags-package-for-fedora-13-64-bit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/80c20dd845c14236ac637a03f2899065?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Desjardins</media:title>
		</media:content>
	</item>
		<item>
		<title>JAGS and rjags for Fedora 13 64 bit</title>
		<link>http://cddesjardins.wordpress.com/2010/05/30/jags-and-rjags-for-fedora-13-64-bit/</link>
		<comments>http://cddesjardins.wordpress.com/2010/05/30/jags-and-rjags-for-fedora-13-64-bit/#comments</comments>
		<pubDate>Sun, 30 May 2010 00:38:07 +0000</pubDate>
		<dc:creator>Desjardins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cddesjardins.wordpress.com/?p=284</guid>
		<description><![CDATA[Unfortunately, JAGS is not in the Fedora repositories. However, it is very easy to install. This is a short how-to for installing JAGS and rjags for Fedora 13 64 bit and it should work for any 64 bit UNIX based OS. As a prerequisite, make sure you have the dependencies for JAGS installed (this is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=284&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Unfortunately, JAGS is not in the Fedora repositories. However, it is very easy to install. This is a short how-to for installing JAGS and rjags for Fedora 13 64 bit and it should work for any 64 bit UNIX based OS. As a prerequisite, make sure you have the dependencies for JAGS installed (this is for Fedora only).</p>
<p><code>yum install R R-devel libblas-devel<br />
</code></p>
<p>Next thing you&#8217;ll want to do is to download the tarball and unpack it .</p>
<p><code>tar xvzf JAGS*<br />
</code></p>
<p>Next you need to tell it to install the libraries in /usr/local/lib64 otherwise you&#8217;ll need to tell rjags where to look for JAGS.</p>
<p><code>./configure --libdir=/usr/local/lib64<br />
make<br />
sudo make install<br />
</code></p>
<p>Next you can test that JAGS installed properly by typing:</p>
<p><code>jags<br />
</code></p>
<p>Once this is done, fire up R and install rjags like any other package and that&#8217;s it.</p>
<p><code>R<br />
install.packages("rjags")<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cddesjardins.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cddesjardins.wordpress.com/284/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=284&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cddesjardins.wordpress.com/2010/05/30/jags-and-rjags-for-fedora-13-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/80c20dd845c14236ac637a03f2899065?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Desjardins</media:title>
		</media:content>
	</item>
		<item>
		<title>GNU IceCat for Debian Squeeze 64 bit</title>
		<link>http://cddesjardins.wordpress.com/2010/05/25/gnu-icecat-for-debian-squeeze-64-bit/</link>
		<comments>http://cddesjardins.wordpress.com/2010/05/25/gnu-icecat-for-debian-squeeze-64-bit/#comments</comments>
		<pubDate>Tue, 25 May 2010 14:14:20 +0000</pubDate>
		<dc:creator>Desjardins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cddesjardins.wordpress.com/?p=279</guid>
		<description><![CDATA[I decided that I wanted a newer version of Firefox than 3.5.9 that was presently in Debian Squeeze. I read elsewhere that this would be the version that Squeeze would be shipping (Iceweasel 3.5.x) with and not Firefox 3.6.x. So I decided to roll my own. Rather then roll out the newer version of Iceweasel, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=279&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I decided that I wanted a newer version of Firefox than 3.5.9 that was presently in Debian Squeeze. I read elsewhere that this would be the version that Squeeze would be shipping (Iceweasel 3.5.x) with and not Firefox 3.6.x. So I decided to roll my own. Rather then roll out the newer version of Iceweasel, I thought I would try <a href="http://www.gnu.org/software/gnuzilla/">GNU IceCat</a>. I packaged up 3.6.3 for Squeeze 64 bit and if you&#8217;re interested you can download the<a href="http://dl.dropbox.com/u/1501309/icecat_3.6.3-0local2_amd64.deb"> 64 bit package here</a>. I plan to continue to update this package if people are interested. Please let me know if you find it useful. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cddesjardins.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cddesjardins.wordpress.com/279/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=279&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cddesjardins.wordpress.com/2010/05/25/gnu-icecat-for-debian-squeeze-64-bit/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/80c20dd845c14236ac637a03f2899065?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Desjardins</media:title>
		</media:content>
	</item>
		<item>
		<title>MCMC CFA talk and update</title>
		<link>http://cddesjardins.wordpress.com/2010/05/21/mcmc-cfa-talk/</link>
		<comments>http://cddesjardins.wordpress.com/2010/05/21/mcmc-cfa-talk/#comments</comments>
		<pubDate>Fri, 21 May 2010 21:00:53 +0000</pubDate>
		<dc:creator>Desjardins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cddesjardins.wordpress.com/?p=273</guid>
		<description><![CDATA[As promised, here is my talk on how to run a Markov Chain Monte Carlo confirmatory factor analysis model in JAGS. Click here to download the talk. The talk is pretty complete. It provides a brief background on Bayesian, MCMC, CFA, and then some JAGS code. It also includes my tested model (using graphviz). Feel [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=273&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>As promised, here is my talk on how to run a Markov Chain Monte Carlo confirmatory factor analysis model in JAGS. <a href="http://dl.dropbox.com/u/1501309/cfa_mcmc_talk.pdf"> Click here to download the talk</a>. The talk is pretty complete. It provides a brief background on Bayesian, MCMC, CFA, and then some JAGS code. It also includes my tested model (using graphviz). </p>
<p>Feel free to leave comments on the talk.</p>
<p>This summer I am in the process of going through and reading Gelman&#8217;s Bayesian textbook. Last summer I worked through Bradley Carlin&#8217;s book and a few other books. I plan to adapt his code, especially the hierarchical modeling code, from BUGS to JAGS and I may post it here. </p>
<p>Also, it should be noted that all of my materials presented on this blog, including attachments, are released under a Creative Commons license or GNU GPL 3. Feel free to modify and distribute my materials as specified under the terms of these licenses. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cddesjardins.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cddesjardins.wordpress.com/273/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=273&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cddesjardins.wordpress.com/2010/05/21/mcmc-cfa-talk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/80c20dd845c14236ac637a03f2899065?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Desjardins</media:title>
		</media:content>
	</item>
		<item>
		<title>Profile Analysis in R</title>
		<link>http://cddesjardins.wordpress.com/2010/05/07/profile-analysis-in-r/</link>
		<comments>http://cddesjardins.wordpress.com/2010/05/07/profile-analysis-in-r/#comments</comments>
		<pubDate>Fri, 07 May 2010 16:44:27 +0000</pubDate>
		<dc:creator>Desjardins</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cddesjardins.wordpress.com/?p=264</guid>
		<description><![CDATA[I recently wrote a few functions to perform a profile analysis in R. These functions are used to identify the criterion pattern and run a cross-validation (see Davision &#38; Davenport, 2002). I&#8217;ve thought about getting serious about this and trying to clean up my code, add some new features (such as MCMC), and submit it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=264&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I recently wrote a few functions to perform a profile analysis in R. These functions are used to identify the criterion pattern and run a cross-validation (see Davision &amp; Davenport, 2002). I&#8217;ve thought about getting serious about this and trying to clean up my code, add some new features (such as MCMC), and submit it to CRAN. Please test the script (&amp; documentation) and if you do profile analysis let me know what you think and if you think I should add some other features. I&#8217;d be happy to do it but since I am primarily interested in Bayesian statistics, multilevel modeling, and latent modeling, I don&#8217;t have a lot of interest in maintaining and developing a profile analysis R package unless their is interest from the community as it&#8217;s not my own research interest.</p>
<p>This script is available <a href="http://dl.dropbox.com/u/1501309/profile_analysis-0.1.R">here </a> and the manual is available <a href="http://dl.dropbox.com/u/1501309/profile_analysis_man-0.1.pdf"> here </a>.</p>
<p>The script contains two functions:<br />
<code><br />
criterion.pattern()<br />
</code><br />
<code><br />
profile.cv()<br />
</code></p>
<p>And you should source the script at the start of a R session:<br />
<code> source("/path/to/profile_analysis-0.1.R")</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cddesjardins.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cddesjardins.wordpress.com/264/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cddesjardins.wordpress.com&#038;blog=7235916&#038;post=264&#038;subd=cddesjardins&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cddesjardins.wordpress.com/2010/05/07/profile-analysis-in-r/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/80c20dd845c14236ac637a03f2899065?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Desjardins</media:title>
		</media:content>
	</item>
	</channel>
</rss>
