stata交互项去中心化命令
1. stata建立交互项是用什么命令
1
我看的是教程上说直接让y对x1
x2
x1*x2做anova,而stata12显示
x1*x2
not
be
found
2
还有协方差分析,continuous命令的结果是option
continuous(age)
not
allowed
option
continuous(age)
only
allowed
under
version
control
with
version
<
11.
or,
use
the
c.
factor
variable
operator
on
your
continuous
variable
2. stata中的center命令是什么意思
显示居中,大多用于文本显示的选项。这是一个选项。
justification(justificationstyle) specifies how the text is to be "horizontally" aligned
in the box. Choices include left, right, and center. Think of the textbox as being
horizontal, even if it is vertical when specifying this option.
3. 怎么进行去中心化处理
根据侯杰泰的话:所谓中心化, 是指变量减去它的均值(即数学期望值)。对于样本数据,将一个变量的每个观测值减去该变量的样本平均值,变换后的变量就是中心化的。
对于你的问题,应是每个测量值减去均值。
4. stata回归中怎么添加交互项
调节效应应该检验交互因子的系数,这个系数显著,就可以说明调节效应了。你的这个模型找到文献支持可以成立的
excluded variables(已排除的变量)
你应该是第一张放两个变量,第二张放3个变量,选择的回归方法是enter(进入)。但是spss不是按照你的顺序去放变量,而是把你所选的所有变量都加到模型里面去,在进行第一个回归的时候把多出来的变量排除,所以会有这个表格出现。如果不想出现这个表格,你就分两次做回归,第一次放中心D中心H,出了结果再放中心D中心H D乘H,分两次做就不会有了。
5. 求助:stata12中的交互项命令
1 我看的是教程上说直接让y对x1 x2 x1*x2做anova,而stata12显示 x1*x2 not be found
2 还有协方差分析,continuous命令的结果是option continuous(age) not allowed
Option continuous(age) only allowed under version control with version < 11. Or, use the c. factor variable operator on
your continuous variable