Friday, October 30, 2009
Inkscape is a handy tool
Inkscape (http://www.inkscape.org/) is a free software package for graphics. It reads a large number of graphics formats including eps and pdf, and allows one to modify them and output to a large number of different graphics formats.
Thursday, October 29, 2009
Wednesday, October 28, 2009
Another bayesian book
Bayesian Methods for Data Analysis, Third Edition: http://www.crcpress.com/product/isbn/9781584886976
Tuesday, October 27, 2009
Using the "foreign" package for data conversion
I was in a rush to convert a SPSS data into Stata format. Somehow my Stattransfer v.8 for Linux was lost and I did not want pause my work and go back to Windows just to get this one file converted. So fire Emacs+ESS+R, load the "foreign" package, did the file conversion, and it worked!
Monday, October 26, 2009
Ecological Models and Data in R
http://people.biology.ufl.edu/bolker/emdbook/
Seems to be a good book.
Seems to be a good book.
Sunday, October 25, 2009
An easy way to get additional distribution in BUGS and JAGS
http://mathstat.helsinki.fi/openbugs/data/Docu/Tricks.html
Also, it seems that the JAGS development is moving right along: http://calvin.iarc.fr/wordpress/?p=15
Skewed multivariate distribution
This research has done some research on this topic: http://www.ime.usp.br/~mbranco/works.html
WinBUGS vs. ADMB
Some of the statements are no longer true (e.g. ADMB being not free), but the overall arguments seem fair.
Friday, October 23, 2009
Scivews-K got updated
http://www.sciviews.org/SciViews-K/index.html
The problem is, I cannot get it to work, on either Windows or Linux.
The problem is, I cannot get it to work, on either Windows or Linux.
Thursday, October 22, 2009
Wednesday, October 21, 2009
InferenceR looks interesting
I obtained a free academic copy of the InferenceR, which is a R IDE for Windows. I has several interesting features such as a visual debugger. It is definitely worth some further exploration. Of course, the problem (and the only problem for now) is that it is Windows-only, cannot run it on Linux.
Tuesday, October 20, 2009
Editing while running R within Emacs
Simply press "Ctrl + g" will return the control back to the user.
Running JAGS via R2jags
I finally figure out how to run WinBUGS examples in JAGS via R2jags. JAGS is preferred over WinBUGS for its cross-platform compatibility and performance (it was written in C++).
Friday, October 16, 2009
Syntax for sweave.sh
"Sweave.sh -otld -c file.Rnw" will compile the Rnw file, create a PDF file, and open it automatically.
The optimal way to do sweave
The optimal way to do sweave may be to have a master file in LaTeX, and a separate Rnw file contains all the computations, figures, and tables. That way, it is easy to compile the LaTeX as the writing goes on without the hassle of carrying out the computations (especially when some of them are heavy) every time.
When the computations are finished, one can simply include the generated LaTeX output in the master LaTeX file to get the complete manuscript. Here are the files:
When the computations are finished, one can simply include the generated LaTeX output in the master LaTeX file to get the complete manuscript. Here are the files:
- master.tex: the master LaTeX file that contains text materials of a paper;
- tables.Rnw: the sweave file for creating all the tables;
- tables.tex: the LaTeX output file that can be included in the master file;
- figure.Rnw: the sweave file for creating all the figures;
- figure.tex: the LaTeX output file that can be included in the master file;
- driver.tex: a simple LaTeX driver to view the tables and figures before including them into the master LaTeX file.
Thursday, October 08, 2009
Stata teaching demo
This is where all the Stata teaching demos: http://www.ats.ucla.edu/stat/stata/ado/teach/
Subscribe to:
Posts (Atom)