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.1.tar.gz (7.4 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.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyreglin-0.1.1.tar.gz
  • Upload date:
  • Size: 7.4 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.1.tar.gz
Algorithm Hash digest
SHA256 8442c6e413da64d1f44997f29393206c337bd422f9dca765b02cca19757bced2
MD5 9e6190865c9731af20c20eef0dbb6260
BLAKE2b-256 c6d62d6667f16fc2f49fdd69794553b364a744a15a8c95ecb55026fac174817a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyreglin-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d7b18580a26c72bb1b8b0c671a56eab2f0a5a2e929acf6c16f80eec9925a8927
MD5 776645ff4fdaf026ae8a625564e18472
BLAKE2b-256 658e1c2e803847262ae2bd8736e54e232e8ffa71d453d37d798aec122324b3d4

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