What is the order of the regression parameters for a full quadratic model in Matlab?

2 ビュー (過去 30 日間)
I have a 4 factor model and I used the regstat function in matlab to determine the coefficients but I do not know the order in which Matlab outputs the parameters. Textbook references is in this order: Constant, Linear,Interaction and quadratic terms. I am wondering if the order is the same for Matlab.

採用された回答

Tom Lane
Tom Lane 2012 年 10 月 1 日
"help regstats" in my version points to "help x2fx" for the order of terms. The latter confirms that your order is correct, and it also defines the order of the interaction terms.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSupport Vector Machine Regression についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by