楼主: paris0120
1678 2

[原创博文] 求助, main effect 问题 [推广有奖]

  • 0关注
  • 0粉丝

小学生

28%

还不是VIP/贵宾

-

威望
0
论坛币
28 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
178 点
帖子
7
精华
0
在线时间
4 小时
注册时间
2008-2-20
最后登录
2012-5-3

楼主
paris0120 发表于 2011-5-12 02:54:39 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
有一组数据,自变量是q,l,分别是朝向和楼层,分别只能取2个值,0,1。还有因变量p,是价钱,问Using a model without an interaction term:
(1) Is there reasonable basis to suspect that houses which border the river differ in predicted sales
price from houses which border the mountains? If so, what is your best estimate of the dollar value
of this difference?
(2) Is there reasonable basis to suspect that houses which have 1 level differ in predicted sales price
from houses which have 2 levels? If so, what is your best estimate of the dollar value of this
difference?
(3) What is the predicted difference in sales price between 1-level houses bordering the river and 2-
level houses bordering the mountains? (For this question, a minimal amount of hand computation
may be involved.)
Using a model with an interaction term:
(4) Is there reasonable basis to suspect that houses which border the river differ in predicted sales
price from houses which border the mountains? If so, what is your best estimate of the dollar value
of this difference?
(5) Is there reasonable basis to suspect that houses which have 1 level differ in predicted sales price
from houses which have 2 levels? If so, what is your best estimate of the dollar value of this
difference?
(6) Is there reasonable basis to suspect that the answer to Question (4) differs depending on number of
levels? If so, what is your best estimate of the difference in differences?
(7) Is there reasonable basis to suspect that the answer to Question (5) differs depending on quadrant?
If so, what is your best estimate of the difference in differences?
(8) What is the predicted difference in sales price between 1-level houses bordering the river and 2-
level houses bordering the mountains? Can we be reasonably confident that this difference is
anything other than zero in the population?


我写的程序是

data lab5_data_Housing;
infile "D:\Documents\Dropbox\Books\lab\lab5.txt";
input price 1-4 quadrant $ 6 levels 8;

run;

proc glm data = lab5_data_Housing;
classes quadrant levels;
model price= quadrant levels/solution;
means quadrant levels ;
estimate "N, 1" intercept 1 quadrant 1 0 levels 1 0;
estimate "N, 2" intercept 1 quadrant 1 0 levels 0 1;
estimate "S, 1" intercept 1 quadrant 0 1 levels 1 0;
estimate "S, 2" intercept 1 quadrant 0 1 levels 0 1;
run;

proc glm data = lab5_data_Housing;
classes quadrant levels;
model price= quadrant levels quadrant*levels/solution;
means quadrant levels quadrant*levels;
estimate "N, 1" intercept 1 quadrant 1 0 levels 1 0 quadrant*levels 1 0 0 0;
estimate "N, 2" intercept 1 quadrant 1 0 levels 0 1 quadrant*levels 0 1 0 0;
estimate "S, 1" intercept 1 quadrant 0 1 levels 1 0 quadrant*levels 0 0 1 0;
estimate "S, 2" intercept 1 quadrant 0 1 levels 0 1 quadrant*levels 0 0 0 1;
run;

quit;


怎么做这道题?
二维码

扫码加我 拉你入群

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

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

关键词:Effect Main FECT ect FEC difference reasonable mountains suspect without

沙发
baoaibaobao 发表于 2011-5-12 08:14:02
英文不好,翻译不懂!

藤椅
paris0120 发表于 2011-5-12 08:47:40
就是一组数值,有两个因素,问这两个因素对最终结果又没有影响,如果有影响多少,要用没有interaction term和有interaction term两种方法求。

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-30 06:24