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

Simple R figures

http://www.harding.edu/fmccown/R/

This comes very handy.

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!

Literate programming, etc.

http://biostat.mc.vanderbilt.edu/wiki/Main/StatReport

Monday, October 26, 2009

Ecological Models and Data in R

http://people.biology.ufl.edu/bolker/emdbook/

Seems to be a good book.

Sunday, October 25, 2009

Skewed distribution coded using WBdev

http://www.mat.puc.cl/~quintana/LMMSkew.pdf

I have not found similar functions in JAGS

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.

Work without X

http://www.linuxeden.com/html/softuse/20091025/68789.html

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.

Some more Chinese materials...

http://www.mirrorbooks.com/news/?action-viewthread-tid-12896

A Chinese article...

http://www.rainbowplan.org/bbs/topic.php?topic=102997&select=&forum=1

Thursday, October 22, 2009

Here are some Bugs code for joint modeling

http://www.biostat.umn.edu/~brad/software.html

Statistical computing matters

http://blogs.uit.tufts.edu/statisticalcomputingmatters/

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.

Lots of maps using R

http://r-spatial.sourceforge.net/gallery/#fig01.R

Very helpful!

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:
  1. master.tex: the master LaTeX file that contains text materials of a paper;
  2. tables.Rnw: the sweave file for creating all the tables;
  3. tables.tex: the LaTeX output file that can be included in the master file;
  4. figure.Rnw: the sweave file for creating all the figures;
  5. figure.tex: the LaTeX output file that can be included in the master file;
  6. 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/

Maple 13

I just realized that CUNY has site license of Maple 13. Good choice, CUNY!

Counter