Publications by Keith Goldfeld

Consider a permutation test for a small pilot study

22.06.2020

Recently I wrote about the challenges of trying to learn too much from a small pilot study, even if it is a randomized controlled trial. There are limitations on how much you can learn about a treatment effect given the small sample size and relatively high variability of the estimate. However, the temptation for researchers is usually just too g...

9324 sym R (3488 sym/14 pcs) 4 img

Simulating multiple RCTs to simulate a meta-analysis

06.07.2020

I am currently involved with an RCT that is struggling to recruit eligible patients (by no means an unusual problem), increasing the risk that findings might be inconclusive. A possible solution to this conundrum is to find similar, ongoing trials with the aim of pooling data in a single analysis, to conduct a meta-analysis of sorts. In an ideal ...

7795 sym R (3106 sym/10 pcs) 6 img

A Bayesian model for a simulated meta-analysis

20.07.2020

This is essentially an addendum to the previous post where I simulated data from multiple RCTs to explore an analytic method to pool data across different studies. In that post, I used the nlme package to conduct a meta-analysis based on individual level data of 12 studies. Here, I am presenting an alternative hierarchical modeling approach that ...

3532 sym R (4005 sym/7 pcs) 6 img

A hurdle model for COVID-19 infections in nursing homes

03.08.2020

Late last year, I added a mixture distribution to the simstudy package, largely motivated to accommodate zero-inflated Poisson or negative binomial distributions. (I really thought I had added this two years ago – but time is moving so slowly these days.) These distributions are useful when modeling count data, but we anticipate observing more ...

8414 sym R (7582 sym/14 pcs) 6 img

Generating data from a truncated distribution

17.08.2020

A researcher reached out to me the other day to see if the simstudy package provides a quick and easy way to generate data from a truncated distribution. Other than the noZeroPoisson distribution option (which is a very specific truncated distribution), there is no way to do this directly. You can always generate data from the full distribution a...

5276 sym R (1762 sym/5 pcs) 14 img

Diagnosing and dealing with degenerate estimation in a Bayesian meta-analysis

31.08.2020

The federal government recently granted emergency approval for the use of antibody rich blood plasma when treating hospitalized COVID-19 patients. This announcement is unfortunate, because we really don’t know if this promising treatment works. The best way to determine this, of course, is to conduct an experiment, though this approval makes th...

13582 sym R (4881 sym/10 pcs) 8 img

Generating probabilities for ordinal categorical data

14.09.2020

Over the past couple of months, I’ve been describing various aspects of the simulations that we’ve been doing to get ready for a meta-analysis of convalescent plasma treatment for hospitalized patients with COVID-19, most recently here. As I continue to do that, I want to provide motivation and code for a small but important part of the data ...

9873 sym R (5688 sym/16 pcs) 8 img

Permuted block randomization using simstudy

28.09.2020

Along with preparing power analyses and statistical analysis plans (SAPs), generating study randomization lists is something a practicing biostatistician is occasionally asked to do. While not a particularly interesting activity, it offers the opportunity to tackle a small programming challenge. The title is a little misleading because you should...

6616 sym R (4713 sym/11 pcs)

simstudy just got a little more dynamic: version 0.2.1

12.10.2020

simstudy version 0.2.1 has just been submitted to CRAN. Along with this release, the big news is that I’ve been joined by Jacob Wujciak-Jens as a co-author of the package. He initially reached out to me from Germany with some suggestions for improvements, we had a little back and forth, and now here we are. He has substantially reworked the und...

4538 sym R (3799 sym/7 pcs) 2 img

A refined brute force method to inform simulation of ordinal response data

26.10.2020

Francisco, a researcher from Spain, reached out to me with a challenge. He is interested in exploring various models that estimate correlation across multiple responses to survey questions. This is the context: He doesn’t have access to actual data, so to explore analytic methods he needs to simulate responses. It would be ideal if the simulat...

9518 sym R (3378 sym/13 pcs) 16 img