1044 0

[统计软件] 请问,SAS中能不能求条件概率? [推广有奖]

  • 0关注
  • 0粉丝

硕士生

74%

还不是VIP/贵宾

-

威望
0
论坛币
166 个
通用积分
5.7001
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
946 点
帖子
49
精华
0
在线时间
273 小时
注册时间
2013-1-10
最后登录
2024-4-2

楼主
普罗旺斯青大 发表于 2017-11-30 10:51:51 |AI写论文
20论坛币
有这样一个数据集a,
repurchase(是否重复购买,)         first_discount(第一次购买时的折扣%)      
        0                                                            0
        1                                                            20
        0                                                            10
        1                                                           30
       0                                                             0
       1                                                             0

现在想计算 Pr(repurchase=1|first_discount=0),Pr(repurchase=1|first_discount=10),Pr(repurchase=1|first_discount=20),该如何操作呢?

关键词:条件概率 repurchase purchase Discount Discou

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

本版微信群
jg-xs1
拉您进交流群
GMT+8, 2025-12-27 05:25