Uncategorized

Nightlights in China

October 10, 2010 | Steven Mosher

Update: Some are not aware that GISS has switched to using Nightlights in the ROW. According to their updates they have moved to nightlights for the ROW. The station inventories can be found here The station I examine below is listed  like this in the new giss inventory 20551495001 TURPAN 42.92 91.00 24 384R ... [Read more...]

Nightlights II

October 8, 2010 | Steven Mosher

I’ve modified some routines so that we are always grabbing a roughly equal area regardless of the latitude. Basically, you do this: getLonScaleFactor
[Read more...]

Nightlights

October 7, 2010 | Steven Mosher

Those who follow the discussions about UHI understand that “nightlights” plays a large role in defining whether or not a station is considered Rural or Urban. In the work of GISS nightlights are determined by looking at the DSMP product. The product is available in 30 arcsecond format. That’s .00833 degrees. ...
[Read more...]

Science is vital – what we don’t know yet

October 6, 2010 | respiratoryclub

This post is not about R (for a change). For working UK scientists, science is vital – sign the on-line petition to preserve science funding. For my contribution of what we don’t know yet - We don’t know whether we can use biomarkers of kidney injury to personalise the ... [Read more...]

Means By

October 4, 2010 | Tal Galili

The other day I was asked by a coworker hos to do a SAS Means By statement in R. I embarrassingly did not know how to so I wrote something up, and this is what I came up with, it takes a data.frame and an indexing variable and computes ... [Read more...]

The ARIMAX model muddle

October 4, 2010 | Rob J Hyndman

There is often confusion about how to include covariates in ARIMA models, and the presentation of the subject in various textbooks and in R help files has not helped the confusion. So I thought I’d give my take on the issue. To keep it simple, I will only describe ... [Read more...]

V3 Station mash up

October 3, 2010 | Steven Mosher

Hmm, lets see how a fusion table works with map maker. The process works like this. We read in the GHCN inventory file into R. ( see code below ) We then clean it up ( the names fields and missing values) and we output it to a  *csv  file. Then open the ... [Read more...]

ICOADS

October 3, 2010 | Steven Mosher

Just a short update on ICOADS. I started out an ICOADS project with grand plan to reprocess the observation files into a “raster” format. That ends up being a really big job. Along the way I had to learn a new package Rcurl and relearn some old Unix skills for ...
[Read more...]

Moshtemp 5.1

September 29, 2010 | Steven Mosher

Time for another dump of the entire package. Get the zip file 5.1 in the box to the right. ( shortly). unzip and run the following files if you havent already: 1. downloadall.R 2. setup.R If you are running for the first time, You’ll note I added diagnostics. Sometimes the files ... [Read more...]

Cooling stations. A UHI Hint

September 29, 2010 | Steven Mosher

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 ...
[Read more...]

Some Oddities with cooling stations

September 29, 2010 | Steven Mosher

Now, that  the whole analysis has been moved to raster, I took some time to play around with a question that has interested  a couple of people. Cool stations. A while back when I was looking at ways of bounding uncertainties in the record I went on a hunt for ...
[Read more...]

A texteditor for R

September 29, 2010 | Rob J Hyndman

I’ve been using RWinEdt for the last few years for all my R coding. But it no longer works with WinEdt 6.0 and no update has been forthcoming. Consequently, I’ve been looking around for something similar to take its place. This question has been asked before on StackOverflow and ...
[Read more...]

Forecasting with long seasonal periods

September 28, 2010 | Rob J Hyndman

I am often asked how to fit an ARIMA or ETS model with data having a long seasonal period such as 365 for daily data or 48 for half-hourly data. Generally, seasonal versions of ARIMA and ETS models are designed for shorter periods such as 12 for monthly data or 4 for quarterly data. ... [Read more...]

Animation

September 25, 2010 | Steven Mosher

A couple hours work and we now have animations of the global anomalies: Created with the animation package in R.  The code examples were a bit terse about some of the details but after fiddling about I was able to get  the program to output an Html animation complete with ...
[Read more...]

Damn Close 5.0

September 24, 2010 | Steven Mosher

Code will be in the drop box in a bit, once I shower:  [DONE] This is a wholesale replacement of previous versions, completely rewritten in raster. It will be the base going forward. All of the analysis routines will be rewritten using raster.  For time series functionality I will continue ...
[Read more...]

Global done!

September 23, 2010 | Steven Mosher

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 ...
[Read more...]

What should we call the stats Q&A site?

September 18, 2010 | Rob J Hyndman

The Q&A site at stats.stackexchange.com has been steaming ahead with loads of good questions and answers. We are currently trying to select a name and not many people have voted. Although we have more than 1300 users of the site, less than 40 people have currently voted on the ...
[Read more...]

Installing ‘intergraph’ package

September 17, 2010 | Michal

After some e-mails I decided to put together a bit more detailed instruction how to install the ‘intergraph’ package together with the namespaced version of the ‘network’ package. See here. There seemed to be some problems with downloading the namespaced ‘network’ from my webstite (thanks Neil!). File permissions were set ... [Read more...]

Handling .Z files

September 13, 2010 | Steven Mosher

A while back Steve Mcintyre was looking for a way to handle .Z files in R Ron Broberg over at the whiteboard had an approach that steve adopted both for untar and for uncompressing .Z files.  While the approach is slick, its somewhat of a hack. Nothing wrong with that, ... [Read more...]
1 10 11 12 13 14 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)