Animals : an open access journal from MDPI

The mLOS Open-Source Software for Analyzing Length of Stay in Animal Shelters.

Michael Loizos Mavrovouniotis

Social Compassion in Legislation, P.O. Box 1125, Laguna Beach, CA 92652-1125, USA.

Key points

From the paper's conclusion
  • Its assessment by calendar period must account for animals whose stay overlaps with period boundaries. mLOS is an open-source R tool that uses animal-level intake and outcome records to analyze LOS distributions and competing outcomes using survival-analysis methods.

Abstract

Length of stay (LOS) is critical in shelter management and animal welfare. Its assessment by calendar period must account for animals whose stay overlaps with period boundaries. mLOS is an open-source R tool that uses animal-level intake and outcome records to analyze LOS distributions and competing outcomes using survival-analysis methods. A companion Python package, ShelterDataPrep, prepares raw data extracts for analysis. The factors used are calendar period, intake type, and a user-defined animal group. The counting-process formulations left-truncate stays in progress at the beginning of a period and right-censor stays ongoing at period end. Kaplan-Meier estimates the stay distribution, Aalen-Johansen gives cumulative incidence by outcome type, and Cox and Weibull regressions compute the effect of each factor adjusted for others. A run computes in-care stay curves, remaining stay curves, competing outcomes, outcome conditional on tenure, and population-load figures including census. Each is produced for the unified sample and separately by factor. Pooled and per-factor Cox regressions produce hazard ratios while corresponding Weibull regressions produce LOS ratios. Validation includes hand-derived exact tests and simulation fixtures that recover known behavior. The outputs comprise plots, companion CSVs, a JSON with complete results, a consolidated workbook, and an experimental slide deck.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers