Posts Tagged ‘ modelling ’

Gaussian process regression with R

April 5, 2012
By
Gaussian process regression with R

I’m currently working my way through Rasmussen and Williams’s book on Gaussian processes. It’s another one of those topics that seems to crop up a lot these days, particularly around control strategies for energy systems, and thought I should be able to at...

Read more »

SVN Version Control, R, and some rambling thought on AWS,Rscripts

December 16, 2011
By

I do a alot of my modelling on Rstudio hosted on EC2 instances. If you don’t use, I would highly recommend. A brilliant tool. Kudos to the Rstudio team. I have made a personal and professional pledge to obsessively use version control. I hope to show...

Read more »

Sampling for Monte Carlo simulations with R

October 31, 2011
By
Sampling for Monte Carlo simulations with R

I've knocked together a quick function for generating efficient Monte Carlo samples. It takes a bit of the legwork out of running Monte Carlo simulations.

Read more »

Modelling with R: part 2

October 2, 2011
By
Modelling with R: part 2

I apologize for the delay in the second post (just in case anybody was waiting), I had been vary involved with work the past week. I shall try to be more regular. Well, in the previous post, we successfully imported data into R and got a basic "feel" o...

Read more »

Modelling with R: part 1

September 29, 2011
By
Modelling with R: part 1

When I started work about 3 months ago, I didn't know much more than loading data and executing standard Econometric commands in R. But now I feel much much much more confident in using R for work, for research, for puzzles, and sometimes just for fun....

Read more »

Positive coefficient regression in R

August 5, 2011
By
Positive coefficient regression in R

Ever have a regression model where the coefficients don't make sense? I've been trying to predict electricity and gas consumption from daily activity schedules but a simple linear regression kept saying that demands should go down the more an activity is performed. Fortunately I found the nnls package and show here how you can use it to...

Read more »

How to: Binomial regression models in R

March 19, 2011
By
How to: Binomial regression models in R

Ever wondered how to predict success or failure as a function of other variables? Here's a quick tutorial on binomial regression in R.

Read more »

R Optimisation Tips using Optim and Maximum Likelihood

February 20, 2011
By
R Optimisation Tips using Optim and Maximum Likelihood

This post summarises some R modelling tips I picked up atAMPC2011.I got some tips from a tutorial on parameter estimationput on by Scott Brownfrom the Newcastle Cognition Lab.The R code used in the tutorial is available directly hereor from the confer...

Read more »

Simple Linear Regression

April 23, 2010
By
Simple Linear Regression

One of the most frequent used techniques in statistics is linear regression where we investigate the potential relationship between a variable of interest (often called the response variable but there are many other names in use) and a set of one of more variables (known as the independent variables or some other term). Unsurprisingly there

Read more »