cqcn1991
V2EX  ›  问与答

V2 上有没有搞统计和数据分析的同学?求教一个问题(拟合优度)

  •  
  •   cqcn1991 · Feb 2, 2016 · 2378 views
    This topic created in 3765 days ago, the information mentioned may be changed or developed.

    如图,下面是 LZ 最近的工作,样本统计和模型出来的曲线

    enter image description here

    直接看起来,应该还不错吧?
    但是用卡方检验(chi square)来测拟合优度的话,是通不过的

    不知道是什么原因?
    以及,还有什么合适的检测拟合优度(goodness-of-fit)的办法?
    ( K-S 检验我这不是很合适,计算量太大)


    具体的情况写在这了
    http://stats.stackexchange.com/questions/193589/is-chi-square-test-too-strict,
    似乎是样本过大, non-sampling error (比如数据本身记录的问题等等)比 sampling error 要大很多,所以会通不过。

    6 replies    2016-02-20 16:38:21 +08:00
    JamesRuan
        1
    JamesRuan  
       Feb 3, 2016
    数学渣渣,不过会翻维基:

    Shapiro-wilk test ,检查残差正态性。
    mortaleye
        2
    mortaleye  
       Feb 17, 2016
    这是 power 的问题吧,和 sampling error 有关系吗?
    cqcn1991
        3
    cqcn1991  
    OP
       Feb 20, 2016
    @mortaleye 就是数据本身存在偏差
    mortaleye
        4
    mortaleye  
       Feb 20, 2016
    @cqcn1991 我看他的意思是说,就算数据没问题,只要 sample size 足够大, null hypothesis is always rejected.
    cqcn1991
        5
    cqcn1991  
    OP
       Feb 20, 2016 via iPhone
    @mortaleye …我什么都不懂我是来求助的…
    mortaleye
        6
    mortaleye  
       Feb 20, 2016
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3592 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 04:49 · PVG 12:49 · LAX 21:49 · JFK 00:49
    ♥ Do have faith in what you're doing.