Trending

World technology news

→
An environmental test chamber illustrating a temperature-controlled experiment.
CRANIn-depth report

bayesTLS 1.3.0 releases R software for censored proportions in thermal sensitivity models

The CRAN release lets analysts explicitly represent proportions for which an instrument reports a limit instead of an exact reading.

·CRAN
Reading progress0%

A new distribution of the thermal sensitivity package

The bayesTLS package reached version 1.3.0 on CRAN on November 29 at 00:00:02 UTC, or 03:00:02 in Istanbul, according to its source archive. CRANberries independently compares the source tree with the previous CRAN version, 1.0.0. The current release can represent continuous proportions whose exact value is unknown because a device reports outside its resolution range. The package is used for models of thermal load sensitivity. The release record describes the CRAN distribution, so the comparison should name that channel alongside the version numbers.

A limit does not establish the underlying value

A device may record a threshold whenever the exact proportion lies below what it can resolve. Several different values can then appear to be identical in the data file. Treating each threshold entry as an exact observation would make the model use more information than the device supplied. A left-censored record instead contributes the probability that the observation lies on the lower side of a limit. An upper-censored reading contributes on the other side. Keep the recorded value and the reason for identifying a limit together when preparing data.

How the flag reaches the model

The package adds a detection_limit argument to standardize_data. It accepts a lower limit, lower and upper limits, or column names for limits that vary by row. A separate censored field records which values cross those boundaries. The notes explain that participating model functions pass the censoring information to brms for the continuous proportion analysis. The software uses the supplied data and cannot infer whether a zero is structural or caused by the limits of an instrument. Confirm that distinction from the collection record before fitting.

Compare fits prepared under the same rule

The release notes distinguish between fitting censored observations and replacing uncertain values with a fixed threshold. Fit scores from those choices should not be treated as scores for the same information. Record how many observations fall on each side of the threshold and verify the counts against the measurement file. A plot can retain the value the instrument reported while the model uses the associated limit and flag. The independent source comparison lists changes in standardization, diagnostic and fitting files alongside additions to the model code.

Tests for an upgrade

Start with a small dataset containing only values inside the instrument range. Add an example with one reading below the lower limit and one above the upper limit. Then use rows with different limits and check each resulting flag. Record the package version, thresholds, original reading and model input. If multiple devices report on different scales, check their units and conventions before combining observations. A previous analysis with a different data policy can remain reproducible in a separate environment so a report change can be traced to the input, the model or the software release.

Other files in the release comparison

The source comparison also lists new files for lognormal and Weibull fitting and changes to forecasting, diagnostics and tests. Those changes do not establish how any one model will perform on a particular dataset. The package publication and the independently produced file comparison provide a record of what was distributed. An analyst can use the actual study design and measurement process to choose what to verify.

Photo · Cjp24 / Wikimedia Commons ↗ · CC BY-SA 3.0

Sources and verification
Be the first reader ✎ Write a comment

Reader discussion

Discussion prompt

What would you change first for maintainability and testing in your own project?

No comments yet. Be the first to contribute.

Write a comment

Comments are real visitor contributions. Repeated, link-heavy or abusive submissions may be limited.