Demeaning data

For questions and discussion related to reading in and working with data.
Ozmando
Posts: 52
Joined: Sun Jul 15, 2012 4:04 pm

Demeaning data

Unread post 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
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Demeaning data

Unread post 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.
Ozmando
Posts: 52
Joined: Sun Jul 15, 2012 4:04 pm

Re: Demeaning data

Unread post 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
Post Reply