Can ChatGPT help construct non-trivial statistical models? An example with Bayesian “random” splines
I’ve been curious to see how helpful ChatGPT can be for implementing relatively complicated models in R. About two years ago, I described a model for estimating a treatment effect in a cluster-randomized stepped wedge trial. We used a generalized ad...
![](https://www.rdatagen.net/post/2024-10-08-can-chatgpt-help-construct-non-trivial-bayesian-models-with-cluster-specific-splines/index.en_files/figure-html/GPTdata-1.png)