Saturday, September 06, 2008

Good article on matching methods

Very good article indeed. The authors have made quite a few number of excellent points.

http://gking.harvard.edu/files/matchp.pdf

Friday, September 05, 2008

SciViews key binding

  • Shift-F1 for contextual help on the word under the cursor in the editor
  • Alt-Shift-F1 for help search selected word (make sure to look at the Web menu too)
  • Ctrl-T to expand abbreviation (try typing func, then hit Ctrl-T in a file previously saved with a .R extension; a tooltip also appears when the sequence you type corresponds to a recognize abbreviation... and there are dozens of them already defined!)
  • Ctrl-Return is the same as Return but also run the line of code in R
  • Ctrl-Shift-R to run selection and/or code line by line
  • Ctrl-Shift-A to run all code in the current document in R
  • Ctrl-Shift-H to run a paragraph (consecutive lines of R code)
  • Ctrl-Shift-M to run code between two bookmarks (define bookmarks first!)
  • Ctrl-Shift-S to summarize the object whose name is under the cursor
  • Ctrl-Shift-L to plot the object whose name is under the cursor
  • F3 to search next occurence of the word under the cursor
  • F4 to list R objects in memory (in .GlobalEnv)
  • F7 to set the R working directory to the dir of the current edited file in Komodo

Saturday, August 30, 2008

Causality

  1. http://correlation-causality.blogspot.com/
  2. http://www.stat.columbia.edu/~cook/movabletype/mlm/

Wednesday, July 30, 2008

My home page

Here is my new home page, hosted at CCPR:
http://www.ccpr.ucla.edu/faculty/Sgsong/home_shige_song.htm

Semi-automatic table making

Both Stata and R have nice table making facilities, but aML is still lacking this. Here is how I convert aML outputs into Word tables.
  1. Estimate aML models;
  2. Use "maktab" facilities to put different models into one output;
  3. Copy and paste the results into a text file;
  4. Use Excel to read in the file;
  5. Copy and paste the Excel worksheet into Word;
  6. Edit the Word manually from there.
When I have time, I may write a python script to automate this process; but for now, this seems to work reasonably well.

Saturday, July 19, 2008

Another fun article about Linux virus

http://www.mylro.org/content/view/1088/53/

Friday, July 18, 2008

Camifox

Firefox is my browser of choice, and camifox is my favorite firefox theme: http://www.altmusictv.com/camifox/

Saturday, July 12, 2008

Idiot-proof vs. idiot

I like this sentence: "Programming today is a race between software engineers striving to build bigger and better idiot- proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."

---
http://www.freesoftwaremagazine.com/columns/dont_compare_gnu_linux_windows_or_macos_they_are_not_same_game

Thursday, July 10, 2008

Komodo Edit is a real deal

Komodo Edit is a free open-source and cross-platform editor geared toward programmers. So far, it is the closest thing to the Windows-only UltraEdit or Vedit in the free Linux world. It is very configurable, and unlike Emacs, it does not require one to know Lisp.

I have been using it for several days, and just found myself doing all my texting editing, R, Stata, aML, Python, in it. Wow...

Counter