解决了,搜索的资料,stackexchange的解释是线性指的是和参数的关系,不管自变量是一次方、二次方还是几次方,只要参数是一次方,都是线性的。
https://stats.stackexchange.com/questions/8689/what-does-linear-stand-for-in-linear-regression
另一个网站也是说的参数:
https://www.datasciencecentral.com/profiles/blogs/learn-the-concept-of-linearity-in-regression-models
原来自己以前的理解一直是错的。