Articles by Ewen Harrison

Multiple imputation support in Finalfit

September 25, 2019 | Ewen Harrison

We are using multiple imputation more frequently to “fill in” missing data in clinical datasets. Multiple datasets are created, models run, and results pooled so conclusions can be drawn. We’ve put some improvements into Finalfit on GitHub to make it easier to use with the mice package. These will ...
[Read more...]

Shinyfit: Advanced regression modelling in a shiny app

December 7, 2018 | Ewen Harrison

Many of our projects involve getting doctors, nurses, and medical students to collect data on the patients they are looking after. We want to involve many of them in data analysis, without the requirement for coding experience or access to statistical software. To achieve this we have built Shinyfit, a ... [Read more...]

Five steps for missing data with Finalfit

August 30, 2018 | Ewen Harrison

As a journal editor, I often receive studies in which the investigators fail to describe, analyse, or even acknowledge missing data. This is frustrating, as it is often of the utmost importance. Conclusions may (and do) change when missing data is accounted for.  A few seem to not even appreciate ... [Read more...]

Finalfit now in CRAN

June 27, 2018 | Ewen Harrison

Your favourite package for getting model outputs directly into publication ready tables is now available on CRAN. They make you work for it! Thank you to all that helped. The development version will continue to be available from github. [Read more...]

Finalfit, knitr and R Markdown for quick results

May 22, 2018 | Ewen Harrison

Thank you for the many requests to provide some extra info on how best to get finalfit results out of RStudio, and particularly into Microsoft Word. Here is how. Make sure you are on the most up-to-date version of finalfit. [crayon-5b04b4e219aae502138484/] What follows is for demonstration ...
[Read more...]

Install github package on safe haven server

May 5, 2018 | Ewen Harrison

I’ve had few enquires about how to install the summarizer package on a server without internet access, such as the NHS Safe Havens. Upload summarizer-master.zip from here to server. Unzip. Run this: library(devtools) source = devtools:::source_pkg("summarizer-master") install(source) [Read more...]

P-values from random effects linear regression models

January 13, 2018 | Ewen Harrison

[crayon-5a5ad6bfdb9ea208679487-i/] is a useful frequentist approach to hierarchical/multilevel linear regression modelling. For good reason, the model output only includes t-values and doesn’t include p-values (partly due to the difficulty in estimating the degrees of freedom, as discussed here). Yes, p-values are evil and ... [Read more...]

An alternative presentation of the ProPublica Surgeon Scorecard

July 23, 2015 | Ewen Harrison

ProPublica, an independent investigative journalism organisation, have published surgeon-level complications rates based on Medicare data. I have already highlighted problems with the reporting of the data: surgeons are described as having a “high adjusted rate of complications” if they fall in the red-zone, despite there being too little data to ... [Read more...]

RStudio and GitHub

July 13, 2015 | Ewen Harrison

Version control has become essential for me keeping track of projects, as well as collaborating. It allows backup of scripts and easy collaboration on complex projects. RStudio works really well with Git, an open source open source distributed version control system, and GitHub, a web-based Git repository hosting service. I ... [Read more...]

A map of the world by tweets

June 1, 2013 | Ewen Harrison

With geo-tagging enabled, tweets include information on the location of the user when the tweet was sent. Miguel Rios (@miguelrios) has plotted locations of billions of tweets to create maps of the world. This is pretty amazing stuff – a world map rendered just from twitter posts! Maps are created using ... [Read more...]

Organise your data

April 5, 2013 | Ewen Harrison

Use R to specify factors, recode variables and begin by-group analyses. Video Files This file contains data on pain score after laparoscopic vs. open hernia repair. Age, gender and primary/recurrent hernia also included. The ultimate aim here is to work out which of these factors are associated with more ... [Read more...]

Install R

April 1, 2013 | Ewen Harrison

Video Files This file contains data on pain score after laparoscopic vs. open hernia repair. Age, gender and primary/recurrent hernia also included. The ultimate aim here is to work out which of these factors are associated with more pain after this operation. lap_hernia Script [crayon-533f1cc907137087602057/]   [Read more...]
1 2

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)