Skip to content

Can "fit!" accept a Weight variable per Observation? #164

@evveric

Description

@evveric

Let's say I have a "Mean()" object.

I can fit!(o, 1), but If I want to say, this observation has weight = 150%, or only 10%, --> this is not doable right?

FYI, right now I force my program to only have "Integer Custom weight per Observation"

If I see this 1 variable has weight = 200%, I will call fit!(o, 1) Two times,
then by definition, it will double the weight of 1 in the final Mean.

But this is a dirty solution. Is there a generic way to add the "Weight" per observation to all fit! function?

Thank you.

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