August 2012

On School Boards and Policy Shocks

August 31, 2012 | Jared Knowles

The dissertation process has many steps. The prospectus or proposal is one of the last. Awhile ago I was lucky enough to have my dissertation proposal defense and pass!  My project is seeking to understand the linkage between political activity at... [Read more...]

Compiling Source Packages on R 2.15.x / Mac OS 10.5.x

August 31, 2012 | dylan

For some reason R is not happy with its 64-bit cousin when installing source packages: * installing *source* package ‘XMLSchema’ ... ** R ** inst ** preparing package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded *** arch - i386 *** arch - x86_64 /Library/Frameworks/... [Read more...]

RStan: Fast, multilevel Bayesian modeling in R

August 31, 2012 | David Smith

For the last decade or so, the go-to software for Bayesian statisticians has been BUGS (and later the open-source incarnation, OpenBugs, or JAGS). BUGS is used for multi-level modeling: using a specialized notation, you can define random variables of various distributions, set Bayesian priors for their parameters, and create the ... [Read more...]

Border bias and weighted kernels

August 31, 2012 | arthur charpentier

With Ewen (aka @3wen), not only we have been playing on Twitter this month, we have also been working on kernel estimation for densities of spatial processes. Actually, it is only a part of what he was working on, but that part on kernel estimation... [Read more...]

Compiling rgdal on Mac OS 10.5

August 31, 2012 | dylan

Why do I always forget how to do this? R CMD INSTALL rgdal --configure-args="--with-gdal-config=/Library/Frameworks/GDAL.framework/Versions/Current/unix/bin/gdal-config --with-proj-include=/Library/Frameworks/PROJ.framework/Versions/4/Headers/ --with-proj-lib=/Library/Frameworks/PROJ.framework/Versions/Current/unix/lib/" You will need to adjust the paths based on your ... [Read more...]

Russell 2000 Softail Fat Boy

August 31, 2012 | klr

If the Russell 2000 were a motorcycle, maybe it should be a Harley-Davidson Softail Fat Boy.  I have explored the exception case of the Russell 2000 in quite a few posts More Exploration of Crazy RUT Where are the Fat Tails? Crazy RUT but I st...
[Read more...]

Another bunch of R (and JAGS) scripts

August 31, 2012 | Gianluca Baio

Probably sooner than I expected, I have managed to also upload the codes for the examples in Chapter 5 of the book, which deals with doing Bayesian health economic evaluations. Basically, there are 3 examples, which sort of represent the main clas... [Read more...]

PCA or Polluting your Clever Analysis

August 31, 2012 | Christoph Molnar

When I learned about principal component analysis (PCA), I thought it would be really useful in big data analysis, but that's not true if you want to do prediction. I tried PCA in my first competition at kaggle, but it delivered bad results. This post illustrates how PCA can pollute ...
[Read more...]

Cluster Multiple Images with ImageJ and R

August 31, 2012 | » R

30.08.2012 With Bio7 1.6 it is possible to send multiple images from ImageJ to R without the need to open them in the Graphical User Interface of ImageJ for speed improvements. With a simple script written in Java, Groovy or BeanShell a new Bio7 API command can be used (see below) to ... [Read more...]

My Course Wish List at CMSE next year

August 30, 2012 | Pairach

Here is the list  of courses I wish to teach next year at Chiang Mai School of Economics, not so sure about the demand there! Undergraduate (B.Econ.) ECON 304: Economics Statistics (with R) ECON 408: Research Design in Economics ECON 417: Managerial Economics ECON 419: Economic Theory and Entrepreneurship ECON 443: Industrial Economics ECON 4... [Read more...]

Stan is fast

August 30, 2012 | andrew

10,000 iterations for 4 chains on the (precompiled) efficiently-parameterized 8-schools model: __ date () [1] "Thu Aug 30 22:12:53 2012" __ fit3 date () [1] "Thu Aug 30 22:12:55 2012" __ print (fit3) Inference for Stan model: anon_model. 4 chains: each with iter=10000; warmup=5000; thin=1; 10000 iterations saved. mean se_mean sd 2.5% 25% 50% 75% [...] The post Stan is fast appeared first on Statistical Modeling, Causal Inference, and Social ... [Read more...]

Spearman’s Rho

August 30, 2012 | Wesley

Spearman’s Rho Rank Correlation There are generally three types of correlation that a researcher may encounter: Pearson’s r, Kendall’s Tau, and Spearman’s Rho.  They each have their own uses and applications depending on the da... [Read more...]

Three ways of visualizing the growth of Walmart

August 30, 2012 | David Smith

It's a wonderful thing when people make interesting data sets available to the public. When Thomas Jones wrote a paper in Econometrics about the growth of US retail giant Walmart, he made the data he collected about every Walmart store opening in history (location and date) available to the public. ... [Read more...]

A Stan is Born

August 30, 2012 | Bob Carpenter

Stan 1.0.0 and RStan 1.0.0 It’s official. The Stan Development Team is happy to announce the first stable versions of Stan and RStan. What is (R)Stan? Stan is an open-source package for obtaining Bayesian inference using the No-U-Turn sampler, a variant of Hamiltonian Monte Carlo. It’s sort of like ... [Read more...]

Making matrices with zeros and ones

August 30, 2012 | Recology - R

So I was trying to figure out a fast way to make matrices with randomly allocated 0 or 1 in each cell of the matrix. I reached out on Twitter, and got many responses (thanks tweeps!). Here is the solution I came up with. See if you can tell why it... [Read more...]

Another Great Google Summer of Code 2012 R Project

August 30, 2012 | klr

Tradeblotter announced the very nice features that will be added to the PerformanceAnalytics package as a result of the Google Summer of Code (GSOC) 2012 project: “…Matthieu commenced to produce dozens of new functions, extend several more existin...
[Read more...]

Visually weighted regression in R (à la Solomon Hsiang)

August 30, 2012 | FelixS

[Update 1: Sep 5, 2012: Explore the Magical Data Enhancer by IRES, using this visualization technique] [Update 2: Sep 6, 2012: See new improved plots, and new R code! Solomon Hsiang proposed an appealing method for visually displaying the uncertainty in regressions (see his blog [1][2], and also the discussions on the Statistical Modeling, Causal [...] [Read more...]
1 2 3 14

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)