全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SPSS论坛
1612 2
2014-04-22

I'm trying to run an ANCOVA on SPSS with 3 variables: Gender, score 1, score 2.

I want to control for the possibility that gender has an effect the scores, in order to isolate just the relationship between score 1 and score 2.

However, I cannot enter gender as a covariate on SPSS as, by definition, it assumes covariates must be scalars.

So, how can I run my ANCOVA and make sure that gender isn't affecting my 2 other variables?


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2014-4-22 23:34:23
If you want to retain the nominal coding of the Gender variable, you can include it as a fixed factor, then go in "Model...", then select "Custom" (instead of "Full factorial"), and enter all main effects, and the 2-way interaction between score1 and score2, but not the interaction between Gender and either score1 and score2 (i.e., enter only the main effect for Gender).

Alternatively (and this is what I would suggest), you can recode your gender variable into dummy codes or effects code (or any other two values). For example, you could call your variable Female, and code males as 0, and females as 1, and set it as a "scale" variable. Then you could include it in the "Covariates" section.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2014-4-22 23:35:26
FYI, for the sake of interpreting the Gender effect, I would recommend coding one gender 0, and the other 1, which is by far the most common method for coding a categorical variable (at least in the social sciences). –  Patrick Coulombe

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群