楼主: shaketiger
1650 3

[问答] 求助一个极其简单的问题!!!!来自香港科大的求助 [推广有奖]

  • 0关注
  • 0粉丝

初中生

66%

还不是VIP/贵宾

-

威望
0
论坛币
1915 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
11507 点
帖子
15
精华
0
在线时间
17 小时
注册时间
2007-10-10
最后登录
2014-12-2

楼主
shaketiger 发表于 2009-9-25 15:51:09 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
This exercise is based on the cinema data previously used in the illustrations of linear regression in lectures. It walks you through a data-driven way, the so-called bootstrap procedure, to assess the sampling distribution of OLS estimates.

1. Estimate the coe±cients in the linear regression of log(price) on a constant and the number of fascias; i.e. reproduce the OLS regression results displayed in class.

2. Instead of collecting another sample (of size 112) of UK multiplex cinemas, consider re-sampling by means of the so-called bootstrap procedure: Obtain a bootstrap sample by re-sampling 112 data records (rows in the data matrix, i.e. pairs of log(price) and fascia count) from the original data, with replacement (i.e. there will be records in the bootstrap sample that appear more than once).

3. Use the bootstrap sample obtained in (2.) and re-estimate the coe±cients in the linear regression in (1.). The OLS coe±cient estimates obtained from this regression are called the bootstrap replicates of the original coe±cient estimates. Be sure to store them for later use.

4. Repeat steps (2.) and (3.) 99 times and thereby obtain a total of 100 bootstrap replications of the original OLS coefficient estimates.

5. Calculate the sample mean and variance-covariance matrix of your 100 bootstrap replications of the original OLS estimates. Verify that the sample means and standard deviations are approximately equal to the original OLS estimates and their standard errors.


想问一下第4步的重复2,3步99次的命令怎么写,是不是用loop命令?请高人指教,谢谢了。恳请写出具体的program。
二维码

扫码加我 拉你入群

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

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

关键词:香港科大 港科大 replications illustration distribution 求助 香港

沙发
robinlyf 发表于 2009-9-25 17:46:25
是不是发错版块了,eviews从没有用到重复命令。

藤椅
shaketiger 发表于 2009-9-25 19:11:22
是eviews的,这个我敢保证!

板凳
kemufei 发表于 2009-9-25 23:49:10
楼主用的是哪个版本的啊
人贵坚持,善于总结。

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

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