905 search results for "how to import image file to r"

Cramer’s Stock Pick Recommendations Analyzed

October 16, 2010
By
Cramer’s Stock Pick Recommendations Analyzed

Bill Alpert of Barron’s has demonstrated the use of R in financial journalism as he criticized the performance of Jim Cramer’s stock picks.  Patrick Burns was an advisor for the analysis done in the article.  R was an important tool that allowed them to do their research as indicated by Burns in his...

Read more »

Nightlights: First Principles

October 15, 2010
By
Nightlights: First Principles

With the publication of Hansen2010 forthcoming it is critical to examine the subject afresh. The global temperature index product from NASA is known as GISSTEMP .GISSTEMP, like the temperature index from Hadley/CRU and NCDC attempts to estimate the average temperature of the globe using historical data archived in the GHCN ( Global Climate Historical Network)

Read more »

Parallel processing of independent Metropolis-Hastings algorithms

October 11, 2010
By
Parallel processing of independent Metropolis-Hastings algorithms

With Pierre Jacob, my PhD student, and Murray Smith, from National Institute of Water and Atmospheric Research, Wellington, who actually started us on this project at the last and latest Valencia meeting, we have completed a paper on using parallel computing in independent Metropolis-Hastings algorithms. The paper is arXived and the abstract goes as follows:

Read more »

Plotting time vs date in R

October 2, 2010
By
Plotting time vs date in R

Having done the plot with python+matplotlib, thought I would have a go reproducing it in R, using only the builtin "plot". So, just to recap - this is a plot of the sun times (rise/set,twilight and blinding) as generated by the great python library pyephem. The R code reads in a csv file as output from a...

Read more »

Cooling stations. A UHI Hint

September 29, 2010
By
Cooling stations. A UHI Hint

Update: google earth files in the box: Personally I like to look at things backwards. Why are cool sites cool? So download the kml or kmz file and you can tour 62 sites: All with 90 years of data or more. All with a cooling trend. And all “supposedly” urban. what do you see at

Read more »

Riemann, Langevin & Hamilton [reply]

September 27, 2010
By
Riemann, Langevin & Hamilton [reply]

Here is a (prompt!) reply from Mark Girolami corresponding to the earlier post: In preparation for the Read Paper session next month at the RSS, our research group at CREST has collectively read the Girolami and Calderhead paper on Riemann manifold Langevin and Hamiltonian Monte Carlo methods and I hope we will again produce a

Read more »

Global done!

September 23, 2010
By
Global done!

Over the past few weeks I’ve been working at getting Moshtemp to work entirely in the raster package. I’ve been aided greatly by the author of that package, Robert, who has been turning out improvements to the package with regularity. For a while I was a bit stymied by some irregularities in getting source from

Read more »

A simple Metropolis-Hastings MCMC in R

September 17, 2010
By
A simple Metropolis-Hastings MCMC in R

While there are certainly good software packages out there to do the job for you, notably BUGS or JAGS, it is instructive to program a simple MCMC yourself. In this post, I give an educational example of the Bayesian equivalent of a linear regression, sampled by an MCMC with Metropolis-Hastings steps, based on an earlier…

Read more »

R Function Reference

September 15, 2010
By
R Function Reference

The R Function Reference is a mind map that I've created to help novice and intermediate R users perform common tasks and analyses.

Read more »

NIPS 2010: Monte Carlo workshop

September 3, 2010
By
NIPS 2010: Monte Carlo workshop

In the wake of the main machine learning NIPS 2010 meeting in Vancouver, Dec. 6-9 2010, there will be a very interesting workshop organised by Ryan Adams, Mark Girolami, and Iain Murray on Monte Carlo Methods for Bayesian Inference in Modern Day Applications, on Dec. 10. (And in Whistler, not Vancouver!) I wish I could

Read more »