Skip to content
EntityQ427977· pop 12· linked from 47 articles

虚拟变量

Sign in to save

Also known as indicator variable, design variable, Boolean indicator, categorical variable, binary variable, qualitative variable

one that takes the value 0 or 1 to indicate the absence or presence of some categorical effect that may be expected to shift the outcome

Article · 中文

虚拟变量(英語:dummy variable),又稱哑变量,指在统计学和计量经济学,尤其是迴歸分析中僅取0或1的值,以此表示某些可能改变结果的定性效应之有无的变量。可以认为,虚拟变量是回归模型中用数字来替代并表示定性事实,从而将数据分为互斥的类别(如吸烟者及非吸烟者)。 虚拟自变量(又称虚拟解释变量)取值为0时,该变量的系数对因变量没有影响,而当虚拟变量取值为1时,其系数会改变截距。例如,假定某人是否为某组的成员是与回归相关的定性变量之一,如果属于该组成员以1代表,则其他所有人获得0值,此时截距对非成员是常数项,对成员则是常数项加上“成员”虚拟变量的系数。 虚拟变量常用于时间序列分析,包括状态转换、季节性分析和定性数据应用。

Abstract from DBpedia / Wikipedia · CC BY-SA