基于stata的回归分析课件.pptx
《基于stata的回归分析课件.pptx》由会员分享,可在线阅读,更多相关《基于stata的回归分析课件.pptx(15页珍藏版)》请在三一办公上搜索。
1、Example 4.5 背景介绍,以We4 P132 Example 4.5 hprice2.dta 为例;研究问题:住房价格和空气污染的关系;(简化:median housing price 研究对象:波士顿地区506个社区;变量定义: nox: 空气中氮氧化物的浓度; dist: 社区距离5个就业中心的距离;,第1页/共15页,Example 4.5 背景介绍以We4 P132 Exam,Example 4.5 背景介绍,变量定义: rooms:社区中住房的平均房间数目; stratio: 社区中中学的平均学生和老师比例;回归模型: log(price)=0+ 1log(nox) + 2l
2、og(dist) + + 3rooms + 4stratio+u,第2页/共15页,Example 4.5 背景介绍变量定义:第2页/共15页,1、数据的统计性质,导入数据:方法一:cd F:研究生研一下双学位中计2课件statafiles;(设定当前工作区)use hprice2, clear (调用数据)方法二:use F:研究生研一下双学位中计2课件statafileshprice2.dta, clear,第3页/共15页,1、数据的统计性质导入数据:第3页/共15页,Data,第4页/共15页,Datapricenoxroomsdiststratio12,Contains data f
3、rom hprice2.dta obs: 506 vars: 13 31 Oct 1996 16:37 size: 24,794 - storage display valuevariable name type format label variable label-price float %9.0g median housing price, $nox float %9.0g nit ox concen; parts per 100mrooms float %9.0g avg number of roomsdist float %9.0g wght dist to 5 employ cen
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 基于 stata 回归 分析 课件
链接地址:https://www.31ppt.com/p-1714894.html