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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyreglin-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 a4bc4c49a576c5aa56213281507b56f56425cbcb2af4d58223fc5f99193f4769
MD5 c0a0a9297e0795d3e243d02de9050a12
BLAKE2b-256 0c812e8756bf99bbe145eb6003a85ea4099969e40311dd4602860352bcf55a0d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyreglin-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cee72538b40546278ce10cd8aa4de990c0ebe28d75e4a49e8d9607c4df370af
MD5 fb6f21c2ab757b7ec8b35c1e7ace242d
BLAKE2b-256 923e5125e4636e3d6af4e8824fc2f86cae1f15634a156cce0e3dd69db36cf347

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