Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Clarification on scale_test_by on bootstrap_ab #32

@CooperData

Description

@CooperData

I noticed one of the parameters in bootstrap_ab is scale_test_by. The docstring reads:

scale_test_by: The ratio between test and control population
sizes. Use this if your test and control split is different from a
50/50 split. Defaults to 1.0.

However, looking at the implementation, it's using this ratio to multiply the whole dist. Is this value only needed when using stat_functions.sum? It's not clear to me why I would scale the values on my test sample when I am testing the mean on both samples.

test_ctrl_dist = compare_func(test_dist * scale_test_by, ctrl_dist)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions