楼主: OmuSy42682
64 0

[其它] stata方法 [推广有奖]

  • 0关注
  • 0粉丝

等待验证会员

本科生

13%

还不是VIP/贵宾

-

威望
0
论坛币
181 个
通用积分
0.9854
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
410 点
帖子
40
精华
0
在线时间
0 小时
注册时间
2021-4-11
最后登录
2023-8-31

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
Stata SHP Data Management (Stata 12)
Ursina Kuhn and Oliver Lipps, FORS, Lausanne
Version August 2013
Content
Aim of this documentation ......................................................................................................... 2
1 Missing values in the SHP ................................................................................................. 2
2 Merge files .......................................................................................................................... 3
2.1 Illustration of data merge ........................................................................................... 3
2.2 Identifiers in the SHP ................................................................................................. 4
2.3 The Merge command in Stata .................................................................................... 5
2.4 Merging two files of the SHP ..................................................................................... 6
2.5 Merging many files of the SHP .................................................................................. 8
2.6 Exercises: merge files ................................................................................................. 9
3 Add information from other household members ............................................................ 10
3.1 Create a partner file with the merge command ........................................................ 11
3.2 Create a file with information of mothers and fathers ............................................. 13
3.3 Adding information of other household members with the bysort prefix ................ 14
3.4 Exercise: add information from other household members ..................................... 14
4 Creating long data files (person period files) ................................................................... 15
4.1 Wide and long data formats ..................................................................................... 15
4.2 Create a long file with the append command ........................................................... 16
4.3 Create a long file with the merge and reshape command......................................... 16
4.4 Exercise: creating a long file .................................................................................... 19
5 Working in the long file ................................................................................................... 19
5.1 The bysort prefix ...................................................................................................... 19
5.2 Working with lags .................................................................................................... 20
5.3 Exercises working in the long file ............................................................................ 21

stata方法.pdf (6.58 MB, 需要: 1 个论坛币)
二维码

扫码加我 拉你入群

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

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

关键词:Stata tata illustration information Informatio

本版微信群
加JingGuanBbs
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-11-9 23:45