Page 1 of 1

Demeaning data

Posted: Mon Mar 13, 2023 8:01 am
by Ozmando
Hi,
I please need help with demeaning variables, in RATS, before my main estimations.
The idea is to account for fixed-effects (without using the route of the individual dummies).
I have a list of 5 variables.
Thanks.
Oz

Re: Demeaning data

Posted: Tue Mar 14, 2023 9:18 am
by TomDoan
That's one of the things that the PANEL instruction does.
panel(entry=1.0,indiv=-1.0) x / cx
removes the individual means from x to create cx.

Re: Demeaning data

Posted: Tue Mar 14, 2023 3:28 pm
by Ozmando
TomDoan wrote:That's one of the things that the PANEL instruction does.
panel(entry=1.0,indiv=-1.0) x / cx
removes the individual means from x to create cx.
Thanks Tom, fully appreciated.
Oz