Uncategorized

Raster “Cover” function

September 11, 2010 | Steven Mosher

The last bits of raster are coming together and everything is working so we are getting really close here. Today i will cover the raster function ‘cover’ which robert has just updated to handle a brick function. Lets review the situation with a toy example: First, we read in the ... [Read more...]

CCE

September 7, 2010 | Steven Mosher

Wasnt that hard. green is land, blue is sea. new data awaits you. old data taken down For Zeke: Green is landcoast cells, blue is seacoast.  The cells are AREA weighted per cce request but not Fractiionally weighted. That is if a cell is 90% land and 10% water, this weighting is ... [Read more...]

Coastal

September 6, 2010 | Steven Mosher

UPDATE: cce asked for a chart of coastal locations broken out by their SST component and their Land componement. That’s a little tricky, but once you figure out the mask logic its just addition and such.There are TWO masks: One mask contains ALL zeros, except for coast cells ... [Read more...]

MoshTemp 4.1

September 5, 2010 | Steven Mosher

Replaces 4.0, minor changes made here and there. totally replaces 4.0 as the testing move forward. see 4.1 Run: DownloadAll. Run: DataSetUp. SSTTest reruns the SST analsyis and compares at HADSST2 Land1900Present: reruns the old version of program with a bench against CRU land figures. Next version will integrate more of raster ... [Read more...]

1936.

September 4, 2010 | Steven Mosher

UPDATE: Ron Broberg has a more definitive explanation of the difference which indicates that 5sig issue is not the main cause of the difference. See his exposition here CRU, it appears, trims out station data when it lies outside 5 sigma. Well, for certain years where there was actually record cold ... [Read more...]

5 Sigma in CRU

September 4, 2010 | Steven Mosher

UPDATE: Ron Broberg has a more definitive explanation of the difference which indicates that 5sig issue is not the main cause of the difference. See his exposition here A short update. I’m in the process of integration the Land Analysis and the SST analysis into one application. The principle ... [Read more...]

Thinking in R: vectors

September 4, 2010 | Derek-Jones

While I have been using the R language/environment for over five years or so, whenever I needed to do some statistical calculations, until recently I was only a casual user. A few months ago I started to use R in more depth and made a conscious decision to try ...
[Read more...]

Moshtemp4.0

September 3, 2010 | Steven Mosher

Now that SST has been processed with raster we can return to the land processing and put that on the same footing. To get there I’ll rebuild from scratch making some minor adjustments along the way. As we go foward the amount of code we have to write should ... [Read more...]

Even Simpler Multivariate Correlated Simulations

August 31, 2010 | JD Long

So after yesterday’s post on Simple Simulation using Copulas I got a very nice email that basically begged the question, “Dude, why are you making this so hard?” The author pointed out that if what I really want is a Gaussian correlation structure for Gaussian distributions then I could ... [Read more...]

Map colors

August 31, 2010 | Steven Mosher

Reader P was kind enough to make us a new color map so I promptly played around with it and other parameters. Need to figure out how to drop the labels and ticks on the “map”  map.axes() is no help. In anycase, I had a day long struggle with ... [Read more...]

Econometrics and R

August 30, 2010 | Rob J Hyndman

Econometricians seem to be rather slow to adopt new methods and new technology (compared to other areas of statistics), but slowly the use of R is spreading. I’m now receiving requests for references showing how to use R in econometrics, and so I thought it might be helpful to ... [Read more...]

Stochastic Simulation With Copulas in R

August 30, 2010 | JD Long

A friend of mine gave me a call last week and was wondering if I had a little R code that could illustrate how to do a Cholesky decomposition. He ultimately wanted to build a Monte Carlo model with correlated variables. I pointed him to a number of packages that ... [Read more...]

SST with Raster. Complete

August 29, 2010 | Steven Mosher

Update: new zip, correcting bug found by Steve  McIntyre: if(!file.exists(HadSST2ncdf)) downloadHADSST2() if(!file.exists(HadSST2ncdf)) downloadHadSST2() issue pending with another line as well. Checking raster versions. I’ve also, added some code into “downloadHadSST2″ that corrects for the “NA” problem with HadSST. (currently commented out). ... [Read more...]

Integrating PHP and R

August 18, 2010 | Lee

“How can I integrate PHP and R?” I know I’m not the only one who’s asked this question. After all, with great content management systems like Drupal, it would very cool to be able to drop an R module into some PHP code and instantly have a web ... [Read more...]

Ed Burnette on Software Patents

August 17, 2010 | Matt Shotwell

Ed Burnette makes a point that hits home, with regard to software patents, and how engineers and programmers of modern companies are now being asked to write them: Unfortunately, the joke is on all of us. It’s on our economy, as we let patents choke down innovation and increase ... [Read more...]

Introducing visualVaR.com

August 13, 2010 | Lee

After a month of on-again, off-again coding, I’ve finally completed a web site geared towards calculating the Value at Risk of the average investor’s portfolio. The site is visualvar.com. The big idea was to combine the statistical and visualization tools of R (especially ggplot2) with the web ... [Read more...]

Twenty rules for good graphics

August 6, 2010 | Rob J Hyndman

One of the things I repeatedly include in referee reports, and in my responses to authors who have submitted papers to the International Journal of Forecasting, are comments designed to include the quality of the graphics. Recently someone asked on stats.stackexchange.com about best practices for producing plots. So ...
[Read more...]

Save R plot as a BLOB

July 30, 2010 | Lee

I recently posed a question on stackoverflow on whether anyone knew an efficient way to save an R plot to a MySQL database as a BLOB. My plan was to use my personal desktop to perform R routines and save them to a web server, where they could then be ... [Read more...]

Statistical Analysis StackExchange site now available

July 26, 2010 | Rob J Hyndman

The Q&A site for statistical analysis, data mining, data visualization, and everything else to do with data analysis has finally been launched. Please head over to stats.StackExchange.com and start asking and answering questions. Also, spread the word to everyone else who may be interested — work colleagues, students, ...
[Read more...]
1 11 12 13 14 15 16

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)