In my previous post I wrote about the importance of age and why it is a good idea to try avoiding modeling it as a linear variable. In this post I will go through multiple options for (1) modeling non-linear effects in a linear regression setting, (2) benchmark the methods on a real dataset, and (3) look at how the non-linearities actually look. The post is based on the supplement in my article on age and health-related quality of life (HRQoL). Continue reading
Age is an important confounder in studying most health related outcomes [1, s 5], and perhaps the most commonly adjusted variable. In this and next post I will go into (1) what we know about the age effect in relation to total hip replacements (THR) re-operations and mortality, (2) what I found in my study on age and health-related quality of life (HRQoL) using splines, and (3) how I implemented and evaluated different splines using R for this study. Continue reading
The new R Markdown (rmarkdown-package) introduced in Rstudio 0.98.978 provides some neat features by combining the awesome knitr-package and the pandoc-system. The system allows for some neat simplifications of the fast-track-publishing (ftp) idea using so called formats. I’ve created a new package, the Grmd-package, with an extension to the html_document format, called the docx_document. The formatter allows an almost pain-free preparing of MS Word compatible web-pages.
In this post I’ll (1) give a tutorial on how to use the docx_document, (2) go behind the scenes of the new rmarkdown-package and RStudio ≥ 0.98.978, (3) show what problems currently exists when skipping some of the steps outlined in the tutorial. Continue reading
While total hip replacements (THR), also known as total hip arthroplasties, are hugely successful there still are, and will always be, poor outcomes. This post is an excerpt from my thesis where I tried to summarize the dark side of THR. Continue reading
On May 29:th I successfully defended my thesis at the Karolinska Institute and I’m now a “Doctor of Philosophy“, i.e. PhD. It has been a fun and rewarding project that spurred me into starting this blog and diving into R. Below you can find the thesis abstract and my reflections on the subject. Continue reading
I recently wrote about blood transfusions and their inherent risk of postoperative infections. This post is a tutorial on some of the basics of drawing a directed acyclic graph (DAG). Blood transfusions and infections is a great topic as most are familiar with risk factors for infections. Continue reading
I have my doubts when it comes to operating a degenerative meniscus (see my previous post) and in an amazing Finnish multicenter RCT it seems that my doubts have been confirmed. Sihvonen et al. managed to randomize 146 patients to arthroscopic meniscal or sham surgery where none of the outcomes differed between the groups. Continue reading
Blood transfusions lower the immune response – a known fact although not all doctors are aware of it. It is therefore nice to see that two new articles in JBJS that focus on the subject. Both focus on arthroplasties where the impact of an infection due to a lowered immune response can be catastrophic to the individual. Continue reading
In order to celebrate my Gmisc-package being on CRAN I decided to pimp up the
forestplot2 function. I had a post on this subject and one of the suggestions I got from the comments was the ability to change the default box marker to something else. This idea had been in my mind for a while and I therefore put it into practice. Continue reading
Is Kukkonen et. al.’s RCT the end of our love for the rotator cuff tear? The industry surrounding rotator cuff tears costs in the US alone about $3 billion every year, earning a top position among common orthopaedic procedures. I have previously written about my doubts concerning this procedure and it is with some satisfaction that I dive in to this recent study by Kukkonen et. al.
It is better to have loved and lost, than never to have loved at all.
Alfred Lord Tennyson