Skip to content

Inferring paired/unpaired t-test from formula #5

@EitanHemed

Description

@EitanHemed

Issue
When fitting a two-samples t-test using the formula interface, it is required to also provide the paired kwarg, although it should be inferred from the formula.

How to reproduce

import robusta as rst
m = rst.groupwise.groupwise_models.T2SamplesModel(data=rst.load_dataset('sleep'), formula='extra~group|ID')
m.fit()

Output
NotImplementedError: Conversion 'py2rpy' not defined for objects of type '<class 'NoneType'>'

Expected Output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions