Logo image
Accreditation of new technologies for predicting intramuscular fat percentage: Combining Bayesian models and industry rules for transparent decisions
Dataset   Open access

Accreditation of new technologies for predicting intramuscular fat percentage: Combining Bayesian models and industry rules for transparent decisions

Graham Gardner and C. Alston-Knox
Murdoch University. Food Futures Institute
2024
DOI:
https://doi.org/10.60867/00000024
r
file1_simulate_data.r1.81 kBDownloadView
Open Access
r
file2_simulate_rules.r3.30 kBDownloadView
Open Access
r
file3_simulate_bayesian.r10.53 kBDownloadView
Open Access

Abstract

These R scripts provide the code to reproduce the data and model outputs. file1_simulate_data.r - provides the script to simulate 1000 test sets with sample size ranging from 5 to 200. In addition, these simulations are extended to provide data on 5 hypothetical devices with a range of standard deviations from the simulated ‘true’ value of {0.80, 0.95, 1.05 , 1.10 and 1.20}. file2_simulate_rules.r - requires the data from file1_simulate_data.r. This script uses the simulated data to assess the pass/fail rate of the 5 devices using the rules based approach. The final dataframe provides the data required to plot figure 5. file3_simulate_bayesian.r - requires the data from file1_simulate_data.r. This script uses the simulated data to assess the pass/fail rate of the 5 devices using the Bayesian regression approach. The final dataframe provides the data required to plot figure 7.

Details

Metrics

6 File views/ downloads
58 Record Views
Logo image