Skip to main content

A Python package for generating response variables with linear regression structure.

Project description

PYTHON REGLIN

A Python package for generating response variables with linear regression structure.

Installation

pip install pyreglin

Usage

import pandas as pd
from pyreglin import rlm

# Create sample data
data = pd.DataFrame({
    'x': range(100),
    'group': ['A', 'B'] * 50
})

# Generate response variable
y = rlm(
    formula='x + group',
    beta=[1, 2, 3],
    sigma=1.0,
    data=data
)

Features

  • Generate response variables using linear regression structure
  • Support for complex formulas using patsy syntax
  • Support for categorical variables with custom contrasts

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyreglin-0.1.3.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyreglin-0.1.3-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file pyreglin-0.1.3.tar.gz.

File metadata

  • Download URL: pyreglin-0.1.3.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for pyreglin-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8bd7665fe349eb64f6099904890999dcc6f37b9ba9a6f1f07ff5b29e2319de43
MD5 21d714b1498b1020f5cb17be95853664
BLAKE2b-256 01a1950af17e1c71d3b035fbe0976b8808ce1a177340131e7bdbe2ddf63e453f

See more details on using hashes here.

File details

Details for the file pyreglin-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pyreglin-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for pyreglin-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 938115aaf9fdb04441aad46a84bd31d51f56de35e73a8796ce39c7a47fda6e73
MD5 b154e1d7e41cbf3fa02db1aa07d0da58
BLAKE2b-256 c53194f92024077f2517a538ca5ab8e55846e3d1133f86114c3a7698237e09e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page