IncludeConstant
RegressとDesignMatrixのオプションであり,定数項が自動的にモデルに含まれるようにするかどうかを指定する.
IncludeConstant
IncludeConstant
RegressとDesignMatrixのオプションであり,定数項が自動的にモデルに含まれるようにするかどうかを指定する.
詳細とオプション
- IncludeConstantを使うためには,まず線形回帰パッケージ をロードしなくてはならない.それにはNeeds["LinearRegression`"]を実行する必要がある.
- デフォルト設定のIncludeConstant->Trueでは,基底関数の集合に定数項がまだ含まれていない場合に定数項を加える.
- 設定IncludeConstant->Falseでは,基底関数の集合は変更されない.
- DesignMatrixの出力において,定数項は最初の列として含まれる.
関連項目
テクニカルノート
テキスト
Wolfram Research (2007), IncludeConstant, Wolfram言語関数, https://reference.wolfram.com/language/LinearRegression/ref/IncludeConstant.html.
CMS
Wolfram Language. 2007. "IncludeConstant." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/LinearRegression/ref/IncludeConstant.html.
APA
Wolfram Language. (2007). IncludeConstant. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/LinearRegression/ref/IncludeConstant.html
BibTeX
@misc{reference.wolfram_2025_includeconstant, author="Wolfram Research", title="{IncludeConstant}", year="2007", howpublished="\url{https://reference.wolfram.com/language/LinearRegression/ref/IncludeConstant.html}", note=[Accessed: 12-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_includeconstant, organization={Wolfram Research}, title={IncludeConstant}, year={2007}, url={https://reference.wolfram.com/language/LinearRegression/ref/IncludeConstant.html}, note=[Accessed: 12-April-2026]}