|
You are here |
datascience.blog.wzb.eu | ||
| | | | |
thomvolker.github.io
|
|
| | | | | Many different ways of calculating OLS regression coefficients exist, but some ways are more efficient than others. In this post we discuss some of the most common ways of calculating OLS regression coefficients, and how they relate to each other. Throughout, I assume some knowledge of linear algebra (i.e., the ability to multiply matrices), but other than that, I tried to simplify everything as much as possible. | |
| | | | |
www.rdatagen.net
|
|
| | | | | A key challenge - maybe the key challenge - of a stepped wedge clinical trial design is the threat of confounding by time. This is a cross-over design where the unit of randomization is a group or cluster, where each cluster begins in the control state and transitions to the intervention. It is the transition point that is randomized. Since outcomes could be changing over time regardless of the intervention, it is important to model the time trends when conducting the efficacy analysis. The question is how we choose to model time, and I am going to suggest that we might want to use a very flexible model, such as a cubic spline or a generalized additive model (GAM). | |
| | | | |
post8000.svmiller.com
|
|
| | | | | ||
| | | | |
studywolf.wordpress.com
|
|
| | | When plotting means and confidence intervals, sometimes the mean lines are hard to see and it's nice to have included in your legend the color of the confidence interval shading. It turns out this is a bit of a chore in Matplotlib, but building off of their online examples you can get something that looks... | ||