Skip to content

RLM cov_params, t_test, f_test don't use bcov_scaled #1164

Closed

Description

@josef-pkt

RLMResults does not have bse = sqrt(diag(cov_params))

generic results based on cov_params (e.g. t_test) are not the same as those by the specific methods.
generic tvalues uses bse which is correctly based on bcov_scaled

cov_params should return the default covariance which is bcov_scaled

found while testing that t_test(eye(..)) returns the same as tvalues, pvalues across models (after adjusting for normal/t distribution.

Activity

  1. josef-pkt commented on Oct 30, 2013

    @josef-pkt
    MemberAuthor

    In my robustcov branch I can just set it in __init__ with

    self.cov_params_default = self.bcov_scaled

    see #1158

  2. josef-pkt commented on Nov 17, 2013

    @josef-pkt
    MemberAuthor

    Note: the above commit 6117549 broke bcov_unscaled, (and RLM tests were failing)
    fixed in 87684b7 by replacing with normalized_cov_params

    Currently there is no cov option unscaled, the only available options are H1, H2, H3

    Should there be a "non-robust" option?

  3. josef-pkt commented on Sep 20, 2014

    @josef-pkt
    MemberAuthor

    Looks like this is fixed in master with the two commits.

    missing unit tests for this?

  4. jseabold commented on Sep 26, 2014

    @jseabold
    Member

    Closing. Create a separate issue to add tests, if desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions