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. Available on SSRN: https://papers.ssrn.com/abstract=5759902

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')

Installation

You can install the package from either PyPI or the Conda repository:

pip install SurvivalScale

or

conda install -c tazzben survivalscale

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: survivalscale-0.0.10.tar.gz
  • Upload date:
  • Size: 12.7 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.10.tar.gz
Algorithm Hash digest
SHA256 8d6d20da84357ec1d67d56db08ceaf95387f7224ad115326029494fc0c720599
MD5 5a5bda9f9dd24870a483bb34e682f717
BLAKE2b-256 43cb8429c6017d63379e7924b1436c5db9cb687429f95c11145ede2fb12d39bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: survivalscale-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 10.2 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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 27470a453e6d817049337a2ecce092e0fb8d7550236d0a60a8329ccb80dd1f49
MD5 80821fdc5ac33fd9447d3eb219fe2b78
BLAKE2b-256 57ad93d8266cb78e51e81879e70823e6e3769a0312ba5773340f7cc90a80d271

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