Author Archives: norbert

About norbert

Biometrician at Clinical Trial Centre, Leipzig University (GER), with degrees in sociology (MA) and public health (MPH).

Formatting p-values: A curated list of R functions

Intro Reporting results of statistical analyses usually goes along with reporting p-values which indicate the probability under the null hypothesis of sampling a test statistic at least as extreme as that which was observed. R offers quite a lot of … Continue reading

Posted in Tips & Tricks | Tagged | Leave a comment

Scoring questionnaires using the ‘qscorer’ package

Motivation Health-related questionnaires are used in many psychological studies and clinical trials. I know from my own experience that information about scoring procedures are often scattered among numerous sources and, thus, hard to find. Since I frequently work with questionnaires, … Continue reading

Posted in Fav R Packages | Tagged , | Leave a comment

Statistische Grundlagen mit R: Streuungsmaße

Nachdem ich mich im ersten Teil meiner Serie “Statistische Grundlagen mit R” mit Maßen der zentralen Tendenz beschäftigt habe, erkläre ich heute die Bedeutung verschiedener Steuungsmaße. Streuungsmaße Um einen Datenvektor möglichst treffend zu beschreiben, reicht die Kenntnis der Zentralitätsmaße in … Continue reading

Posted in Indroduction | Tagged | Leave a comment

Statistische Grundlagen mit R: Maße der zentralen Tendenz

Beginnend mit dem heutigen Tag veröffentliche ich auf “Scripts and Statistics” einige Beiträge unter der Überschrift “Statistische Grundlagen mit R”. Im ersten Teil erkläre ich die drei wichtigsten Maße der zentralen Tendenz. Maße der zentralen Tendenz Mit Maßen der zentralen … Continue reading

Posted in Indroduction | Tagged | Leave a comment

How to Vectorize a Function in R

Last year I came across the base R function Vectorize(). Vectorize() vectorizes the action of a non-vectorized function. Let's give an example. In one of my current research projects, I need to hash patient ids to fulfill the requirements of … Continue reading

Posted in Tips & Tricks | Tagged , , | Leave a comment

R Markdown Inline Code: Adding a Conjunction to Listings

In my last blog post, I wrote a couple of lines about EFFECT, a clinical trial I'm currently involved in. EFFECT is a cross-over trial with two wash-out and two study phases. After each of the four phases, the participating … Continue reading

Posted in Tips & Tricks | Tagged | Leave a comment

How to Check if a Date is Within a List of Intervals in R

Intro I'm currently involved in a research project called EFFECT. EFFECT is a multicentre, cluster-randomised, placebo-controlled cross-over trial evaluating antiseptic body wash of patients on intensive care units (ICU). The trial is to test whether daily antiseptic body wash reduces … Continue reading

Posted in Tips & Tricks | Tagged , , | Leave a comment