楼主: feelinginwind
1723 0

[其他] 面板数据,求累积工作经验的问题 [推广有奖]

  • 0关注
  • 0粉丝

大专生

33%

还不是VIP/贵宾

-

威望
0
论坛币
77 个
通用积分
0.4800
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
284 点
帖子
63
精华
0
在线时间
9 小时
注册时间
2006-7-2
最后登录
2012-12-31

楼主
feelinginwind 发表于 2010-1-21 11:37:25 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
我有一个面板数据(longitudinal data),也就是每个人(一个id)有多个工作(jobid从1到12不等),每个工作是一个观测值。工作之间有各种重合现象。
exp=前期工作经验+本期工作经验-重合部分。

求教怎样求每个工作的累积工作经验。

我有60点,出50点求答案,如果程序可行即付。
从来没有用过这样的方法,请告知付的程序。谢谢


这里是数据:




/* this is a forfeit data. it is about the activity of immigrants after landing.
I have variables such as hhldid, household id, jobid, js, which is the number of month
between an immigrant's landing time and his job start time. je, which is the number of month
between an immigrant's landing time and his job ending time.
you can find some ones have 2 jobs, some have 3. some one's jobs does not overlap. some do.
here is only a few examples of the overlapping situation. the real data is a little more
complicated, such as the some people hold 12 jobs since landing. and it nearly covers every
possible overlapping situation.
I wish I make the question clear. but if not, plz let me know and I will try my best to explain it.
please help and thanks for your time and kindness :)
*/

clear
input hhldid  jobid  js  je   
1  1  0.25  7.5
1  2  8  8.9
2  1  0.9  13.9
2  2  13.5 16.25
3 1 1 5
3 2 2 4.5
4  1  8.7  12
4  2  12.55 13.55
4 3  13.8 16.8
5  1  1.1  5.5  
5 2  5  8  
5 3 7 9
6  1  0.1  2
6  2  5.1  7.1
6 3 5 7
7  1  1.1 5.5
7  2  1.5  8
7 3 6 8
8 1 1 8
8 2 1.5 6
8 3 1.5 7
9 1 1 8
9 2 1.5 6
9 3 1.6 5

10 1 1 8
10 2 1.5 6
10 3 1.6 9
11 1 1 8
11 2 1.5 6
11 3 9 10
12 1       1       3
12 2       3.5     8  
12 3       4       7
end

***************************
label var hhldid "household id"
label var jobid "job id for each job s/he worked or working since landing"
label var js "job start time, by quarter of a year"
label var je "job end time, by quarter of a year"
label var ts "training start time, by quarter of a year"
label var te "training end time, by quarter of a year"
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:工作经验 面板数据 Longitudinal Overlapping complicated household activity 工作经验 landing about

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-26 02:34