Hi,
You can do something like this but you need a separate EV for each outlier. For example, if you have 5 outliers then you need 5 separate EVs, each of which is zero for all entries except one as each EV can only remove the effect of a single outlier (trying to put any more into one EV makes an assumption that the values of the outliers are exactly equal to each other, which is clearly not true).
All the best,
Mark
> On 27 Oct 2017, at 15:22, Yuwen Hung <[log in to unmask]> wrote:
>
> Dear Anderson,
> If I want to control for the effect of outlier data before running glm, I was thinking whether I could, in a new EV, put the outlier subjects as 1 and all others as 0, and this EV in the contrast matrix would be 0 effect. Please let me know? Thank you very much for any help!
>
> Best,
> Yuwen
>
>
|