Publications by Yu-Sung Su
Simulate parameters of a tobit model
I got an email, asking me if our arm package can simulate tobit model to get simulated parameters. Indeed, arm does not suport tobit model. It only support sim() for lm, glm and mer classes in R. But it is not difficult to get a tobit verison of sim(). Here are the steps:1. fit a tobit (or double tobit) mode.library(AER)M1 va...
1215 sym
Delete a List Component in R
In R, the way to delete a component in a list object is different from matrix and vector objects. For a vector, to delete an element:vec var vglnk = {key: '949efb41171ac6ec1bf7f206d57e90b8'}; (function(d, t) { var s = d.createElement(t); s.type = 'text/javascript'; s.async = true; // s...
1024 sym
useR! 2009 conference, Rennes, France
Since my last attendance of the useR conference in Vienna, Austria, I have always wanted to go back. However, the high registration fee was always the factor that chills me off.This year, I am taking advantage of my last year as the student (the registration fee is cheaper) and the sponsorship of my two bosses, Andy and Jennifer, I w...
811 sym
My mi presentation at the useR! 2009
I have been to many conferences. Most of them are of Political Science. The common feature of these conferences is that the audience size is always small. If you get 10 audiences in your panel, your must be a big name.My presentation at the useR! 2009 was an exception. I had the biggest audience ever. I guess that there were at l...
811 sym
An OpenSSH software for Windows 7 / Vista
Here is an OpenSSH software I personally found useful and working well under Windows 7 / Vista. It is copSSH. Besides it is free and open source, it is still actively maintained. It works well with the UAC (user account control setting) of Windows 7 / Vista. And it does not clash with Rtools.exe. Related To leave a comment fo...
716 sym
JAGS, rjags, and coda packages for Fedora
Christopher has the RPMs (for Fedora users) for JAGS, coda, and rjags on his blog. The specific blog entry is here: JAGS, rjags, and coda packages for Fedora 13 i386 & 64 bit If you have trouble installing JAGS or rjags in Fedora, this is going to simplify the installation process. Related To leave a comment for the author, pleas...
697 sym
General steps to compile JAGS in a Linux based OS system and install rjags in R
I have an entry here about how to install JAGS and rjags in Fedora. However, I have exchanged emails with Robert Dorazio and Dr. Martyn Plummer. Here are the easier steps to compile JAGS and install rjags in R. 1. After you extract the source code of JAGS, go to the folder where the JAGS makefile is using a terminal. cd JAGS-2.1....
812 sym