Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Help with Panel Data

Subject: Help with Panel Data

From: Ricardo Silva

Date: 17 Dec, 2008 16:18:03

Message: 1 of 1

Hi,

I working with a longitudinal (panel) dataset which have 4 observations for 20 sectors.
I want to normalize my dataset by sector, i.e.,

supossing 'sector' is the z(:,1) indicator variable in the dataset z, I want to compute z_t as:

by sector
z_t=z-mean(z)/sd(z);

any hint?

Thanks in advance,

Rick

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us