Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: panel data

From   "Siddharth Kharkar" <>
To   <>
Subject   st: panel data
Date   Mon, 10 Jul 2006 14:05:55 -0400

Dear Sir,
I apologize if my email sounds na´ve... But if those are the only things you
want to do, would converting the data from long to wide format help?

Then, you could possibly have a variable "SelfEmployedAtSomePoint"

Gen SelfEmployedAtSomePoint="No"
Replace SelfEmployedAtSomePoint="Yes" if

Tab SelfEmployedAtSomePoint
List personal_number year1 employment1 year2 employment2..... If

Again, I apologize if my reply sounds na´ve, but I hope it helps.

Warm regards,

Date: Sun, 09 Jul 2006 17:50:25 +0200
From: "Andrey V. Ivanov" <>
Subject: st: panel data

Hi, all.

Suppose I have the following data:

personal_number	employment	year
1			perm		1997
1			perm		1998
2			un-Emp	1997
2			self-emp	1998
3			perm		1997
3			self-emp	1998
4			self-emp	1997
4			perm		1998

Now, I want Stata to tell me how many people were self-employed in this
data-set at SOME point in time. (3)

Next, I also want stata to list the whole employment history of anyone who
has been self-employed at SOME point in time.

Could you please assist me?

Many thanks

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/383 - Release Date: 7/7/2006

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index