Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statistical measures like mean, median and other higher order measures for different distribution #60

Closed
Qazalbash opened this issue Jan 16, 2024 · 0 comments
Labels
contributions welcome The Jaxampler team has not prioritized work on this. Community contributions are welcome enhancement New feature or request good first issue Good for newcomers

Comments

@Qazalbash
Copy link
Owner

Description

Statistical measures are very crucial for understanding distribution and its behavior. For a distribution or random variable XYZ we can define them as a property of the class.

Code

class XYZ(JObj):
    # __init__, xxf_x methods

    @property
    def mean(self):
        pass

    @property
    def std(self):
        pass

    @property
    def var(self):
        pass

    @property
    def median(self):
        pass

    @property
    def mode(self):
        pass

    @property
    def skewness(self):
        pass

    @property
    def kurtosis(self):
        pass

    @property
    def entropy(self):
        pass

Output

rv = XYZ(...)
print(f"mean of {rv} is {rv.mean}")
...
@Qazalbash Qazalbash added enhancement New feature or request good first issue Good for newcomers contributions welcome The Jaxampler team has not prioritized work on this. Community contributions are welcome labels Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributions welcome The Jaxampler team has not prioritized work on this. Community contributions are welcome enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant