楼主: jennyli1346
2070 2

ask for help with a question using proc GLM [推广有奖]

  • 1关注
  • 1粉丝

已卖:539份资源

教授

13%

还不是VIP/贵宾

-

威望
0
论坛币
3701 个
通用积分
6.3229
学术水平
2 点
热心指数
4 点
信用等级
0 点
经验
46136 点
帖子
554
精华
0
在线时间
794 小时
注册时间
2009-11-30
最后登录
2025-9-16

楼主
jennyli1346 发表于 2010-1-8 06:01:53 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
I'm analyzing a data set (given below) using the SAS codes:
proc glm data=par3;
class S P;
model y = V*S V*P / solution;
estimate 'C - L at V=0.05 & P=large' V*S 0.05 -0.05 V*P 0.05;
estimate 'C - L at V=0.05 & P=small' V*S 0.05 -0.05;
run;

and would like to compare mean Y at each of four settings of S*P. Class variable S takes two levels: C vs L, class variable P takes two levels: large and small. But SAS gave a error message:
C - L at V=0.05 & P=large is not estimable.

Experts, any useful advice would be highly appreciated. Thanks in advance!!!

Data:

y S P V
29.18 C large 0.042954
29.94 C large 0.042954
32.75 C large 0.042954
22.38 C large 0.026264
20.56 C large 0.026264
11.39 C large 0.008532
8.89 C large 0.008532
9.58 C large 0.008532
25.64 C large 0.039110
25.90 C large 0.039840
25.59 C large 0.039840
28.25 C large 0.039840
66.95 C large 0.084107
64.24 C large 0.084107
62.76 C large 0.084107
39.20 C small 0.044582
35.61 C small 0.044582
31.22 C small 0.044582
21.27 C small 0.027473
23.62 C small 0.027473
22.44 C small 0.027473
12.29 C small 0.009818
14.00 C small 0.009818
9.90 C small 0.009818
28.44 C small 0.039110
29.61 C small 0.039110
59.56 C small 0.081520
67.51 C small 0.081520
58.74 C small 0.081520
30.49 L large 0.042954
30.09 L large 0.042954
29.04 L large 0.042954
19.43 L large 0.026264
20.11 L large 0.026264
21.65 L large 0.026264
10.41 L large 0.008532
8.93 L large 0.008532
10.28 L large 0.008532
9.41 L large 0.009818
58.46 L large 0.084107
54.46 L large 0.084107
51.88 L large 0.084107
34.08 L small 0.044582
32.47 L small 0.044582
29.18 L small 0.044582
21.67 L small 0.027473
19.55 L small 0.027473
18.32 L small 0.027473
21.61 L small 0.027473
20.55 L small 0.027473
20.44 L small 0.027473
10.15 L small 0.009818
9.64 L small 0.009818
60.58 L small 0.081520
63.96 L small 0.081520
56.77 L small 0.081520


Partial results:

The GLM Procedure
Dependent Variable: y
Sum of
Source DF Squares Mean Square F Value Pr > F
Model 3 17040.43849 5680.14616 783.96 <.0001
Error 52 376.76153 7.24541
Corrected Total 55 17417.20002

R-Square Coeff Var Root MSE y Mean
0.978368 8.913964 2.691731 30.19679

Source DF Type I SS Mean Square F Value Pr > F
V*S 2 16983.83189 8491.91595 1172.04 <.0001
V*P 1 56.60660 56.60660 7.81 0.0073

Source DF Type III SS Mean Square F Value Pr > F
V*S 1 85.20517671 85.20517671 11.76 0.0012
V*P 1 56.60659538 56.60659538 7.81 0.0073

Standard
Parameter Estimate Error t Value Pr > |t|
Intercept 2.6310648 0.67351512 3.91 0.0003
V*S C 733.3991228 B 18.03198481 40.67 <.0001
V*S L 681.2693162 B 18.00808459 37.83 <.0001
V*P large -42.4603440 B 15.19083328 -2.80 0.0073
V*P small 0.0000000 B . . .


二维码

扫码加我 拉你入群

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

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

关键词:question R help Quest Using Help Using proc Ask question GLM

回帖推荐

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

1# jennyli1346

本帖被以下文库推荐

沙发
jingju11 发表于 2010-1-8 07:09:45
1# jennyli1346


  1. estimate 'C - L at V=0.05 & P=large' V*S 0.05 -0.05 V*P 0.05 -0.05;
  2. estimate 'C - L at V=0.05 & P=small' V*S 0.05 -0.05 v*p 0 ;
复制代码
已有 2 人评分经验 论坛币 学术水平 热心指数 信用等级 收起 理由
bakoll + 3 + 3 精彩帖子
jennyli1346 + 1 + 1 + 1 jingju11 is smart as well as helpful.

总评分: 经验 + 3  论坛币 + 3  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

藤椅
jennyli1346 发表于 2010-1-8 08:03:58
jingju11,
Thank you very much! you're a SUPER genius! I guess that your codes worked as the coefficient corresponding to P=small is zero.

Jenny

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

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