楼主: whachel1976
4026 4

[回归分析求助] probit后predict [推广有奖]

已卖:600份资源

院士

20%

还不是VIP/贵宾

-

威望
2
论坛币
25136 个
通用积分
8001.8230
学术水平
1309 点
热心指数
1326 点
信用等级
1145 点
经验
174738 点
帖子
1618
精华
10
在线时间
2668 小时
注册时间
2010-12-17
最后登录
2024-6-30

初级学术勋章 初级热心勋章 初级信用勋章 中级热心勋章 高级热心勋章 中级学术勋章

楼主
whachel1976 发表于 2014-4-18 10:48:52 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
用了probit y x1 x2 ...xn
然后predict probitxb xb
出现错误“too many variables specified
r(103);”


什么意思?是我probit命令中解释变量太多了吗?但我将解释变量删成只剩x1,还是出现这个错误。这是怎么回事?

并且,在运行用了probit y x1 x2 ...xn时,结果是有了,显著性也看得出来,但是回归结果下方有个“Note: 1 failure and 0 successes completely determined.”这又是什么意思,如何改进?


二维码

扫码加我 拉你入群

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

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

关键词:predict Probit Pred bit dic

沙发
蓝色 发表于 2014-4-18 19:45:37
Examples

    Setup
        . sysuse auto
        . probit foreign weight mpg

    Obtain predicted probabilities
        . predict p

    Calculate and display summary statistics
        . summarize foreign p

    Use rules when making predictions
        . predict p2, rules

    Calculate and display summary statistics
        . summarize foreign p p2

    Ignore rules and exclusion criteria
        . predict p3, asif

    Calculate and display summary statistics
        . summarize foreign p p2 p3


看软件predict的help中的例子
predict 后面只能是一个预测的变量
已有 1 人评分热心指数 信用等级 收起 理由
whachel1976 + 2 + 1 热心帮助其他会员

总评分: 热心指数 + 2  信用等级 + 1   查看全部评分

藤椅
whachel1976 发表于 2014-4-20 01:28:29
谢谢!可还是不太明白...

板凳
jjjj6666 发表于 2014-4-20 07:03:15
see help section of the postestimation of the probit.  

You need to use

predict probitxb, xb
已有 1 人评分热心指数 收起 理由
whachel1976 + 1 热心帮助其他会员

总评分: 热心指数 + 1   查看全部评分

报纸
whachel1976 发表于 2014-4-21 00:08:53
jjjj6666 发表于 2014-4-20 07:03
see help section of the postestimation of the probit.  

You need to use
Yes, I've used it. But I cannot find where the real problem is. Then I want to predict using " gen ..." by hand, with the coefficients got from the logit program.

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-1 18:38