Skip to content

Remove scipy dependency #78

Open
@juleswg23

Description

@juleswg23

It is only used in _compute_mean_and_conf_int() when the user passes lists of data for us to compute the CI for them. We can do this manually.

def _compute_mean_and_conf_int(val):
if val is None or not isinstance(val, list) or len(val) == 0:
return (None, None, None)
mean = tmean(val)
conf_int = t.interval(
ci,
len(val) - 1,
loc=mean,
scale=sem(val),
)
return (mean, conf_int[0], conf_int[1])

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions