| 所在主题: | |
| 文件名: fascias.XLS | |
| 资料下载链接地址: https://bbs.pinggu.org/a-418928.html | |
| 附件大小: | |
|
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。 |
|
熟悉论坛请点击新手指南
|
|
| 下载说明 | |
|
1、论坛支持迅雷和网际快车等p2p多线程软件下载,请在上面选择下载通道单击右健下载即可。 2、论坛会定期自动批量更新下载地址,所以请不要浪费时间盗链论坛资源,盗链地址会很快失效。 3、本站为非盈利性质的学术交流网站,鼓励和保护原创作品,拒绝未经版权人许可的上传行为。本站如接到版权人发出的合格侵权通知,将积极的采取必要措施;同时,本站也将在技术手段和能力范围内,履行版权保护的注意义务。 (如有侵权,欢迎举报) |
|
京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明