proc logistic data=pro10_5 descending simple;
model mal=income type a12 a2 newage/ selection=stepwise;
weight weight;
run;
income是(收入)
type是地区类型
a12是家庭规模人口数
a2是性别
newage是年龄组
结果是
应该如何解释才好?

|
楼主: tylerconan
|
2677
2
[作业] 非条件logistic 回归,我写的sas程序对吗?结果如何解释才好? |
|
硕士生 52%
-
|
回帖推荐http://documentation.sas.com/?docsetId=statug&docsetVersion=14.3&docsetTarget=statug_logistic_examples01.htm&locale=zh-CN
1、无序多分类自变量应加class语句:
proc logistic data=pro10_5 descending simple;
class type(ref="4")/param=reference;
model mal=income type a12 a2 newage/ selection=stepwise;
weight weight;
run;
2、年龄赋值看不懂。
3、要先看用logistic回归分析适合与否(再说code对不对) ...
| ||
|
|
| ||
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


