全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件
865 1
2020-04-07
作业遇到了难题恳请大佬们用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的值
二维码

扫码加我 拉你入群

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

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

栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群