Skip to main content

Package to compute survival scale estimates.

Project description

Estimate Likert-based Items with Survival Scale

This estimator is used with survey data measured using Likert scales as the dependent variable. It envisions the Likert scale as a series of trials where each trial has a probability of success characterized by a set of features on a logit scale. This approach allows the bottom and top box of the Likert scale to have different probabilities of success (censoring) than the middle boxes. This model is capturing the idea that very unhappy and very happy respondents represent a much more extreme position than those in the middle of the scale.

This estimator is a expansion of the estimators described in the following papers:

Smith, B. O., & Wooten, J. J. (2023). Assessing proxies of knowledge and difficulty with rubric-based instruments. Southern Economic Journal, 90(2), 510–534. https://doi.org/10.1002/soej.12658

Smith, B. O., & Wooten, J. J., (2024 - Working Paper). Are Students Sexist when Rating Each Other? Bias in Peer Ratings and a Generalization of the Rubric-Based Estimator. Available at SSRN: https://dx.doi.org/10.2139/ssrn.4858815

These papers focus on the use of this estimator in educational settings. This paper and software allow the bottom box to have different probabilities of success than the middle boxes thus making it more suitable for Likert scale data. This estimator and an application is described in a upcoming paper:

Smith, B. O., Klucarova, S., & Wooten, J. J., (2025 - Working Paper) What Advertising Techniques Increase Stated Preference for Microtransit: An Application of a New Estimation Technique.

This new estimator is not a replacement for ordered logit or probit models. It is a different way of looking at the data that may be more suitable in some settings.

Example

from SurvivalScale import get_results
# data is a pandas DataFrame containing your survey data
cj, beta, metrics = get_results(data, bootstrap_iterations=1000, alpha=0.05, columns=['feature1', 'feature2'], block_id='block')

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

survivalscale-0.0.8.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

survivalscale-0.0.8-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file survivalscale-0.0.8.tar.gz.

File metadata

  • Download URL: survivalscale-0.0.8.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for survivalscale-0.0.8.tar.gz
Algorithm Hash digest
SHA256 0093f0a7cb83de8815a9ceaecdb4e98080f186f5bb10e5dbc0fa14affc36329d
MD5 8a4ee4f8dd48ad47b1e99932a3c2adf1
BLAKE2b-256 116827f2a416f7463e4a3cbc47eb971919f51eda736b57a02e432058db9ac1c9

See more details on using hashes here.

File details

Details for the file survivalscale-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: survivalscale-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for survivalscale-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4f894163f18ab67324956d0eec72e7ec31a8c12789bd2141abad8236a147503b
MD5 e12922c91794c1ebee2a982493e06a67
BLAKE2b-256 e3b1c4f126ebeeefd1491eb33832d9dbd93e41d723abad49b90346b0ccac2e4e

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