I had a conversation w/ ChatGPT about estimating GAMs using Stata. It told me about the following "Stata commands": mcgv and gamm4, w/ coding examples and all. When I replied those were R packages, it apologized profoundly and recommended the mysterious xtmgam. It's very funny.