楼主: tccheyi
4554 3

[问答] 请教logistic问题(spss) [推广有奖]

  • 0关注
  • 1粉丝

已卖:138份资源

硕士生

5%

还不是VIP/贵宾

-

威望
0
论坛币
30072 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
629 点
帖子
61
精华
0
在线时间
122 小时
注册时间
2005-5-31
最后登录
2023-2-11

楼主
tccheyi 发表于 2005-10-28 12:20:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币

在logistic分析中,二分类变量(即0,1变量)需要选到categorical covariates里面吗? 如果需要,是以0作为参照类还是1? 十分感谢 我看到陈平雁老师编的spss13.0挺好,还有些问题想当面请教,请问谁知道他的email呀?

二维码

扫码加我 拉你入群

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

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

关键词:logistic ogistic logisti logist logis SPSS logistic

回帖推荐

bakoll 发表于4楼  查看完整内容

二分类自变量无需设置哑变量

本帖被以下文库推荐

Truth

沙发
hanszhu 发表于 2006-5-17 05:03:00

Covariates are interval independents in most programs. However, in SPSS dialog all independents are entered as covariates, then one clicks the Categorical button in the Logistic Regression dialog to declare any of those entered as categorical.

Interaction terms. As in OLS regression, one can add interaction terms to the model (ex., age*income). For continuous covariates, one simply creates a new variable which is the product of two existing ones. For categorical variables, one also multiplies but you have to multiply two category codes as shown in the Categorical Variables Codings table of SPSS output (ex, race(1)*religion(2)). The codes will be 1's and 0's so most of the products in the new variables will be 0's unless you recode some products (ex., setting 0*0 to 1).

SPSS and SAS. In SPSS, select Analyze, Regression, Binary (or Multinomial), Logistic; select the dependent and the covariates; Continue; OK. SAS's PROC CATMOD computes both simple and multinomial logistic regression, whereas PROC LOGIST is for simple (dichotomous) logistic regression. CATMOD uses a conventional model command: ex., model wsat*supsat*qman=_response_ /nogls ml ;. Note that in the model command, nogls suppresses generalized least squares estimation and ml specifies maximum likelihood estimation.

Sequential logistic regression is analysis of nested models where the researcher is testing the control effects of a set of covariates. The logistic regression model is run against the dependent for the full model with independents and covariates, then is run again with the block of independents dropped. If chi-square difference is not significant, then the researcher concludes that the independent variables are controlled by the covariates (that is, they have no effect once the effect of the covariates is taken into account). Alternatively, the nested model may be just the independents, with the covariates dropped. In that case a finding of non-significance implies that the covariates have no control effect.

Continuous covariates: When the logit is transformed into an odds ratio, it may be expressed as a percent increase in odds. For instance, consider the example of number of publications of professors (see Allison, 1999: 188). Let the logit coefficient for "number of articles published" be +.0737, where the dependent variable is "being promoted". The odds ratio which corresponds to a logit of +.0737 is approximately 1.08 (e to the .0737 power). Therefore one may say, "each additional article published increases the odds of promotion by about 8%, controlling for other variables in the model.." (Obviously, this is the same as saying the original dependent odds increases by 108%, or noting that one multiplies the original dependent odds by 1.08. By the same token, it is not the same as saying that the probability of promotion increases by 8%.) To take another example, let income be a continuous explanatory variable measured in ten thousands of dollars, with a logit of 1.5 in a model predicting home ownership=1, no home ownership=0. A 1 unit increase in income (one $10,000 unit) is then associated with a 1.5 increase in the log odds of home ownership. However, it is more intuitive to convert to an odds ratio: exp(1.5) = 4.48, allowing one to say that a unit ($10,000) change in income increases the odds of the event ownership=1 about 4.5 times.

[此贴子已经被作者于2006-5-17 5:11:14编辑过]

藤椅
金融考研 在职认证  发表于 2010-3-10 15:46:56
在13.0里面可以用analyze-regression-curve estimate进行拟合,在选项里面把logistic钩上,把自变量因变量选好即可

不过上限需要手工设定

如果无法主观确定的话可以在其他软件那里如matlab在某一个值域用有限步长进行搜索,选拟合优度最高的值

板凳
bakoll 发表于 2015-5-15 15:27:34
二分类自变量无需设置哑变量

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

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