Surrogate residuals for logistic regression
Project description
pysure
Surrogate residuals for cumulative link and general regression models in Python
Calculates surrogate residuals for a statsmodels.miscmodels.ordinal_model.OrderedModel using the method described in Dungang and Zhang (2017) and implemented for R on CRAN.
Usage:
model = OrderedModel.from_formula("y ~ 1 + log_x", test_data, distr='logit')
results = modf_logit.fit(method='bfgs')
get_sur_resid(model, results)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysure-0.1.1.tar.gz
(2.7 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
File details
Details for the file pysure-0.1.1.tar.gz.
File metadata
- Download URL: pysure-0.1.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b362d2f99d645414bc6c1f6cccd1d064e668b03ef160809e95d2a6400bd49f59
|
|
| MD5 |
9c4666d5bf2d9480b0234e27be3e9e26
|
|
| BLAKE2b-256 |
1c0d5e7793d09aded7e57e66ca8a2ab80131780445167c466d05931c4a140bd9
|
File details
Details for the file pysure-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pysure-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6921154929a0cc2edd6d46202028a4a9f055a390d5a2f3d9cb988ccd6cc3894d
|
|
| MD5 |
68e66636f31fe1eb8f1829fe11a86305
|
|
| BLAKE2b-256 |
09c0bbb7d1ec395d2a758b811fb7ca84b8632395bdabc7838b12b650db9bd86c
|