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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyreglin-0.1.2.tar.gz
  • Upload date:
  • Size: 7.1 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.2.tar.gz
Algorithm Hash digest
SHA256 7e3b921b0de755e198cff6d39cf0a787eba4e5f0fbb3670c7f628b036143f398
MD5 98ce9eb73d51fd7107ecb148fd737f85
BLAKE2b-256 cab96587359fd83b635494f084d40a8e7e6cceec986cc94013bab1d9105b8c3e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyreglin-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6fb62b5cd88dc21d942010b9e574594d743ecc3af48a7d86f2f10ce0080dd78f
MD5 b38008f4718218562986897b024b235e
BLAKE2b-256 9f036151fe4815f3bafc11783b2d4168d079d295f6b989b36b81c38f380c4b54

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