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-1.0.0.tar.gz
(13.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pyreglin-1.0.0-py3-none-any.whl
(15.8 kB
view details)
File details
Details for the file pyreglin-1.0.0.tar.gz.
File metadata
- Download URL: pyreglin-1.0.0.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95c6d2a9c038b95302d241e5ab4c25bc738849f5372f65e57ca95abc797ef8eb
|
|
| MD5 |
5cf3a6b6ce7521a3aec8c06ae51ff37f
|
|
| BLAKE2b-256 |
466abda67098ff26fa0b71259f938ff54d5edbdd90e8dccb04904fd8315b402a
|
File details
Details for the file pyreglin-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pyreglin-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c8de87a2199324ee71ce7b3ac45149392699ca6fc928184173943c56497205d
|
|
| MD5 |
3986e3da916379d58aca66078a516fcd
|
|
| BLAKE2b-256 |
1bc01c2801d8dadde03ca21b8a2889c30adc7fb370c3aa87f4ca15765ad784b7
|