834 1

[作业] 求助:data generation [推广有奖]

  • 0关注
  • 0粉丝

高中生

0%

还不是VIP/贵宾

-

威望
0
论坛币
2 个
通用积分
1.0160
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
143 点
帖子
5
精华
0
在线时间
28 小时
注册时间
2020-4-5
最后登录
2020-10-26

楼主
表情包小王子 发表于 2020-4-7 16:49:28 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
作业遇到了难题恳请大佬们用Stata帮忙
Generate 2,000 observations of ln(𝑍), which can be interpreted as productivity shocks and follows
normal distribution with mean 0.5 and standard deviation 1. Then, generate a firm’s cash flow,
which is  𝑋 = 𝐵𝑍 +𝑈 where 𝐵 = 0.05 and 𝑈 follows normal distribution with mean 0 and
standard deviation 0.1. 𝑈  is independent of 𝑍. Finally, generate a firm’s borrowing 𝑌 = 𝑋 +𝜖
where 𝜖 = 0.5𝑈 +0.5𝐸 and 𝐸 follows normal distribution with mean 0 and standard deviation 0.1.
𝐸 is independent of 𝑈,𝑍.
第一步就不太会感觉后面就更做不出来了
二维码

扫码加我 拉你入群

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

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


沙发
冰枫冷羽 发表于 2020-4-9 14:13:49 来自手机
表情包小王子 发表于 2020-4-7 16:49
作业遇到了难题恳请大佬们用Stata帮忙
Generate 2,000 observations of ln(𝑍), which can be inte ...
其实说的就是Z服从对数正态分布,你用stata命令从对数正态分布里产生2000个数据就行了,然后这就是Z的值

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-12 16:00