楼主: squw
2937 1

求助:sas处理伍德里奇的一道课后计算机习题 [推广有奖]

  • 0关注
  • 1粉丝

初中生

76%

还不是VIP/贵宾

-

威望
0
论坛币
1050 个
通用积分
0
学术水平
1 点
热心指数
1 点
信用等级
0 点
经验
341 点
帖子
13
精华
0
在线时间
21 小时
注册时间
2007-5-29
最后登录
2022-1-11

楼主
squw 发表于 2008-12-7 00:49:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币

本人痛苦的自学计量和sas,伍德里奇的书看了挺多但课后计算机习题还没怎么做

最近抓紧解决习题,却现在卡在一道很简单的题上,周围没人学计量和sas,都不知道该怎么弄

于是上论坛请前辈赐教:

计量经济学导论现代观点第三版第四章习题

4.14 Refer to Problem 3.14. Now, use the log of the housing price as the dependent
variable:
log(price) =b0 +b1*sqrft +b2*bdrms+ u.
(i) You are interested in estimating and obtaining a confidence interval for
the percentage change in price when a 150-square-foot bedroom is
added to a house. In decimal form, this is  c1=150*b1+b2

原式有b0,b1,b2,三个参数,现在引入c1这个参数,使得c1=150*b1+b2,然后估计c1的值;我把b2用c1,b1替换,用sas输入

proc model data=homework.hprice2;
parm b0 b1 c1;
lprice=b0+b1*(sqrft-150*bdrms)+c1*bdrms;
fit lprice/ols;
run;

 命令怎么都弄不出结果,请问应该输入什么代码呢(我刚开始自学,还不太会用)

二维码

扫码加我 拉你入群

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

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

关键词:伍德里奇 伍德里 计算机 德里奇 Estimating 求助 习题 SAS 伍德里奇 计算机

回帖推荐

kunkunred 发表于2楼  查看完整内容

C1 is not a new parameter, the problem just wants you to find the change of price when change of sqft=150 and change of bdrms=1. I guess there should be data associated with the problem, if so you can do this.1. Use linear regression and in the output find estimates for b0,b1,b2   proc reg data=homework.hprice2;   lprice=sqft bdms; run;2. Now you have the estimates of price:&nb ...

本帖被以下文库推荐

沙发
kunkunred 发表于 2008-12-11 04:06:00

C1 is not a new parameter, the problem just wants you to find the change of price when change of sqft=150 and change of bdrms=1. I guess there should be data associated with the problem, if so you can do this.

1. Use linear regression and in the output find estimates for b0,b1,b2

   proc reg data=homework.hprice2;

   lprice=sqft bdms; run;

2. Now you have the estimates of price: log(price) =b0 +b1*sqrft +b2*bdrms

   Those parameter estimates measure the rate of change in lprice corresponding to a one-unit change in input variable. So the change of lprice is just 150*b1+1*b2.

Hope it helps.

已有 1 人评分经验 论坛币 收起 理由
bakoll + 3 + 3 精彩帖子

总评分: 经验 + 3  论坛币 + 3   查看全部评分

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-3 12:48