diff --git a/bmds_ui/analysis/executor.py b/bmds_ui/analysis/executor.py index e31f03e2..edff5d8a 100644 --- a/bmds_ui/analysis/executor.py +++ b/bmds_ui/analysis/executor.py @@ -4,7 +4,6 @@ import pybmds from pybmds.constants import DistType, ModelClass -from pybmds.models.multi_tumor import Multitumor from pybmds.session import Session from pybmds.types.nested_dichotomous import IntralitterCorrelation, LitterSpecificCovariate @@ -179,7 +178,7 @@ class MultiTumorSession(NamedTuple): """ option_index: int - session: Multitumor | None + session: pybmds.Multitumor | None @classmethod def run(cls, inputs: dict, option_index: int) -> AnalysisSessionSchema: @@ -202,7 +201,7 @@ def create(cls, inputs: dict, option_index: int) -> Self: model_settings = build_model_settings( dataset_type, PriorEnum.frequentist_restricted, options, {} ) - session = Multitumor(datasets, degrees=degrees, settings=model_settings) + session = pybmds.Multitumor(datasets, degrees=degrees, settings=model_settings) return cls(option_index=option_index, session=session) def execute(self): @@ -213,7 +212,7 @@ def deserialize(cls, data: dict) -> Self: obj = AnalysisSessionSchema.model_validate(data) return cls( option_index=obj.option_index, - session=Multitumor.from_serialized(obj.frequentist), + session=pybmds.Multitumor.from_serialized(obj.frequentist), ) def to_schema(self) -> AnalysisSessionSchema: diff --git a/bmds_ui/desktop/actions.py b/bmds_ui/desktop/actions.py index 2d58617b..0eb4657a 100644 --- a/bmds_ui/desktop/actions.py +++ b/bmds_ui/desktop/actions.py @@ -203,8 +203,8 @@ def create_shortcut(no_input: bool = False): shortcut.write_text(script) console = Console() - console.print("BMDS Desktop Manger Created:", style="magenta") - console.print("----------------------------", style="magenta") + console.print("BMDS Desktop Manager Created:", style="magenta") + console.print("-----------------------------", style="magenta") console.print(shortcut, style="cyan") console.print("\nOpening this file will start BMDS Desktop.") console.print("You can move this file or create a shortcut to it.\n") diff --git a/bmds_ui/desktop/components/database_form.py b/bmds_ui/desktop/components/database_form.py index 9e5e75b2..c7194e18 100644 --- a/bmds_ui/desktop/components/database_form.py +++ b/bmds_ui/desktop/components/database_form.py @@ -73,6 +73,18 @@ def additional_path_checks(path: Path): raise ValueError(f"Cannot edit database {path}. Is this a sqlite database?") from None +def check_duplicates(dbs: list[Database], db: Database): + duplicate = next((el for el in dbs if el.id != db.id and el.path == db.path), None) + if duplicate: + raise ValueError( + f"An existing project ({duplicate.name}) already exists with this filename: {db.path}" + ) + + duplicate = next((el for el in dbs if el.id != db.id and el.name == db.name), None) + if duplicate: + raise ValueError(f"An existing project already exists with this name: {db.name}") + + class NullWidget(Widget): DEFAULT_CSS = """ NullWidget { @@ -190,12 +202,19 @@ def compose(self) -> ComposeResult: ) def db_valid(self) -> Database: - db = Database( + kw = dict( name=self.query_one("#name").value, description=self.query_one("#description").value, path=Path(self.query_one("#path").value) / self.query_one("#filename").value, ) + if self.db is None: + db = Database(**kw) + else: + db = self.db.model_copy() + for key, value in kw.items(): + setattr(db, key, value) additional_path_checks(db.path) + check_duplicates(Config.get().databases, db) return db @on(Button.Pressed, "#db-create") diff --git a/docs/development.md b/docs/development.md index 3c3be36b..f98fab38 100644 --- a/docs/development.md +++ b/docs/development.md @@ -3,10 +3,10 @@ Make sure you have the following applications installed locally: - [Git](https://git-scm.com/) -- [Python](https://www.python.org/) == 3.11 -- [Node.js](https://nodejs.org) == 18 +- [Python](https://www.python.org/) ≥ 3.12 +- [Node.js](https://nodejs.org) ≥ 20 - [Yarn](https://yarnpkg.com/) -- [PostgreSQL](https://www.postgresql.org/) >= 16 +- [PostgreSQL](https://www.postgresql.org/) ≥ 16 If installing on Windows, these packages are available using [miniconda](https://docs.conda.io/en/latest/miniconda.html). diff --git a/frontend/src/components/Data/SelectModelType.js b/frontend/src/components/Data/SelectModelType.js index be92bf46..f84c0d31 100644 --- a/frontend/src/components/Data/SelectModelType.js +++ b/frontend/src/components/Data/SelectModelType.js @@ -20,9 +20,9 @@ class SelectModelType extends Component { text="New" onClick={dataStore.addDataset} /> - {" "} + dataStore.setModelType(value)} value={dataStore.model_type} choices={dataStore.getFilteredDatasetTypes.map(item => { diff --git a/frontend/src/components/IndividualModel/Summary.js b/frontend/src/components/IndividualModel/Summary.js index 7aa06ab7..2e498af8 100644 --- a/frontend/src/components/IndividualModel/Summary.js +++ b/frontend/src/components/IndividualModel/Summary.js @@ -51,7 +51,7 @@ class Summary extends Component { } } - return ; + return ; } } Summary.propTypes = { diff --git a/scripts/bmds-online-api.ipynb b/scripts/bmds-online-api.ipynb deleted file mode 100644 index b52553b0..00000000 --- a/scripts/bmds-online-api.ipynb +++ /dev/null @@ -1,400 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# BMDS Online API\n", - "\n", - "A work in progress to demonstrate how to use the BMDS Online API." - ] - }, - { - "cell_type": "code", - "execution_count": 1, - "metadata": {}, - "outputs": [], - "source": [ - "import json\n", - "import time\n", - "from pathlib import Path\n", - "\n", - "import requests" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "metadata": {}, - "outputs": [], - "source": [ - "payload = \"\"\"{\"editKey\":\"gs2bhkbqu4q0\",\"partial\":true,\"data\":{\"analysis_name\":\"demo\",\"analysis_description\":\"test\",\"dataset_type\":\"D\",\"models\":{\"frequentist_restricted\":[\"Dichotomous-Hill\",\"Gamma\",\"LogLogistic\",\"LogProbit\",\"Weibull\"]},\"datasets\":[{\"ns\":[9,9,11,10,7],\"doses\":[0,0.46,1.39,4.17,12.5],\"enabled\":true,\"dataset_id\":0,\"incidences\":[0,0,3,2,3],\"model_type\":\"DM\",\"column_names\":{\"ns\":\"N\",\"doses\":\"Dose\",\"incidences\":\"Incidence\"},\"dataset_name\":\"Dataset #1\"}],\"options\":[{\"bmr_type\":\"Extra\",\"bmr_value\":0.1,\"background\":\"Estimated\",\"confidence_level\":0.95}],\"logic\":{\"rules\":{\"gof\":{\"threshold\":0.1,\"failure_bin\":0,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true},\"dof_zero\":{\"threshold\":\"\",\"failure_bin\":0,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true},\"high_bmd\":{\"threshold\":1,\"failure_bin\":1,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true},\"warnings\":{\"threshold\":\"\",\"failure_bin\":1,\"enabled_nested\":false,\"enabled_continuous\":false,\"enabled_dichotomous\":false},\"high_bmdl\":{\"threshold\":1,\"failure_bin\":1,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true},\"roi_large\":{\"threshold\":2,\"failure_bin\":0,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true},\"gof_cancer\":{\"threshold\":0.05,\"failure_bin\":0,\"enabled_nested\":false,\"enabled_continuous\":false,\"enabled_dichotomous\":true},\"aic_missing\":{\"threshold\":\"\",\"failure_bin\":2,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true},\"bmd_missing\":{\"threshold\":\"\",\"failure_bin\":2,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true},\"roi_missing\":{\"threshold\":\"\",\"failure_bin\":2,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true},\"bmdl_missing\":{\"threshold\":\"\",\"failure_bin\":2,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true},\"bmdu_missing\":{\"threshold\":\"\",\"failure_bin\":1,\"enabled_nested\":false,\"enabled_continuous\":false,\"enabled_dichotomous\":false},\"low_bmd_fail\":{\"threshold\":10,\"failure_bin\":0,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true},\"low_bmd_warn\":{\"threshold\":3,\"failure_bin\":1,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true},\"variance_fit\":{\"threshold\":0.05,\"failure_bin\":0,\"enabled_nested\":false,\"enabled_continuous\":true,\"enabled_dichotomous\":false},\"low_bmdl_fail\":{\"threshold\":10,\"failure_bin\":0,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true},\"low_bmdl_warn\":{\"threshold\":3,\"failure_bin\":1,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true},\"variance_type\":{\"threshold\":0.05,\"failure_bin\":1,\"enabled_nested\":false,\"enabled_continuous\":true,\"enabled_dichotomous\":false},\"control_stdev_fit\":{\"threshold\":1.5,\"failure_bin\":1,\"enabled_nested\":false,\"enabled_continuous\":true,\"enabled_dichotomous\":false},\"bmd_bmdl_ratio_fail\":{\"threshold\":20,\"failure_bin\":0,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true},\"bmd_bmdl_ratio_warn\":{\"threshold\":3,\"failure_bin\":1,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true},\"control_residual_high\":{\"threshold\":2,\"failure_bin\":1,\"enabled_nested\":true,\"enabled_continuous\":true,\"enabled_dichotomous\":true}},\"recommend_viable\":true,\"recommend_questionable\":false,\"sufficiently_close_bmdl\":3}}}\"\"\"\n", - "logic = json.loads(payload)['data']['logic']" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "metadata": {}, - "outputs": [], - "source": [ - "data = {\n", - " \"analysis_name\": \"demo\",\n", - " \"analysis_description\": \"test\",\n", - " \"dataset_type\": \"D\",\n", - " \"models\": {\n", - " \"frequentist_unrestricted\": [\n", - " \"Dichotomous-Hill\",\n", - " \"Gamma\",\n", - " \"LogLogistic\",\n", - " \"LogProbit\",\n", - " \"Logistic\",\n", - " \"Probit\",\n", - " \"Weibull\",\n", - " ]\n", - " },\n", - " \"datasets\": [\n", - " {\n", - " \"ns\": [9, 9, 11, 10, 7],\n", - " \"doses\": [0, 0.46, 1.39, 4.17, 12.5],\n", - " \"enabled\": True,\n", - " \"dataset_id\": 0,\n", - " \"incidences\": [0, 0, 3, 2, 3],\n", - " \"model_type\": \"DM\",\n", - " \"column_names\": {\n", - " \"ns\": \"N\",\n", - " \"doses\": \"Dose\",\n", - " \"incidences\": \"Incidence\"\n", - " },\n", - " \"dataset_name\": \"Dataset #1\",\n", - " }\n", - " ],\n", - " \"options\": [\n", - " {\"bmr_type\": \"Extra\", \"bmr_value\": 0.1, \"background\": \"Estimated\", \"confidence_level\": 0.95}\n", - " ],\n", - " \"logic\": logic\n", - "}" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "metadata": {}, - "outputs": [], - "source": [ - "root = \"http://127.0.0.1:5550\"\n", - "create_url = \"/api/v1/job/\"" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "201\n" - ] - } - ], - "source": [ - "resp = requests.post(root + create_url, json=dict(inputs=data))\n", - "print(resp.status_code)\n", - "output = resp.json()" - ] - }, - { - "cell_type": "code", - "execution_count": 6, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Polling...\n" - ] - } - ], - "source": [ - "poll_url = root + output['api_url']\n", - "while output['is_finished'] is False:\n", - " print(\"Polling...\")\n", - " time.sleep(1)\n", - " resp = requests.get(poll_url)\n", - " output = resp.json()\n" - ] - }, - { - "cell_type": "code", - "execution_count": 7, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "{'results': {'aic': 41.50669368126711,\n", - " 'bmd': 0.9447511030013629,\n", - " 'fit': {'cov': [[1964909.0730664653,\n", - " 2.2908012128639843,\n", - " 1.7985458979813416,\n", - " -83.8552592379433],\n", - " [2.2908012130249538,\n", - " 0.2556226264923172,\n", - " -1.009759410085084,\n", - " -1.1009683696920616],\n", - " [1.7985459004171105,\n", - " -1.0097594100850777,\n", - " 24.85841578447824,\n", - " -21.093255211304268],\n", - " [-83.85525924116398,\n", - " -1.1009683696920571,\n", - " -21.093255211304324,\n", - " 131.99131800494922]],\n", - " 'max': 16.753346840633554,\n", - " 'model': {'id': 1, 'params': ['a', 'b', 'c', 'd'], 'verbose': 'Hill'},\n", - " 'params': [-17.999987391264558,\n", - " -0.8564043055751586,\n", - " -0.27239291611321903,\n", - " 7.234503578715854],\n", - " 'bmd_dist': [[0.7288911813952538,\n", - " 0.7354971392376395,\n", - " 0.7422288004574837,\n", - " 0.7491445964995801,\n", - " 0.7562259655003359,\n", - " 0.7634975845152987,\n", - " 0.7709282140764542,\n", - " 0.7784700949637998,\n", - " 0.7861591092594095,\n", - " 0.7940647828450534,\n", - " 0.8021347049384774,\n", - " 0.8102664655046556,\n", - " 0.8184908988066019,\n", - " 0.8268243073394,\n", - " 0.8352766355476002,\n", - " 0.8439030835661998,\n", - " 0.852650071757209,\n", - " 0.8614612942044027,\n", - " 0.8702535099862481,\n", - " 0.8787698923348418,\n", - " 0.8871733900662253,\n", - " 0.8957078237978783,\n", - " 0.9043130920840636,\n", - " 0.9130542853836429,\n", - " 0.921855955566993,\n", - " 0.9299878265352295,\n", - " 0.9374189207649705,\n", - " 0.9447511030013629,\n", - " 0.9523006554929304,\n", - " 0.9598128523233402,\n", - " 0.9670620880212893,\n", - " 0.9740329260788917,\n", - " 0.9809184720749853,\n", - " 0.9879053941521294,\n", - " 0.9949346574431424,\n", - " 1.0017645838607359,\n", - " 1.0082257310596825,\n", - " 1.014416147773569,\n", - " 1.020471522945165,\n", - " 1.026498362113175,\n", - " 1.0324527303658582,\n", - " 1.0382915429776782,\n", - " 1.0439768743621032,\n", - " 1.0494868039253518,\n", - " 1.0548500581718536,\n", - " 1.0601049459417218,\n", - " 1.0652874723821535,\n", - " 1.0703817216017375,\n", - " 1.0753826385651981,\n", - " 1.0803012241845844,\n", - " 1.0851484793719464,\n", - " 1.0898970172862983,\n", - " 1.094541748161996,\n", - " 1.099131268224416,\n", - " 1.103714184405928],\n", - " [0.365,\n", - " 0.37,\n", - " 0.375,\n", - " 0.38,\n", - " 0.385,\n", - " 0.39,\n", - " 0.395,\n", - " 0.4,\n", - " 0.405,\n", - " 0.41,\n", - " 0.415,\n", - " 0.42,\n", - " 0.425,\n", - " 0.43,\n", - " 0.435,\n", - " 0.44,\n", - " 0.445,\n", - " 0.45,\n", - " 0.455,\n", - " 0.46,\n", - " 0.465,\n", - " 0.47,\n", - " 0.475,\n", - " 0.48,\n", - " 0.485,\n", - " 0.49,\n", - " 0.495,\n", - " 0.5,\n", - " 0.505,\n", - " 0.51,\n", - " 0.515,\n", - " 0.52,\n", - " 0.525,\n", - " 0.53,\n", - " 0.535,\n", - " 0.54,\n", - " 0.545,\n", - " 0.55,\n", - " 0.555,\n", - " 0.56,\n", - " 0.565,\n", - " 0.57,\n", - " 0.575,\n", - " 0.58,\n", - " 0.585,\n", - " 0.59,\n", - " 0.595,\n", - " 0.6,\n", - " 0.605,\n", - " 0.61,\n", - " 0.615,\n", - " 0.62,\n", - " 0.625,\n", - " 0.63,\n", - " 0.635]],\n", - " 'model_df': 3.9999999999999782,\n", - " 'total_df': 0.0,\n", - " 'dist_numE': 200,\n", - " 'num_params': 4},\n", - " 'gof': {'df': 1.0000000000000218,\n", - " 'p_value': 0.3922799121202948,\n", - " 'expected': [1.3707154390275478e-07,\n", - " 0.007401528275540834,\n", - " 2.924434609814579,\n", - " 2.980783751678894,\n", - " 2.0866379971131757],\n", - " 'residual': [-0.00037023174351040564,\n", - " -0.08603213513298874,\n", - " 0.044187758489693876,\n", - " -0.568078074124869,\n", - " 0.6322944716390008],\n", - " 'test_statistic': 0.7318632205140916},\n", - " 'bmdl': 0.0,\n", - " 'bmdu': -9999.0,\n", - " 'bounded': [False, False, False, False],\n", - " 'model_name': 'Hill',\n", - " 'model_class': 'Hill'},\n", - " 'settings': {'bmr': 0.1,\n", - " 'alpha': 0.95,\n", - " 'burnin': 20,\n", - " 'degree': 3,\n", - " 'samples': 100,\n", - " 'bmr_type': 2},\n", - " 'has_output': True,\n", - " 'model_name': 'Hill',\n", - " 'model_class': 1,\n", - " 'model_index': 0,\n", - " 'model_version': 'BMDS330',\n", - " 'execution_halted': False}" - ] - }, - "execution_count": 7, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "output['outputs']['outputs'][0]['models'][0]" - ] - }, - { - "cell_type": "code", - "execution_count": 8, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "44082" - ] - }, - "execution_count": 8, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "excel_url = root + output['word_url']\n", - "resp = requests.get(excel_url)\n", - "Path('~/Desktop/demo.docx').write_bytes(resp.content)" - ] - }, - { - "cell_type": "code", - "execution_count": 9, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "6292" - ] - }, - "execution_count": 9, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "word_url = root + output['excel_url']\n", - "resp = requests.get(word_url)\n", - "Path('~/Desktop/demo.xlsx').write_bytes(resp.content)" - ] - }, - { - "cell_type": "code", - "execution_count": 10, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "complete!\n" - ] - } - ], - "source": [ - "print('complete!')" - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.11.9" - } - }, - "nbformat": 4, - "nbformat_minor": 4 -} diff --git a/tests/analysis/test_api.py b/tests/analysis/test_api.py index 0dd7b62b..507c673d 100644 --- a/tests/analysis/test_api.py +++ b/tests/analysis/test_api.py @@ -17,6 +17,15 @@ def check_error(response: dict, type: str, loc: list, msg: str): assert response["msg"] == msg +analyses = [ + "432a6083-f9aa-4de2-a71f-a6488b4c5bf1", # dichotomous + "cfe458aa-2313-44c0-9346-f4931567bef0", # continuous summary + "09c09d22-2e1a-413c-b350-6b19969f6533", # continuous individual + "4459f728-05f7-4057-a27c-174822a0313d", # nested dichotomous + "2f86f324-911d-4194-97d1-fc7c3f5d0c72", # multitumor +] + + @pytest.mark.django_db class TestAnalysisViewSet: def test_auth(self, complete_continuous): @@ -245,16 +254,18 @@ def test_model_selection(self, complete_dichotomous): value = response.data["outputs"]["outputs"][0]["frequentist"]["selected"] assert value == {"model_index": None, "notes": "no notes"} - def test_excel(self): + @pytest.mark.parametrize("pk", analyses) + def test_excel(self, pk): client = APIClient() - analysis = Analysis.objects.get(pk="ded15870-8986-4d5b-b924-ef9036b2e17e") + analysis = Analysis.objects.get(pk=pk) url = reverse("api:analysis-excel", args=(analysis.id,)) resp = client.get(url) assert resp.status_code == 200 - def test_word(self): + @pytest.mark.parametrize("pk", analyses) + def test_word(self, pk): client = APIClient() - analysis = Analysis.objects.get(pk="ded15870-8986-4d5b-b924-ef9036b2e17e") + analysis = Analysis.objects.get(pk=pk) url = reverse("api:analysis-word", args=(analysis.id,)) resp = client.get(url) assert resp.status_code == 200 diff --git a/tests/analysis/test_models.py b/tests/analysis/test_models.py index 5f9276ac..445b907e 100644 --- a/tests/analysis/test_models.py +++ b/tests/analysis/test_models.py @@ -95,7 +95,6 @@ def test_dichotomous(self, complete_dichotomous, data_path, rewrite_data_files): write_excel(df, data_path / "reports/dichotomous.xlsx") (data_path / "reports/dichotomous.docx").write_bytes(docx.getvalue()) - @pytest.mark.xfail def test_nested_dichotomous(self, bmds_complete_nd, data_path, rewrite_data_files): analysis = Analysis.objects.create(inputs=bmds_complete_nd) diff --git a/tests/data/db.yaml b/tests/data/db.yaml index abc1e4a9..dacf9f6a 100644 --- a/tests/data/db.yaml +++ b/tests/data/db.yaml @@ -699,7 +699,7 @@ recommend_questionable: false sufficiently_close_bmdl: 3 dataset_type: C - analysis_name: continuous + analysis_name: continuous summary dataset_options: - degree: 0 enabled: true @@ -1767,7 +1767,6 @@ - model: analysis.analysis pk: ded15870-8986-4d5b-b924-ef9036b2e17e fields: - collections: [] created: 2024-05-14 19:17:13.442351+00:00 deletion_date: 2024-11-10 19:18:13.839491+00:00 ended: 2024-05-14 19:18:13.839482+00:00 @@ -5141,6 +5140,9414 @@ option_index: 0 starred: false started: 2024-05-14 19:18:13.442351+00:00 +- model: analysis.analysis + pk: 432a6083-f9aa-4de2-a71f-a6488b4c5bf1 + fields: + password: up37taqueuwm + inputs: + models: + frequentist_unrestricted: + - Logistic + - Probit + options: + - bmr_type: 1 + bmr_value: 0.1 + confidence_level: 0.95 + datasets: + - ns: + - 20 + - 20 + - 20 + - 20 + - 20 + doses: + - 0 + - 50 + - 100 + - 200 + - 400 + dtype: D + metadata: + id: 0 + name: 'Dataset #1' + dose_name: Dose + dose_units: '' + response_name: Incidence + response_units: '' + incidences: + - 0 + - 1 + - 2 + - 10 + - 19 + recommender: + rules: + - threshold: 0.1 + rule_class: gof + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: dof_zero + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 1 + rule_class: high_bmd + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: warnings + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1 + rule_class: high_bmdl + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2 + rule_class: roi_large + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: gof_cancer + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: null + rule_class: aic_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmd_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: roi_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdl_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdu_missing + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 10 + rule_class: low_bmd_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3 + rule_class: low_bmd_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_fit + failure_bin: 1 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 10 + rule_class: low_bmdl_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3 + rule_class: low_bmdl_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_type + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1.5 + rule_class: control_stdev_fit + failure_bin: 0 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 20 + rule_class: bmd_bmdl_ratio_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3 + rule_class: bmd_bmdl_ratio_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2 + rule_class: control_residual_high + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + enabled: true + recommend_viable: true + recommend_questionable: false + sufficiently_close_bmdl: 3 + dataset_type: D + analysis_name: dichotomous + dataset_options: + - degree: 3 + enabled: true + dataset_id: 0 + outputs: + outputs: + - error: null + bayesian: null + frequentist: + id: null + name: '' + models: + - name: Logistic + results: + bmd: 102.86343217689623 + fit: + aic: 61.897203949777676 + chisq: 0.97883107598887 + bmd_dist: + - - 72.70299512909745 + - 73.7871236124494 + - 74.73646852250444 + - 75.58369807800183 + - 76.3618854269937 + - 77.07242298367221 + - 77.73871027129553 + - 78.35984714154947 + - 78.94455461082377 + - 79.50255510154038 + - 80.02880290652963 + - 80.53175058031708 + - 81.0175442815325 + - 81.48136809428225 + - 81.92723333809249 + - 82.36025812553645 + - 82.78020825188206 + - 83.18509722989099 + - 83.57782023220491 + - 83.96127334522635 + - 84.33619195440025 + - 84.70001514979475 + - 85.05433990616298 + - 85.40093766007504 + - 85.7415798481011 + - 86.07577876521417 + - 86.40204981972214 + - 86.7215141482449 + - 87.0353019770924 + - 87.34454353257453 + - 87.65002401229481 + - 87.95016434911442 + - 88.24508389164329 + - 88.53538147030731 + - 88.82165591553233 + - 89.10450605774419 + - 89.3844174009391 + - 89.66026387217308 + - 89.93198715820353 + - 90.20008997494125 + - 90.46507503829712 + - 90.7274450641819 + - 90.98770276850645 + - 91.24613445622576 + - 91.50178055441435 + - 91.75467095198997 + - 92.00506674748 + - 92.25322903941189 + - 92.49941892631303 + - 92.74389750671084 + - 92.98692543350718 + - 93.22810945833014 + - 93.46709036670144 + - 93.70408304621643 + - 93.93930238447042 + - 94.17296326905877 + - 94.40528058757678 + - 94.63646922761984 + - 94.86674407678322 + - 95.09584610455111 + - 95.3233808934318 + - 95.54950387509824 + - 95.77437170384017 + - 95.99814103394738 + - 96.22096851970964 + - 96.4430108154167 + - 96.66442457535834 + - 96.88531721336145 + - 97.10516589981508 + - 97.32391660716084 + - 97.54173399699133 + - 97.75878273089909 + - 97.97522747047675 + - 98.1912328773169 + - 98.40696361301214 + - 98.62258433915504 + - 98.83825076629981 + - 99.05383261985754 + - 99.26919338671276 + - 99.48428300438444 + - 99.6990514103916 + - 99.9134485422532 + - 100.12742433748825 + - 100.34092873361571 + - 100.55391166815457 + - 100.76632307862386 + - 100.97793891181874 + - 101.18851956892365 + - 101.39828681405423 + - 101.60747338747488 + - 101.81631202945003 + - 102.025035480244 + - 102.23387648012121 + - 102.44306776934606 + - 102.65284208818295 + - 102.86343217689623 + - 103.0745340597567 + - 103.28574264496386 + - 103.49713899867503 + - 103.70880418704758 + - 103.92081927623882 + - 104.13326533240614 + - 104.3462234217069 + - 104.55977461029842 + - 104.77399996433805 + - 104.98895195060751 + - 105.2043086024481 + - 105.42003226107583 + - 105.63621894125019 + - 105.85296465773071 + - 106.07036542527692 + - 106.28851725864834 + - 106.5075161726045 + - 106.7274581819049 + - 106.94843930130907 + - 107.17038695500302 + - 107.39289458838445 + - 107.61605988142571 + - 107.84001809255608 + - 108.06490448020485 + - 108.29085430280139 + - 108.51800281877499 + - 108.746485286555 + - 108.97643696457067 + - 109.20797163893539 + - 109.44058124789728 + - 109.67413599919291 + - 109.90881931046512 + - 110.14481459935675 + - 110.38230528351065 + - 110.6214747805697 + - 110.86250650817672 + - 111.10558388397462 + - 111.35088954952946 + - 111.59788008745835 + - 111.8461729139222 + - 112.0960563579698 + - 112.34781874864986 + - 112.60174841501112 + - 112.85813368610236 + - 113.11726289097228 + - 113.37942435866968 + - 113.6448294300182 + - 113.91244233575807 + - 114.18215911739485 + - 114.45438196077087 + - 114.72951305172859 + - 115.00795457611035 + - 115.29010871975859 + - 115.57637766851572 + - 115.8671522865278 + - 116.16124927814792 + - 116.45814792845724 + - 116.75853774935128 + - 117.06310825272573 + - 117.37254895047616 + - 117.68754935449819 + - 118.00879897668743 + - 118.3363452708836 + - 118.66782317133504 + - 119.00395243432187 + - 119.34592357897613 + - 119.69492712442987 + - 120.05215358981509 + - 120.41879349426385 + - 120.79426637601567 + - 121.17552522473115 + - 121.56440976392075 + - 121.96302234918772 + - 122.3734653361352 + - 122.79784108036642 + - 123.23562747811485 + - 123.68209048950807 + - 124.14079190571941 + - 124.6158410107896 + - 125.11134708875946 + - 125.62942837096543 + - 126.16151567939242 + - 126.71303548549278 + - 127.29241562376363 + - 127.90807933603661 + - 128.55218217593506 + - 129.22454249359484 + - 129.94340785134793 + - 130.72353010059666 + - 131.54556240658434 + - 132.43675767060816 + - 133.43225724832212 + - 134.50807692414014 + - 135.74264570313267 + - 137.2221908316083 + - - 0.025 + - 0.03 + - 0.035 + - 0.04 + - 0.045 + - 0.05 + - 0.055 + - 0.06 + - 0.065 + - 0.07 + - 0.075 + - 0.08 + - 0.085 + - 0.09 + - 0.095 + - 0.1 + - 0.105 + - 0.11 + - 0.115 + - 0.12 + - 0.125 + - 0.13 + - 0.135 + - 0.14 + - 0.145 + - 0.15 + - 0.155 + - 0.16 + - 0.165 + - 0.17 + - 0.175 + - 0.18 + - 0.185 + - 0.19 + - 0.195 + - 0.2 + - 0.205 + - 0.21 + - 0.215 + - 0.22 + - 0.225 + - 0.23 + - 0.235 + - 0.24 + - 0.245 + - 0.25 + - 0.255 + - 0.26 + - 0.265 + - 0.27 + - 0.275 + - 0.28 + - 0.285 + - 0.29 + - 0.295 + - 0.3 + - 0.305 + - 0.31 + - 0.315 + - 0.32 + - 0.325 + - 0.33 + - 0.335 + - 0.34 + - 0.345 + - 0.35 + - 0.355 + - 0.36 + - 0.365 + - 0.37 + - 0.375 + - 0.38 + - 0.385 + - 0.39 + - 0.395 + - 0.4 + - 0.405 + - 0.41 + - 0.415 + - 0.42 + - 0.425 + - 0.43 + - 0.435 + - 0.44 + - 0.445 + - 0.45 + - 0.455 + - 0.46 + - 0.465 + - 0.47 + - 0.475 + - 0.48 + - 0.485 + - 0.49 + - 0.495 + - 0.5 + - 0.505 + - 0.51 + - 0.515 + - 0.52 + - 0.525 + - 0.53 + - 0.535 + - 0.54 + - 0.545 + - 0.55 + - 0.555 + - 0.56 + - 0.565 + - 0.57 + - 0.575 + - 0.58 + - 0.585 + - 0.59 + - 0.595 + - 0.6 + - 0.605 + - 0.61 + - 0.615 + - 0.62 + - 0.625 + - 0.63 + - 0.635 + - 0.64 + - 0.645 + - 0.65 + - 0.655 + - 0.66 + - 0.665 + - 0.67 + - 0.675 + - 0.68 + - 0.685 + - 0.69 + - 0.695 + - 0.7 + - 0.705 + - 0.71 + - 0.715 + - 0.72 + - 0.725 + - 0.73 + - 0.735 + - 0.74 + - 0.745 + - 0.75 + - 0.755 + - 0.76 + - 0.765 + - 0.77 + - 0.775 + - 0.78 + - 0.785 + - 0.79 + - 0.795 + - 0.8 + - 0.805 + - 0.81 + - 0.815 + - 0.82 + - 0.825 + - 0.83 + - 0.835 + - 0.84 + - 0.845 + - 0.85 + - 0.855 + - 0.86 + - 0.865 + - 0.87 + - 0.875 + - 0.88 + - 0.885 + - 0.89 + - 0.895 + - 0.9 + - 0.905 + - 0.91 + - 0.915 + - 0.92 + - 0.925 + - 0.93 + - 0.935 + - 0.94 + - 0.945 + - 0.95 + - 0.955 + - 0.96 + - 0.965 + - 0.97 + - 0.975 + model_df: 2.0 + total_df: 0.0 + bic_equiv: -24.153070876789652 + loglikelihood: -28.948601974888838 + gof: + df: 3.0 + roi: -0.16379073945264083 + p_value: 0.8063740234536434 + eb_lower: + - 0.004574749374156553 + - 0.0026155551366913435 + - 0.017512638773429286 + - 0.2785367024207322 + - 0.7305562544285329 + eb_upper: + - 0.15655040867866274 + - 0.242397087110846 + - 0.3113874876688261 + - 0.7214632975792677 + - 1.02443110332393 + expected: + - 0.3770364540353177 + - 0.9362459814799984 + - 2.230579020833315 + - 9.011628298304203 + - 19.44451043906993 + residual: + - -0.6199039025995358 + - 0.06748750395837017 + - -0.16379073945264083 + - 0.4441881766764077 + - -0.604867854750647 + test_statistic: 0.97883107598887 + bmdl: 77.07242298367221 + bmdu: 131.54556240658434 + deviance: + df: + - -9999 + - 3 + - 4 + ll: + - -28.30521281286277 + - -28.948601974888838 + - -62.686945757242626 + names: + - Full model + - Fitted model + - Reduced model + params: + - 5 + - 2 + - 1 + p_value: + - -9999.0 + - 0.7322750633195843 + - 4.141131881851834e-14 + deviance: + - -9999.0 + - 1.2867783240521362 + - 68.76346588875971 + plotting: + dr_x: + - 1.0e-08 + - 4.040404040404041 + - 8.080808080808081 + - 12.121212121212121 + - 16.161616161616163 + - 20.202020202020204 + - 24.242424242424242 + - 28.282828282828284 + - 32.323232323232325 + - 36.36363636363637 + - 40.40404040404041 + - 44.44444444444445 + - 48.484848484848484 + - 52.525252525252526 + - 56.56565656565657 + - 60.60606060606061 + - 64.64646464646465 + - 68.68686868686869 + - 72.72727272727273 + - 76.76767676767678 + - 80.80808080808082 + - 84.84848484848486 + - 88.8888888888889 + - 92.92929292929294 + - 96.96969696969697 + - 101.01010101010101 + - 105.05050505050505 + - 109.0909090909091 + - 113.13131313131314 + - 117.17171717171718 + - 121.21212121212122 + - 125.25252525252526 + - 129.2929292929293 + - 133.33333333333334 + - 137.37373737373738 + - 141.41414141414143 + - 145.45454545454547 + - 149.4949494949495 + - 153.53535353535355 + - 157.5757575757576 + - 161.61616161616163 + - 165.65656565656568 + - 169.69696969696972 + - 173.73737373737376 + - 177.7777777777778 + - 181.81818181818184 + - 185.85858585858588 + - 189.89898989898992 + - 193.93939393939394 + - 197.97979797979798 + - 202.02020202020202 + - 206.06060606060606 + - 210.1010101010101 + - 214.14141414141415 + - 218.1818181818182 + - 222.22222222222223 + - 226.26262626262627 + - 230.3030303030303 + - 234.34343434343435 + - 238.3838383838384 + - 242.42424242424244 + - 246.46464646464648 + - 250.50505050505052 + - 254.54545454545456 + - 258.5858585858586 + - 262.62626262626264 + - 266.6666666666667 + - 270.7070707070707 + - 274.74747474747477 + - 278.7878787878788 + - 282.82828282828285 + - 286.8686868686869 + - 290.90909090909093 + - 294.949494949495 + - 298.989898989899 + - 303.03030303030306 + - 307.0707070707071 + - 311.11111111111114 + - 315.1515151515152 + - 319.1919191919192 + - 323.23232323232327 + - 327.2727272727273 + - 331.31313131313135 + - 335.3535353535354 + - 339.39393939393943 + - 343.4343434343435 + - 347.4747474747475 + - 351.51515151515156 + - 355.5555555555556 + - 359.59595959595964 + - 363.6363636363637 + - 367.6767676767677 + - 371.71717171717177 + - 375.7575757575758 + - 379.79797979797985 + - 383.8383838383839 + - 387.8787878787879 + - 391.9191919191919 + - 395.95959595959596 + - 400.0 + dr_y: + - 0.018851822705237473 + - 0.020306878549192033 + - 0.021871737636630067 + - 0.023554286354855295 + - 0.025362913898591452 + - 0.027306534093924646 + - 0.029394606421443144 + - 0.031637155848991697 + - 0.03404479102492796 + - 0.03662872031372773 + - 0.03940076508085544 + - 0.04237336955338387 + - 0.045559606497595814 + - 0.04897317786578764 + - 0.05262840947322258 + - 0.056540238674695924 + - 0.06072419392113673 + - 0.06519636499347356 + - 0.0699733626378125 + - 0.07507226626788002 + - 0.08051055836364132 + - 0.08630604418592969 + - 0.09247675545360978 + - 0.09904083670082493 + - 0.10601641315641919 + - 0.11342143917511009 + - 0.12127352650973419 + - 0.12958975205445597 + - 0.1383864451173791 + - 0.14767895480235435 + - 0.15748139869549718 + - 0.1678063947591587 + - 0.17866477912650353 + - 0.19006531334852902 + - 0.2020143855499418 + - 0.21451571087037166 + - 0.2275700374643459 + - 0.24117486516096634 + - 0.2553241845895872 + - 0.27000824510391624 + - 0.28521336012549886 + - 0.30092175852275377 + - 0.3171114902950761 + - 0.3337563941067094 + - 0.3508261330930441 + - 0.36828630384541045 + - 0.3860986215970924 + - 0.4042211824379192 + - 0.4226088009585377 + - 0.44121341917315704 + - 0.4599845800142496 + - 0.4788699562680751 + - 0.4978159236609096 + - 0.5167681650384 + - 0.5356722913112213 + - 0.5544744641476212 + - 0.573122005320957 + - 0.5915639781725163 + - 0.6097517277920596 + - 0.6276393681797652 + - 0.6451842067326466 + - 0.6623470987737303 + - 0.6790927273795411 + - 0.6953898063258712 + - 0.7112112064371775 + - 0.7265340078816253 + - 0.7413394829148834 + - 0.7556130151802818 + - 0.7693439628870099 + - 0.7825254740033999 + - 0.7951542620334563 + - 0.8072303510244118 + - 0.8187567982273716 + - 0.8297394023565919 + - 0.8401864047237021 + - 0.8501081897189462 + - 0.8595169902261975 + - 0.868426602640057 + - 0.8768521152421899 + - 0.8848096528225413 + - 0.8923161396233414 + - 0.899389081956457 + - 0.906046371207411 + - 0.9123061073962849 + - 0.9181864430161182 + - 0.9237054465091359 + - 0.9288809844635038 + - 0.9337306214099605 + - 0.9382715359595003 + - 0.9425204519407256 + - 0.9464935831593906 + - 0.9502065904042033 + - 0.9536745493541999 + - 0.9569119280968168 + - 0.9599325730359682 + - 0.9627497020507259 + - 0.9653759038532264 + - 0.9678231425855992 + - 0.9701027667872489 + - 0.9722255219534965 + bmd_y: 0.11696664043158934 + bmdl_y: 0.07547039315928697 + bmdu_y: 0.1849535422002027 + parameters: + se: + - 0.7283969400905496 + - 0.0038885639958262065 + cov: + - - 0.5305621023332757 + - -0.00250830642467687 + - - -0.00250830642467687 + - 1.5120929949635873e-05 + names: + - a + - b + values: + - -3.9521138910805744 + - 0.01876896035988886 + bounded: + - 0.0 + - 0.0 + lower_ci: + - -5.379745671368208 + - 0.011147514916373344 + upper_ci: + - -2.5244821107929405 + - 0.026390405803404373 + prior_type: + - 0 + - 0 + prior_stdev: + - 0.0 + - 0.0 + prior_max_value: + - 18.0 + - 100.0 + prior_min_value: + - -18.0 + - 0.0 + prior_initial_value: + - 0.0 + - 0.0 + slope_factor: -9999.0 + has_completed: true + settings: + bmr: 0.1 + name: '' + alpha: 0.05 + burnin: 20 + degree: 3 + priors: + priors: + - name: a + type: 0 + stdev: 0.0 + max_value: 18.0 + min_value: -18.0 + initial_value: 0.0 + - name: b + type: 0 + stdev: 0.0 + max_value: 100.0 + min_value: 0.0 + initial_value: 0.0 + overrides: null + prior_class: 0 + variance_priors: null + samples: 100 + bmr_type: 1 + model_class: + id: 3 + params: + - a + - b + verbose: Logistic + model_form_str: P[dose] = 1 / [1 + exp(-a - b * dose)] + - name: Probit + results: + bmd: 97.06764080708274 + fit: + aic: 61.805343098346384 + chisq: 0.9586178232573188 + bmd_dist: + - - 68.07769485216971 + - 69.10540314801547 + - 69.98812190817316 + - 70.7882312971216 + - 71.51220315032288 + - 72.18639670117128 + - 72.80866052899529 + - 73.39775774758223 + - 73.95040358469575 + - 74.47411180659785 + - 74.97658307980721 + - 75.45325220219713 + - 75.91005224234996 + - 76.35283234568695 + - 76.77793935528975 + - 77.18730613769907 + - 77.58490696263624 + - 77.97293964698213 + - 78.3483138209682 + - 78.71276242041777 + - 79.06853338034506 + - 79.41760403911388 + - 79.75790008560446 + - 80.08957783678166 + - 80.41411658222692 + - 80.73299561152176 + - 81.04741690235609 + - 81.35574540854579 + - 81.6580264967299 + - 81.95502636031614 + - 82.24751119271222 + - 82.53624718732587 + - 82.82103161038313 + - 83.10081963499647 + - 83.37620068331695 + - 83.64779767193698 + - 83.91623351744897 + - 84.18213113644534 + - 84.44562513236107 + - 84.705688489091 + - 84.96255947604364 + - 85.2165801216891 + - 85.46809245449751 + - 85.71743850293898 + - 85.96496029548362 + - 86.21038780941183 + - 86.45317000747652 + - 86.69357844028279 + - 86.93189025266157 + - 87.16838258944381 + - 87.40333259546043 + - 87.63701741554235 + - 87.86954380415591 + - 88.10030444778086 + - 88.32934951937109 + - 88.55683780335393 + - 88.78292808415662 + - 89.00777914620647 + - 89.23154977393075 + - 89.45439875175674 + - 89.67629910151867 + - 89.89677360617635 + - 90.11593315239482 + - 90.33394238010716 + - 90.55096592924652 + - 90.76716843974602 + - 90.98271455153875 + - 91.19776890455785 + - 91.41246991693185 + - 91.62638814981896 + - 91.8394179891445 + - 92.05169217310016 + - 92.26334343987762 + - 92.47450452766856 + - 92.68530817466464 + - 92.89588711905755 + - 93.10637409903897 + - 93.31685321576757 + - 93.52705056393575 + - 93.73692465160886 + - 93.94650598712036 + - 94.15582507880357 + - 94.3649124349919 + - 94.57379856401874 + - 94.78251397421747 + - 94.99108917392145 + - 95.19952823583718 + - 95.40757456406169 + - 95.61524319442414 + - 95.82264475478476 + - 96.02988987300377 + - 96.23708917694141 + - 96.4443532944579 + - 96.65179285341347 + - 96.85951848166835 + - 97.06764080708274 + - 97.27580859366451 + - 97.48372771269955 + - 97.69159445296522 + - 97.89960510323881 + - 98.10795595229766 + - 98.31684328891912 + - 98.52646340188049 + - 98.73701257995911 + - 98.9486871119323 + - 99.16153854888647 + - 99.37525424899513 + - 99.58978258626618 + - 99.80509159849731 + - 100.02114932348624 + - 100.23792379903074 + - 100.45538306292849 + - 100.67349515297725 + - 100.89222810697476 + - 101.11147761341603 + - 101.33095813743948 + - 101.55081672506473 + - 101.77125351424475 + - 101.99246864293244 + - 102.21466224908076 + - 102.43803447064266 + - 102.6627854455711 + - 102.88911531181904 + - 103.11709786399825 + - 103.34608033279706 + - 103.57608366111484 + - 103.8072837553314 + - 104.03985652182652 + - 104.27397786697996 + - 104.50982369717153 + - 104.74756991878098 + - 104.98739243818808 + - 105.22919900605028 + - 105.47231576379932 + - 105.71692987316925 + - 105.96330046694595 + - 106.2116866779153 + - 106.46234763886315 + - 106.71554248257544 + - 106.97153034183799 + - 107.23052566275267 + - 107.49167616044082 + - 107.75483704803004 + - 108.02037046228044 + - 108.2886385399521 + - 108.56000341780512 + - 108.83482723259958 + - 109.11347212109561 + - 109.39619890409573 + - 109.68173165267862 + - 109.97004304433841 + - 110.2617353506479 + - 110.55741084317991 + - 110.8576717935073 + - 111.16312047320285 + - 111.47435915383943 + - 111.79052263566429 + - 112.11041546787992 + - 112.43496541996059 + - 112.76511240117391 + - 113.1017963207875 + - 113.44595708806897 + - 113.79843293906366 + - 114.1567289125258 + - 114.52067843108776 + - 114.89200542501268 + - 115.27243382456373 + - 115.66368756000402 + - 116.067388212888 + - 116.48004150372115 + - 116.90137027196738 + - 117.33438678655853 + - 117.7821033164264 + - 118.24753213050285 + - 118.72897980318358 + - 119.22248703645428 + - 119.73364085984932 + - 120.26821687646722 + - 120.83128433076904 + - 121.41394651090151 + - 122.02069352263459 + - 122.66337290687797 + - 123.35128587516775 + - 124.07039561947151 + - 124.83664649960384 + - 125.67506139487845 + - 126.57127202570018 + - 127.54981643371572 + - 128.65152782185157 + - 129.86551020138907 + - 131.31911221125665 + - 132.99329526735247 + - - 0.025 + - 0.03 + - 0.035 + - 0.04 + - 0.045 + - 0.05 + - 0.055 + - 0.06 + - 0.065 + - 0.07 + - 0.075 + - 0.08 + - 0.085 + - 0.09 + - 0.095 + - 0.1 + - 0.105 + - 0.11 + - 0.115 + - 0.12 + - 0.125 + - 0.13 + - 0.135 + - 0.14 + - 0.145 + - 0.15 + - 0.155 + - 0.16 + - 0.165 + - 0.17 + - 0.175 + - 0.18 + - 0.185 + - 0.19 + - 0.195 + - 0.2 + - 0.205 + - 0.21 + - 0.215 + - 0.22 + - 0.225 + - 0.23 + - 0.235 + - 0.24 + - 0.245 + - 0.25 + - 0.255 + - 0.26 + - 0.265 + - 0.27 + - 0.275 + - 0.28 + - 0.285 + - 0.29 + - 0.295 + - 0.3 + - 0.305 + - 0.31 + - 0.315 + - 0.32 + - 0.325 + - 0.33 + - 0.335 + - 0.34 + - 0.345 + - 0.35 + - 0.355 + - 0.36 + - 0.365 + - 0.37 + - 0.375 + - 0.38 + - 0.385 + - 0.39 + - 0.395 + - 0.4 + - 0.405 + - 0.41 + - 0.415 + - 0.42 + - 0.425 + - 0.43 + - 0.435 + - 0.44 + - 0.445 + - 0.45 + - 0.455 + - 0.46 + - 0.465 + - 0.47 + - 0.475 + - 0.48 + - 0.485 + - 0.49 + - 0.495 + - 0.5 + - 0.505 + - 0.51 + - 0.515 + - 0.52 + - 0.525 + - 0.53 + - 0.535 + - 0.54 + - 0.545 + - 0.55 + - 0.555 + - 0.56 + - 0.565 + - 0.57 + - 0.575 + - 0.58 + - 0.585 + - 0.59 + - 0.595 + - 0.6 + - 0.605 + - 0.61 + - 0.615 + - 0.62 + - 0.625 + - 0.63 + - 0.635 + - 0.64 + - 0.645 + - 0.65 + - 0.655 + - 0.66 + - 0.665 + - 0.67 + - 0.675 + - 0.68 + - 0.685 + - 0.69 + - 0.695 + - 0.7 + - 0.705 + - 0.71 + - 0.715 + - 0.72 + - 0.725 + - 0.73 + - 0.735 + - 0.74 + - 0.745 + - 0.75 + - 0.755 + - 0.76 + - 0.765 + - 0.77 + - 0.775 + - 0.78 + - 0.785 + - 0.79 + - 0.795 + - 0.8 + - 0.805 + - 0.81 + - 0.815 + - 0.82 + - 0.825 + - 0.83 + - 0.835 + - 0.84 + - 0.845 + - 0.85 + - 0.855 + - 0.86 + - 0.865 + - 0.87 + - 0.875 + - 0.88 + - 0.885 + - 0.89 + - 0.895 + - 0.9 + - 0.905 + - 0.91 + - 0.915 + - 0.92 + - 0.925 + - 0.93 + - 0.935 + - 0.94 + - 0.945 + - 0.95 + - 0.955 + - 0.96 + - 0.965 + - 0.97 + - 0.975 + - 0.98 + model_df: 1.9999999999999996 + total_df: 0.0 + bic_equiv: -22.68084256099123 + loglikelihood: -28.902671549173192 + gof: + df: 3.0 + roi: -0.2527174086082275 + p_value: 0.811263773095321 + eb_lower: + - 0.004574749374156553 + - 0.0026155551366913435 + - 0.017512638773429286 + - 0.2785367024207322 + - 0.7305562544285329 + eb_upper: + - 0.15655040867866274 + - 0.242397087110846 + - 0.3113874876688261 + - 0.7214632975792677 + - 1.02443110332393 + expected: + - 0.2764002803218165 + - 0.9044079050244236 + - 2.3649375042112766 + - 8.68759528449742 + - 19.38778083660208 + residual: + - -0.5294087894233358 + - 0.10286988115446812 + - -0.2527174086082275 + - 0.5920460970281086 + - -0.503365945282384 + test_statistic: 0.9586178232573188 + bmdl: 72.18639670117128 + bmdu: 125.67506139487845 + deviance: + df: + - -9999 + - 3 + - 4 + ll: + - -28.30521281286277 + - -28.902671549173192 + - -62.686945757242626 + names: + - Full model + - Fitted model + - Reduced model + params: + - 5 + - 2 + - 1 + p_value: + - -9999.0 + - 0.7542235680749014 + - 4.141131881851834e-14 + deviance: + - -9999.0 + - 1.194917472620844 + - 68.76346588875971 + plotting: + dr_x: + - 1.0e-08 + - 4.040404040404041 + - 8.080808080808081 + - 12.121212121212121 + - 16.161616161616163 + - 20.202020202020204 + - 24.242424242424242 + - 28.282828282828284 + - 32.323232323232325 + - 36.36363636363637 + - 40.40404040404041 + - 44.44444444444445 + - 48.484848484848484 + - 52.525252525252526 + - 56.56565656565657 + - 60.60606060606061 + - 64.64646464646465 + - 68.68686868686869 + - 72.72727272727273 + - 76.76767676767678 + - 80.80808080808082 + - 84.84848484848486 + - 88.8888888888889 + - 92.92929292929294 + - 96.96969696969697 + - 101.01010101010101 + - 105.05050505050505 + - 109.0909090909091 + - 113.13131313131314 + - 117.17171717171718 + - 121.21212121212122 + - 125.25252525252526 + - 129.2929292929293 + - 133.33333333333334 + - 137.37373737373738 + - 141.41414141414143 + - 145.45454545454547 + - 149.4949494949495 + - 153.53535353535355 + - 157.5757575757576 + - 161.61616161616163 + - 165.65656565656568 + - 169.69696969696972 + - 173.73737373737376 + - 177.7777777777778 + - 181.81818181818184 + - 185.85858585858588 + - 189.89898989898992 + - 193.93939393939394 + - 197.97979797979798 + - 202.02020202020202 + - 206.06060606060606 + - 210.1010101010101 + - 214.14141414141415 + - 218.1818181818182 + - 222.22222222222223 + - 226.26262626262627 + - 230.3030303030303 + - 234.34343434343435 + - 238.3838383838384 + - 242.42424242424244 + - 246.46464646464648 + - 250.50505050505052 + - 254.54545454545456 + - 258.5858585858586 + - 262.62626262626264 + - 266.6666666666667 + - 270.7070707070707 + - 274.74747474747477 + - 278.7878787878788 + - 282.82828282828285 + - 286.8686868686869 + - 290.90909090909093 + - 294.949494949495 + - 298.989898989899 + - 303.03030303030306 + - 307.0707070707071 + - 311.11111111111114 + - 315.1515151515152 + - 319.1919191919192 + - 323.23232323232327 + - 327.2727272727273 + - 331.31313131313135 + - 335.3535353535354 + - 339.39393939393943 + - 343.4343434343435 + - 347.4747474747475 + - 351.51515151515156 + - 355.5555555555556 + - 359.59595959595964 + - 363.6363636363637 + - 367.6767676767677 + - 371.71717171717177 + - 375.7575757575758 + - 379.79797979797985 + - 383.8383838383839 + - 387.8787878787879 + - 391.9191919191919 + - 395.95959595959596 + - 400.0 + dr_y: + - 0.013820014019685429 + - 0.015339791636178724 + - 0.017000914322132597 + - 0.01881345571643797 + - 0.020787871970158422 + - 0.022934980815789353 + - 0.025265936218515517 + - 0.027792198438977914 + - 0.030525499374612495 + - 0.03347780308515391 + - 0.036661261450853674 + - 0.04008816495910631 + - 0.0437708886661924 + - 0.047721833435323886 + - 0.05195336260962349 + - 0.05647773433850523 + - 0.061307029837489375 + - 0.06645307792404233 + - 0.07192737623478093 + - 0.0777410095914523 + - 0.08390456604358487 + - 0.09042805117365693 + - 0.09732080130507142 + - 0.10459139630319336 + - 0.11224757270422236 + - 0.12029613794481397 + - 0.1287428864962264 + - 0.13759251872953882 + - 0.14684856335240842 + - 0.1565133042622699 + - 0.16658771265529232 + - 0.1770713852144058 + - 0.18796248917302638 + - 0.1992577150136493 + - 0.21095223751229863 + - 0.22303968578115685 + - 0.23551212289293966 + - 0.24836003559231196 + - 0.2615723345125923 + - 0.2751363652210772 + - 0.28903793031457053 + - 0.3032613226793384 + - 0.3177893699180151 + - 0.3326034898313962 + - 0.3476837567270522 + - 0.36300897821084077 + - 0.37855678200327025 + - 0.3943037122118647 + - 0.4102253343847715 + - 0.42629634857135534 + - 0.44249070952389563 + - 0.4587817530920745 + - 0.4751423277899594 + - 0.4915449304546952 + - 0.5079618448680536 + - 0.5243652821770629 + - 0.5407275219286816 + - 0.5570210525262189 + - 0.5732187099220428 + - 0.5892938133819577 + - 0.6052202971911554 + - 0.6209728372193272 + - 0.6365269713226471 + - 0.651859212631997 + - 0.6669471548589279 + - 0.6817695688422333 + - 0.6963064896572774 + - 0.7105392937159727 + - 0.7244507653959722 + - 0.7380251528516908 + - 0.7512482127755994 + - 0.7641072439942539 + - 0.7765911098981783 + - 0.7886902498165193 + - 0.800396679554911 + - 0.8117039814169138 + - 0.8226072841245357 + - 0.8331032331406374 + - 0.8431899519745738 + - 0.8528669951214684 + - 0.862135293344503 + - 0.8709970920580965 + - 0.8794558836076343 + - 0.8875163342684154 + - 0.8951842068028057 + - 0.9024662794204783 + - 0.9093702619824882 + - 0.9159047102762705 + - 0.9220789391661541 + - 0.9279029353933331 + - 0.933387270761319 + - 0.9385430163985479 + - 0.9433816587400045 + - 0.9479150178154009 + - 0.9521551683735888 + - 0.9561143643124611 + - 0.9598049668215624 + - 0.9632393765818854 + - 0.9664299703047564 + - 0.969389041830104 + bmd_y: 0.11243801261448177 + bmdl_y: 0.07117511516877671 + bmdu_y: 0.17819132042336194 + parameters: + se: + - 0.33950055014388664 + - 0.0017138165597093916 + cov: + - - 0.11526062354800168 + - -0.0004885399494233611 + - - -0.000488539949423361 + - 2.937167200334135e-06 + names: + - a + - b + values: + - -2.202358030574564 + - 0.010185618396489913 + bounded: + - 0.0 + - 0.0 + lower_ci: + - -2.8677668868367765 + - 0.006826599636855654 + upper_ci: + - -1.5369491743123513 + - 0.013544637156124171 + prior_type: + - 0 + - 0 + prior_stdev: + - 0.0 + - 0.0 + prior_max_value: + - 18.0 + - 18.0 + prior_min_value: + - -18.0 + - 0.0 + prior_initial_value: + - 0.0 + - 0.0 + slope_factor: -9999.0 + has_completed: true + settings: + bmr: 0.1 + name: '' + alpha: 0.05 + burnin: 20 + degree: 3 + priors: + priors: + - name: a + type: 0 + stdev: 0.0 + max_value: 18.0 + min_value: -18.0 + initial_value: 0.0 + - name: b + type: 0 + stdev: 0.0 + max_value: 18.0 + min_value: 0.0 + initial_value: 0.0 + overrides: null + prior_class: 0 + variance_priors: null + samples: 100 + bmr_type: 1 + model_class: + id: 7 + params: + - a + - b + verbose: Probit + model_form_str: P[dose] = CumNorm(a + b * Dose) + dataset: + ns: + - 20.0 + - 20.0 + - 20.0 + - 20.0 + - 20.0 + doses: + - 0.0 + - 50.0 + - 100.0 + - 200.0 + - 400.0 + dtype: D + metadata: + id: 0 + name: 'Dataset #1' + dose_name: Dose + dose_units: '' + response_name: Incidence + response_units: '' + plotting: + ll: + - 0.0 + - 0.04738444486330865 + - 0.08248736122657072 + - 0.22146329757926786 + - 0.21944374557146706 + ul: + - 0.2013036967280678 + - 0.22011260868308796 + - 0.231855636349626 + - 0.22188420743980153 + - 0.04823479657788965 + mean: + - 0.0 + - 0.05 + - 0.1 + - 0.5 + - 0.95 + incidences: + - 0.0 + - 1.0 + - 2.0 + - 10.0 + - 19.0 + version: + dll: 24.1a4 + python: 24.1a4 + selected: + notes: '' + model_index: null + description: '' + recommender: + results: + model_bin: + - 0 + - 0 + model_notes: + - '0': [] + '1': [] + '2': [] + - '0': [] + '1': [] + '2': [] + recommended_model_index: 1 + recommended_model_variable: aic + settings: + rules: + - threshold: 0.1 + rule_class: gof + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: dof_zero + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 1.0 + rule_class: high_bmd + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: warnings + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1.0 + rule_class: high_bmdl + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2.0 + rule_class: roi_large + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: gof_cancer + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: null + rule_class: aic_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmd_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: roi_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdl_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdu_missing + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 10.0 + rule_class: low_bmd_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3.0 + rule_class: low_bmd_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_fit + failure_bin: 1 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 10.0 + rule_class: low_bmdl_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3.0 + rule_class: low_bmdl_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_type + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1.5 + rule_class: control_stdev_fit + failure_bin: 0 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 20.0 + rule_class: bmd_bmdl_ratio_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3.0 + rule_class: bmd_bmdl_ratio_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2.0 + rule_class: control_residual_high + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + enabled: true + recommend_viable: true + recommend_questionable: false + sufficiently_close_bmdl: 3.0 + model_average: null + option_index: 0 + dataset_index: 0 + analysis_id: 432a6083-f9aa-4de2-a71f-a6488b4c5bf1 + bmds_ui_version: 24.1a4 + bmds_python_version: + dll: 24.1a4 + python: 24.1a4 + analysis_schema_version: '1.1' + errors: [] + created: 2024-08-22 15:46:25.966993+00:00 + last_updated: 2024-08-22 15:46:52.646731+00:00 + started: 2024-08-22 15:46:52.554289+00:00 + ended: 2024-08-22 15:46:52.646661+00:00 + deletion_date: null + starred: false + collections: [1] +- model: analysis.analysis + pk: cfe458aa-2313-44c0-9346-f4931567bef0 + fields: + password: k2ln50x87rod + inputs: + models: + frequentist_restricted: + - Hill + options: + - bmr_type: 2 + bmr_value: 1 + dist_type: 1 + confidence_level: 0.95 + tail_probability: 0.01 + datasets: + - ns: + - 20 + - 20 + - 20 + - 20 + - 20 + doses: + - 0 + - 50 + - 100 + - 200 + - 400 + dtype: C + means: + - 5.26 + - 5.76 + - 6.13 + - 8.24 + - 9.23 + stdevs: + - 2.23 + - 1.47 + - 2.47 + - 2.24 + - 1.56 + metadata: + id: 0 + name: 'Dataset #1' + dose_name: Dose + dose_units: '' + response_name: Response + response_units: '' + recommender: + rules: + - threshold: 0.1 + rule_class: gof + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: dof_zero + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 1 + rule_class: high_bmd + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: warnings + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1 + rule_class: high_bmdl + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2 + rule_class: roi_large + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: gof_cancer + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: null + rule_class: aic_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmd_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: roi_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdl_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdu_missing + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 10 + rule_class: low_bmd_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3 + rule_class: low_bmd_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_fit + failure_bin: 1 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 10 + rule_class: low_bmdl_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3 + rule_class: low_bmdl_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_type + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1.5 + rule_class: control_stdev_fit + failure_bin: 0 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 20 + rule_class: bmd_bmdl_ratio_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3 + rule_class: bmd_bmdl_ratio_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2 + rule_class: control_residual_high + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + enabled: true + recommend_viable: true + recommend_questionable: false + sufficiently_close_bmdl: 3 + dataset_type: C + analysis_name: continuous summary + dataset_options: + - degree: 3 + enabled: true + dataset_id: 0 + adverse_direction: -1 + outputs: + outputs: + - error: null + bayesian: null + frequentist: + id: null + name: '' + models: + - name: Hill + results: + bmd: 154.73536613721308 + fit: + aic: 431.11309589682475 + dist: 1 + chisq: 0.0 + bmd_dist: + - - 100.97866769329904 + - 104.03656095396869 + - 106.73272109998881 + - 109.15744211080664 + - 111.3702361829333 + - 113.40941829207631 + - 115.30889359978431 + - 117.08432250644836 + - 118.7559852204195 + - 120.33677855200746 + - 121.83634294678463 + - 123.26489011347151 + - 124.62839244690254 + - 125.93125502063191 + - 127.18502029556878 + - 128.38585198539013 + - 129.54541205967328 + - 130.6666350967739 + - 131.7478433173626 + - 132.79843531435986 + - 133.82082684413427 + - 134.81177389873147 + - 135.77800143520227 + - 136.72505488543482 + - 137.64794667799046 + - 138.54980757303875 + - 139.4363682140923 + - 140.25770185227634 + - 140.85883957001454 + - 141.4860197646288 + - 142.4326939895221 + - 151.02334778550497 + - 151.51077017810303 + - 151.93630551893213 + - 152.30687640844923 + - 152.62940544711114 + - 152.9108152353748 + - 153.1580283736971 + - 153.3779674625349 + - 153.57755510234514 + - 153.76371389358468 + - 153.9433664367104 + - 154.1234353321792 + - 154.31084318044802 + - 154.51251258197368 + - 154.73536613721308 + - 154.9641244965755 + - 155.17980668348662 + - 155.38378285792805 + - 155.57742317988138 + - 155.76209780932814 + - 155.93917690625 + - 156.11003063062844 + - 156.27602914244514 + - 156.43854260168163 + - 156.59894116831953 + - 156.7585950023404 + - 156.91887426372583 + - 157.08114911245744 + - 157.2467897085168 + - 157.41716621188544 + - 157.59364878254502 + - 157.77760758047708 + - 157.9704127656632 + - 158.17343449808504 + - 158.3880429377241 + - 158.61557683626197 + - 158.8442900549691 + - 159.06593219085815 + - 159.283539493399 + - 159.50014821206162 + - 159.71879459631595 + - 159.94251489563192 + - 160.17434535947942 + - 160.41732223732845 + - 160.6744817786489 + - 160.9488602329107 + - 161.2434938495838 + - 161.56141887813814 + - 161.9056715680436 + - 162.27928816877017 + - 162.68094965147145 + - 163.04408390698032 + - 163.3731957735983 + - 163.70497292579265 + - 164.07610303803065 + - 164.52327378477955 + - 165.08317284050662 + - 165.7924878796791 + - 190.9383285020119 + - 212.57120347869437 + - 217.7166933538706 + - - 0.05 + - 0.06 + - 0.07 + - 0.08 + - 0.09 + - 0.1 + - 0.11 + - 0.12 + - 0.13 + - 0.14 + - 0.15 + - 0.16 + - 0.17 + - 0.18 + - 0.19 + - 0.2 + - 0.21 + - 0.22 + - 0.23 + - 0.24 + - 0.25 + - 0.26 + - 0.27 + - 0.28 + - 0.29 + - 0.3 + - 0.31 + - 0.32 + - 0.33 + - 0.34 + - 0.35 + - 0.36 + - 0.37 + - 0.38 + - 0.39 + - 0.4 + - 0.41 + - 0.42 + - 0.43 + - 0.44 + - 0.45 + - 0.46 + - 0.47 + - 0.48 + - 0.49 + - 0.5 + - 0.51 + - 0.52 + - 0.53 + - 0.54 + - 0.55 + - 0.56 + - 0.57 + - 0.58 + - 0.59 + - 0.6 + - 0.61 + - 0.62 + - 0.63 + - 0.64 + - 0.65 + - 0.66 + - 0.67 + - 0.68 + - 0.69 + - 0.7 + - 0.71 + - 0.72 + - 0.73 + - 0.74 + - 0.75 + - 0.76 + - 0.77 + - 0.78 + - 0.79 + - 0.8 + - 0.81 + - 0.82 + - 0.83 + - 0.84 + - 0.85 + - 0.86 + - 0.87 + - 0.88 + - 0.89 + - 0.9 + - 0.91 + - 0.92 + - 0.93 + - 0.94 + - 0.95 + - 0.96 + model_df: 5.0 + total_df: 0.0 + bic_equiv: -215.02811368160567 + loglikelihood: -210.55654794841237 + gof: + roi: 0.07037365891574619 + dose: + - 0.0 + - 50.0 + - 100.0 + - 200.0 + - 400.0 + size: + - 20.0 + - 20.0 + - 20.0 + - 20.0 + - 20.0 + est_sd: + - 1.9870019486326296 + - 1.9870019486326296 + - 1.9870019486326296 + - 1.9870019486326296 + - 1.9870019486326296 + obs_sd: + - 2.23 + - 1.47 + - 2.47 + - 2.24 + - 1.56 + calc_sd: + - 2.23 + - 1.47 + - 2.47 + - 2.24 + - 1.56 + eb_lower: + - 3.8755446420028017 + - 4.847376961320233 + - 4.59654496221835 + - 6.8493363220117836 + - 8.261502081401064 + eb_upper: + - 6.644455357997198 + - 6.672623038679768 + - 7.66345503778165 + - 9.630663677988217 + - 10.198497918598937 + est_mean: + - 5.433274492725299 + - 5.530538577475352 + - 6.203730612218141 + - 8.208732480674772 + - 9.24372384354428 + obs_mean: + - 5.26 + - 5.76 + - 6.13 + - 8.24 + - 9.23 + residual: + - -0.3899880870949224 + - 0.5164477461453942 + - -0.16594514268684527 + - 0.07037365891574619 + - -0.030888190219139265 + calc_mean: + - 5.26 + - 5.76 + - 6.13 + - 8.24 + - 9.23 + bmdl: 100.97866769329904 + bmdu: 212.57120347869437 + tests: + dfs: + - 8.0 + - 4.0 + - 4.0 + - 1.0 + names: + - Test 1 + - Test 2 + - Test 3 + - Test 4 + p_values: + - 3.797353209655796e-09 + - 0.08132795445505259 + - 0.08132795445505259 + - 0.5007818791973963 + ll_ratios: + - 55.336613752911774 + - 8.295686670887278 + - 8.295686670887278 + - 0.453279062399929 + deviance: + aics: + - 432.6598168344248 + - 432.36413016353754 + - 432.6598168344248 + - 431.11309589682475 + - 471.7007439164493 + names: + - A1 + - A2 + - A3 + - fitted + - reduced + num_params: + - 6 + - 10 + - 6 + - 5 + - 2 + loglikelihoods: + - -210.3299084172124 + - -206.18206508176877 + - -210.3299084172124 + - -210.55654794841237 + - -233.85037195822466 + plotting: + dr_x: + - 1.0e-08 + - 4.040404040404041 + - 8.080808080808081 + - 12.121212121212121 + - 16.161616161616163 + - 20.202020202020204 + - 24.242424242424242 + - 28.282828282828284 + - 32.323232323232325 + - 36.36363636363637 + - 40.40404040404041 + - 44.44444444444445 + - 48.484848484848484 + - 52.525252525252526 + - 56.56565656565657 + - 60.60606060606061 + - 64.64646464646465 + - 68.68686868686869 + - 72.72727272727273 + - 76.76767676767678 + - 80.80808080808082 + - 84.84848484848486 + - 88.8888888888889 + - 92.92929292929294 + - 96.96969696969697 + - 101.01010101010101 + - 105.05050505050505 + - 109.0909090909091 + - 113.13131313131314 + - 117.17171717171718 + - 121.21212121212122 + - 125.25252525252526 + - 129.2929292929293 + - 133.33333333333334 + - 137.37373737373738 + - 141.41414141414143 + - 145.45454545454547 + - 149.4949494949495 + - 153.53535353535355 + - 157.5757575757576 + - 161.61616161616163 + - 165.65656565656568 + - 169.69696969696972 + - 173.73737373737376 + - 177.7777777777778 + - 181.81818181818184 + - 185.85858585858588 + - 189.89898989898992 + - 193.93939393939394 + - 197.97979797979798 + - 202.02020202020202 + - 206.06060606060606 + - 210.1010101010101 + - 214.14141414141415 + - 218.1818181818182 + - 222.22222222222223 + - 226.26262626262627 + - 230.3030303030303 + - 234.34343434343435 + - 238.3838383838384 + - 242.42424242424244 + - 246.46464646464648 + - 250.50505050505052 + - 254.54545454545456 + - 258.5858585858586 + - 262.62626262626264 + - 266.6666666666667 + - 270.7070707070707 + - 274.74747474747477 + - 278.7878787878788 + - 282.82828282828285 + - 286.8686868686869 + - 290.90909090909093 + - 294.949494949495 + - 298.989898989899 + - 303.03030303030306 + - 307.0707070707071 + - 311.11111111111114 + - 315.1515151515152 + - 319.1919191919192 + - 323.23232323232327 + - 327.2727272727273 + - 331.31313131313135 + - 335.3535353535354 + - 339.39393939393943 + - 343.4343434343435 + - 347.4747474747475 + - 351.51515151515156 + - 355.5555555555556 + - 359.59595959595964 + - 363.6363636363637 + - 367.6767676767677 + - 371.71717171717177 + - 375.7575757575758 + - 379.79797979797985 + - 383.8383838383839 + - 387.8787878787879 + - 391.9191919191919 + - 395.95959595959596 + - 400.0 + dr_y: + - 5.433274492725299 + - 5.433301833536934 + - 5.433536426901095 + - 5.43425669183709 + - 5.435782642898702 + - 5.438462533267384 + - 5.442664977181717 + - 5.448772554459435 + - 5.4571756984891255 + - 5.468266363217662 + - 5.482431246449568 + - 5.5000445032379846 + - 5.52145999304306 + - 5.5470031934557 + - 5.5769629895097905 + - 5.611583611405182 + - 5.651057041910932 + - 5.69551624352406 + - 5.745029560356437 + - 5.799596627596584 + - 5.859146071204315 + - 5.923535203923666 + - 5.992551825396442 + - 6.0659181215387665 + - 6.1432965408898825 + - 6.22429741382426 + - 6.308487984475135 + - 6.395402453450443 + - 6.484552587711549 + - 6.575438444734784 + - 6.66755878017686 + - 6.760420757478969 + - 6.853548647597534 + - 6.946491289469157 + - 7.038828168812238 + - 7.130174057077532 + - 7.220182227852104 + - 7.308546330675973 + - 7.395001049825159 + - 7.4793217076561245 + - 7.561322989501482 + - 7.6408569717482715 + - 7.7178106290794775 + - 7.792102983577383 + - 7.863682040044168 + - 7.93252163077366 + - 7.998618270990745 + - 8.061988104704696 + - 8.12266400081526 + - 8.180692841602664 + - 8.236133030548093 + - 8.289052233850622 + - 8.339525359937571 + - 8.387632773500439 + - 8.433458734855918 + - 8.477090051430633 + - 8.518614925598337 + - 8.558121981676136 + - 8.595699454356145 + - 8.631434520989458 + - 8.665412760763289 + - 8.697717724766697 + - 8.728430602102955 + - 8.757629968482417 + - 8.78539160504673 + - 8.811788376480784 + - 8.836890158725934 + - 8.860763807792287 + - 8.883473162264057 + - 8.90507907309275 + - 8.92563945517567 + - 8.94520935602357 + - 8.963841037535373 + - 8.981584067525302 + - 8.998485418195555 + - 9.014589569222704 + - 9.029938613535915 + - 9.04457236421658 + - 9.058528461249093 + - 9.071842477107328 + - 9.084548020376735 + - 9.096676836793042 + - 9.108258907229963 + - 9.1193225422943 + - 9.12989447329093 + - 9.139999939405724 + - 9.149662771024142 + - 9.158905469159608 + - 9.167749281010806 + - 9.176214271702676 + - 9.184319392293522 + - 9.192082544151766 + - 9.199520639821527 + - 9.206649660507267 + - 9.21348471031528 + - 9.220040067394173 + - 9.226329232118513 + - 9.232364972459932 + - 9.238159366688462 + - 9.24372384354428 + bmd_y: 7.420276441357928 + bmdl_y: 6.223654351494432 + bmdu_y: 8.369212662179013 + parameters: + se: + - 0.3857978911223031 + - 0.9019864514377746 + - 30.976236896044085 + - 2.0078408696657375 + - 2.2044418137829496 + cov: + - - 0.14884001279441644 + - -0.23128491815386937 + - 3.048610506137708 + - 0.4490937800082198 + - -4.401611639115816e-07 + - - -0.2312849181538693 + - 0.8135795585773089 + - 10.395947045983489 + - -1.4329176309723939 + - 2.8120411699088445e-07 + - - 3.0486105061377047 + - 10.3959470459835 + - 959.5272522398429 + - -12.877081489981382 + - -5.034767153200815e-05 + - - 0.44909378000822 + - -1.432917630972394 + - -12.877081489981364 + - 4.031424957900065 + - -3.016306418259327e-06 + - - -4.4016116391158107e-07 + - 2.8120411699088265e-07 + - -5.0347671532008194e-05 + - -3.016306418259325e-06 + - 0.019999122293236766 + names: + - g + - v + - k + - n + - alpha + values: + - 5.433274492725299 + - 3.9835669874523303 + - 154.96341467464032 + - 3.2601612947028027 + - 3.948176743869867 + bounded: + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + lower_ci: + - 4.677124514849665 + - 2.215706014146544 + - 94.25110550292217 + - -0.6751345275707349 + - -0.3724498512394179 + upper_ci: + - 6.189424470600932 + - 5.751427960758117 + - 215.67572384635847 + - 7.19545711697634 + - 8.268803338979152 + prior_type: + - 0 + - 0 + - 0 + - 0 + - 0 + prior_stdev: + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + prior_max_value: + - 100.0 + - 100.0 + - 5.0 + - 18.0 + - 18.0 + prior_min_value: + - -100.0 + - -100.0 + - 0.0 + - 1.0 + - -18.0 + prior_initial_value: + - 0.0 + - 0.0 + - 0.0 + - 1.0 + - 0.0 + has_completed: true + settings: + bmr: 1.0 + name: '' + alpha: 0.05 + burnin: 20 + degree: 3 + priors: + priors: + - name: g + type: 0 + stdev: 0.0 + max_value: 100.0 + min_value: -100.0 + initial_value: 0.0 + - name: v + type: 0 + stdev: 0.0 + max_value: 100.0 + min_value: -100.0 + initial_value: 0.0 + - name: k + type: 0 + stdev: 0.0 + max_value: 5.0 + min_value: 0.0 + initial_value: 0.0 + - name: n + type: 0 + stdev: 0.0 + max_value: 18.0 + min_value: 1.0 + initial_value: 1.0 + overrides: null + prior_class: 1 + variance_priors: + - name: rho + type: 0 + stdev: 0.0 + max_value: 18.0 + min_value: -18.0 + initial_value: 0.0 + - name: alpha + type: 0 + stdev: 0.0 + max_value: 18.0 + min_value: -18.0 + initial_value: 0.0 + samples: 0 + bmr_type: 2 + disttype: 1 + tail_prob: 0.01 + is_increasing: true + model_class: + id: 6 + params: + - g + - v + - k + - n + verbose: Hill + model_form_str: P[dose] = g + v * dose ^ n / (k ^ n + dose ^ n) + variance_params: + - rho + - alpha + dataset: + ns: + - 20.0 + - 20.0 + - 20.0 + - 20.0 + - 20.0 + anova: null + doses: + - 0.0 + - 50.0 + - 100.0 + - 200.0 + - 400.0 + dtype: C + means: + - 5.26 + - 5.76 + - 6.13 + - 8.24 + - 9.23 + stdevs: + - 2.23 + - 1.47 + - 2.47 + - 2.24 + - 1.56 + metadata: + id: 0 + name: 'Dataset #1' + dose_name: Dose + dose_units: '' + response_name: Response + response_units: '' + plotting: + ll: + - 4.216327873683602 + - 5.0720188225627325 + - 4.974004416142823 + - 7.191647729619403 + - 8.499897525984942 + ul: + - 6.303672126316398 + - 6.447981177437267 + - 7.285995583857177 + - 9.288352270380598 + - 9.96010247401506 + mean: + - 5.26 + - 5.76 + - 6.13 + - 8.24 + - 9.23 + version: + dll: 24.1a4 + python: 24.1a4 + selected: + notes: User selected best fitting model + model_index: 0 + description: '' + recommender: + results: + model_bin: + - 0 + model_notes: + - '0': [] + '1': [] + '2': [] + recommended_model_index: 0 + recommended_model_variable: aic + settings: + rules: + - threshold: 0.1 + rule_class: gof + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: dof_zero + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 1.0 + rule_class: high_bmd + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: warnings + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1.0 + rule_class: high_bmdl + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2.0 + rule_class: roi_large + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: gof_cancer + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: null + rule_class: aic_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmd_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: roi_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdl_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdu_missing + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 10.0 + rule_class: low_bmd_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3.0 + rule_class: low_bmd_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_fit + failure_bin: 1 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 10.0 + rule_class: low_bmdl_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3.0 + rule_class: low_bmdl_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_type + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1.5 + rule_class: control_stdev_fit + failure_bin: 0 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 20.0 + rule_class: bmd_bmdl_ratio_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3.0 + rule_class: bmd_bmdl_ratio_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2.0 + rule_class: control_residual_high + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + enabled: true + recommend_viable: true + recommend_questionable: false + sufficiently_close_bmdl: 3.0 + model_average: null + option_index: 0 + dataset_index: 0 + analysis_id: cfe458aa-2313-44c0-9346-f4931567bef0 + bmds_ui_version: 24.1a4 + bmds_python_version: + dll: 24.1a4 + python: 24.1a4 + analysis_schema_version: '1.1' + errors: [] + created: 2024-08-22 15:45:08.929260+00:00 + last_updated: 2024-08-22 15:45:28.511005+00:00 + started: 2024-08-22 15:45:24.370052+00:00 + ended: 2024-08-22 15:45:24.501809+00:00 + deletion_date: null + starred: false + collections: [1] +- model: analysis.analysis + pk: 2f86f324-911d-4194-97d1-fc7c3f5d0c72 + fields: + password: wwvph10ywdsh + inputs: + models: + frequentist_restricted: + - Multistage + frequentist_unrestricted: [] + options: + - bmr_type: 1 + bmr_value: 0.1 + confidence_level: 0.95 + datasets: + - ns: + - 20 + - 20 + - 20 + - 20 + - 20 + doses: + - 0 + - 50 + - 100 + - 200 + - 400 + dtype: D + metadata: + id: 0 + name: 'Dataset #1' + dose_name: Dose + dose_units: '' + response_name: Incidence + response_units: '' + incidences: + - 0 + - 1 + - 2 + - 10 + - 19 + - ns: + - 20 + - 20 + - 20 + - 20 + - 20 + doses: + - 0 + - 50 + - 100 + - 200 + - 400 + dtype: D + metadata: + id: 1 + name: 'Dataset #2' + dose_name: Dose + dose_units: '' + response_name: Incidence + response_units: '' + incidences: + - 0 + - 1 + - 3 + - 5 + - 6 + recommender: + rules: + - threshold: 0.1 + rule_class: gof + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: dof_zero + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 1 + rule_class: high_bmd + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: warnings + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1 + rule_class: high_bmdl + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2 + rule_class: roi_large + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: gof_cancer + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: null + rule_class: aic_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmd_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: roi_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdl_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdu_missing + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 10 + rule_class: low_bmd_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3 + rule_class: low_bmd_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_fit + failure_bin: 1 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 10 + rule_class: low_bmdl_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3 + rule_class: low_bmdl_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_type + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1.5 + rule_class: control_stdev_fit + failure_bin: 0 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 20 + rule_class: bmd_bmdl_ratio_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3 + rule_class: bmd_bmdl_ratio_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2 + rule_class: control_residual_high + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + enabled: true + recommend_viable: true + recommend_questionable: false + sufficiently_close_bmdl: 3 + dataset_type: MT + analysis_name: multitumor + dataset_options: + - degree: 2 + enabled: true + dataset_id: 0 + - degree: 1 + enabled: true + dataset_id: 1 + outputs: + outputs: + - error: null + bayesian: null + frequentist: + id: null + name: '' + results: + ll: -65.01789894830823 + bmd: 51.77297186659022 + bmdl: 51.77297186659023 + bmdu: 51.77297186659023 + models: + - - name: Multistage 2 + results: + bmd: 78.63525152206421 + fit: + aic: 59.27563378066731 + chisq: 0.601399278809278 + bmd_dist: + - - 45.33634424618935 + - 46.78669231316711 + - 48.06942323547065 + - 49.22630989276004 + - 50.285335595243616 + - 51.26181853789532 + - 52.17092252522134 + - 53.02253781721463 + - 53.824161134987925 + - 54.58159302766642 + - 55.3010980583069 + - 55.986545282476605 + - 56.640452002776456 + - 57.2674165906324 + - 57.86809306140929 + - 58.446935646969145 + - 59.003855451743526 + - 59.54223935133859 + - 60.06160286393276 + - 60.5650613898315 + - 61.05264163373799 + - 61.525502823023345 + - 61.98564841789923 + - 62.43217622983425 + - 62.867096974928906 + - 63.29165128978174 + - 63.70503008126612 + - 64.10834607036358 + - 64.50218644201084 + - 64.88573711750179 + - 65.26037272226772 + - 65.62762148293751 + - 65.98701503831707 + - 66.33846835723341 + - 66.68277489048184 + - 67.02059668327144 + - 67.35121846733225 + - 67.67494764745189 + - 67.99250424442043 + - 68.30459400636659 + - 68.61080310965518 + - 68.91096334877903 + - 69.2055507704823 + - 69.49504142150919 + - 69.77977994517018 + - 70.05914456728533 + - 70.3332919104713 + - 70.60260781953546 + - 70.8674781392852 + - 71.12827192601374 + - 71.38468650733593 + - 71.63657048699494 + - 71.88406671749502 + - 72.1273180513404 + - 72.36646734103532 + - 72.60164197823762 + - 72.83271116713324 + - 73.0596226982671 + - 73.28239567122043 + - 73.5010491855744 + - 73.71560234091022 + - 73.92607423680913 + - 74.1325629782257 + - 74.33532847479682 + - 74.5342109032595 + - 74.72900658355198 + - 74.91951183561243 + - 75.10552297937907 + - 75.28683633479011 + - 75.46324822178376 + - 75.63444944884897 + - 75.80013576269494 + - 75.96059695800452 + - 76.1161596653804 + - 76.26715051542527 + - 76.4138961387418 + - 76.55672316593271 + - 76.69595822760067 + - 76.83192795434836 + - 76.96495897677848 + - 77.09522764628842 + - 77.21993549837774 + - 77.33844753916257 + - 77.45146699123941 + - 77.55969707720479 + - 77.66384101965515 + - 77.76460204118703 + - 77.86268336439693 + - 77.95878821188134 + - 78.05361980623674 + - 78.14788137005965 + - 78.24227612594656 + - 78.33750729649398 + - 78.4342781042984 + - 78.5332917719563 + - 78.63525152206421 + - 78.73877717095897 + - 78.84207037691235 + - 78.94520712542311 + - 79.0482634019901 + - 79.15131519211212 + - 79.25443848128796 + - 79.35770925501647 + - 79.46120349879642 + - 79.56499719812662 + - 79.66916633850589 + - 79.77378690543306 + - 79.87893488440689 + - 79.98468626092622 + - 80.09111702048986 + - 80.19830314859662 + - 80.30601595447379 + - 80.41390195440663 + - 80.52203129496421 + - 80.63047707676256 + - 80.73931240041767 + - 80.84861036654554 + - 80.95844407576213 + - 81.06888662868347 + - 81.18001112592556 + - 81.29189066810436 + - 81.40459835583587 + - 81.51820728973613 + - 81.63279057042107 + - 81.74842129850673 + - 81.86508046480122 + - 81.98218830746833 + - 82.09973197626495 + - 82.21783521455892 + - 82.33662176571809 + - 82.45621537311033 + - 82.57673978010345 + - 82.6983187300653 + - 82.82107596636374 + - 82.9451352323666 + - 83.07062027144173 + - 83.19765482695698 + - 83.32636264228019 + - 83.45686441830334 + - 83.58849004054117 + - 83.72081601934048 + - 83.85406809328857 + - 83.98847200097283 + - 84.1242534809806 + - 84.26163827189922 + - 84.40085211231604 + - 84.5421207408184 + - 84.68566989599368 + - 84.83172531642921 + - 84.98051274071233 + - 85.13224622961303 + - 85.28575287323143 + - 85.44045503780761 + - 85.59680643134 + - 85.755260761827 + - 85.91627173726702 + - 86.08029306565848 + - 86.24777845499978 + - 86.41918161328928 + - 86.59495624852546 + - 86.7755560687067 + - 86.96018402208549 + - 87.14662537822203 + - 87.33575993627443 + - 87.52859758907509 + - 87.72614822945644 + - 87.9294217502509 + - 88.13942804429091 + - 88.3571770044089 + - 88.58361826047462 + - 88.81495914856664 + - 89.05015001984675 + - 89.2915763690674 + - 89.54162369098108 + - 89.80267748034028 + - 90.07712323189742 + - 90.36719476317484 + - 90.66581407848139 + - 90.97245613536491 + - 91.29330708158854 + - 91.63455306491542 + - 92.00238023310875 + - 92.395310511888 + - 92.80020783981469 + - 93.23399386576232 + - 93.71583153994465 + - 94.2549971143723 + - 94.82715943989012 + - 95.47760346537859 + - 96.26436505244985 + - 97.17952353274815 + - - 0.025 + - 0.03 + - 0.035 + - 0.04 + - 0.045 + - 0.05 + - 0.055 + - 0.06 + - 0.065 + - 0.07 + - 0.075 + - 0.08 + - 0.085 + - 0.09 + - 0.095 + - 0.1 + - 0.105 + - 0.11 + - 0.115 + - 0.12 + - 0.125 + - 0.13 + - 0.135 + - 0.14 + - 0.145 + - 0.15 + - 0.155 + - 0.16 + - 0.165 + - 0.17 + - 0.175 + - 0.18 + - 0.185 + - 0.19 + - 0.195 + - 0.2 + - 0.205 + - 0.21 + - 0.215 + - 0.22 + - 0.225 + - 0.23 + - 0.235 + - 0.24 + - 0.245 + - 0.25 + - 0.255 + - 0.26 + - 0.265 + - 0.27 + - 0.275 + - 0.28 + - 0.285 + - 0.29 + - 0.295 + - 0.3 + - 0.305 + - 0.31 + - 0.315 + - 0.32 + - 0.325 + - 0.33 + - 0.335 + - 0.34 + - 0.345 + - 0.35 + - 0.355 + - 0.36 + - 0.365 + - 0.37 + - 0.375 + - 0.38 + - 0.385 + - 0.39 + - 0.395 + - 0.4 + - 0.405 + - 0.41 + - 0.415 + - 0.42 + - 0.425 + - 0.43 + - 0.435 + - 0.44 + - 0.445 + - 0.45 + - 0.455 + - 0.46 + - 0.465 + - 0.47 + - 0.475 + - 0.48 + - 0.485 + - 0.49 + - 0.495 + - 0.5 + - 0.505 + - 0.51 + - 0.515 + - 0.52 + - 0.525 + - 0.53 + - 0.535 + - 0.54 + - 0.545 + - 0.55 + - 0.555 + - 0.56 + - 0.565 + - 0.57 + - 0.575 + - 0.58 + - 0.585 + - 0.59 + - 0.595 + - 0.6 + - 0.605 + - 0.61 + - 0.615 + - 0.62 + - 0.625 + - 0.63 + - 0.635 + - 0.64 + - 0.645 + - 0.65 + - 0.655 + - 0.66 + - 0.665 + - 0.67 + - 0.675 + - 0.68 + - 0.685 + - 0.69 + - 0.695 + - 0.7 + - 0.705 + - 0.71 + - 0.715 + - 0.72 + - 0.725 + - 0.73 + - 0.735 + - 0.74 + - 0.745 + - 0.75 + - 0.755 + - 0.76 + - 0.765 + - 0.77 + - 0.775 + - 0.78 + - 0.785 + - 0.79 + - 0.795 + - 0.8 + - 0.805 + - 0.81 + - 0.815 + - 0.82 + - 0.825 + - 0.83 + - 0.835 + - 0.84 + - 0.845 + - 0.85 + - 0.855 + - 0.86 + - 0.865 + - 0.87 + - 0.875 + - 0.88 + - 0.885 + - 0.89 + - 0.895 + - 0.9 + - 0.905 + - 0.91 + - 0.915 + - 0.92 + - 0.925 + - 0.93 + - 0.935 + - 0.94 + - 0.945 + - 0.95 + - 0.955 + - 0.96 + - 0.965 + - 0.97 + - 0.975 + model_df: 3.0000000000000013 + total_df: 0.0 + bic_equiv: -8.133939546006413 + loglikelihood: -28.637816890333657 + gof: + df: 4.0 + roi: -0.6971667449689476 + p_value: 0.962908068352976 + eb_lower: + - 0.004574749374156553 + - 0.0026155551366913435 + - 0.017512638773429286 + - 0.2785367024207322 + - 0.7305562544285329 + eb_upper: + - 0.15655040867866274 + - 0.242397087110846 + - 0.3113874876688261 + - 0.7214632975792677 + - 1.02443110332393 + expected: + - 3.0459959043967004e-07 + - 0.8340582800168939 + - 3.133278046649771 + - 9.883442004599267 + - 18.690694069285584 + residual: + - -0.0005519054222226083 + - 0.18561253596144192 + - -0.6971667449689476 + - 0.052129861448281814 + - 0.27962111500820286 + test_statistic: 0.601399278809278 + bmdl: 51.26181853789532 + bmdu: 93.71583153994465 + deviance: + df: + - -9999 + - 4 + - 4 + ll: + - -28.30521281286277 + - -28.637816890333657 + - -62.686945757242626 + names: + - Full model + - Fitted model + - Reduced model + params: + - 5 + - 1 + - 1 + p_value: + - -9999.0 + - 0.9555491318869709 + - 4.141131881851834e-14 + deviance: + - -9999.0 + - 0.665208154941773 + - 68.76346588875971 + plotting: + dr_x: + - 1.0e-08 + - 4.040404040404041 + - 8.080808080808081 + - 12.121212121212121 + - 16.161616161616163 + - 20.202020202020204 + - 24.242424242424242 + - 28.282828282828284 + - 32.323232323232325 + - 36.36363636363637 + - 40.40404040404041 + - 44.44444444444445 + - 48.484848484848484 + - 52.525252525252526 + - 56.56565656565657 + - 60.60606060606061 + - 64.64646464646465 + - 68.68686868686869 + - 72.72727272727273 + - 76.76767676767678 + - 80.80808080808082 + - 84.84848484848486 + - 88.8888888888889 + - 92.92929292929294 + - 96.96969696969697 + - 101.01010101010101 + - 105.05050505050505 + - 109.0909090909091 + - 113.13131313131314 + - 117.17171717171718 + - 121.21212121212122 + - 125.25252525252526 + - 129.2929292929293 + - 133.33333333333334 + - 137.37373737373738 + - 141.41414141414143 + - 145.45454545454547 + - 149.4949494949495 + - 153.53535353535355 + - 157.5757575757576 + - 161.61616161616163 + - 165.65656565656568 + - 169.69696969696972 + - 173.73737373737376 + - 177.7777777777778 + - 181.81818181818184 + - 185.85858585858588 + - 189.89898989898992 + - 193.93939393939394 + - 197.97979797979798 + - 202.02020202020202 + - 206.06060606060606 + - 210.1010101010101 + - 214.14141414141415 + - 218.1818181818182 + - 222.22222222222223 + - 226.26262626262627 + - 230.3030303030303 + - 234.34343434343435 + - 238.3838383838384 + - 242.42424242424244 + - 246.46464646464648 + - 250.50505050505052 + - 254.54545454545456 + - 258.5858585858586 + - 262.62626262626264 + - 266.6666666666667 + - 270.7070707070707 + - 274.74747474747477 + - 278.7878787878788 + - 282.82828282828285 + - 286.8686868686869 + - 290.90909090909093 + - 294.949494949495 + - 298.989898989899 + - 303.03030303030306 + - 307.0707070707071 + - 311.11111111111114 + - 315.1515151515152 + - 319.1919191919192 + - 323.23232323232327 + - 327.2727272727273 + - 331.31313131313135 + - 335.3535353535354 + - 339.39393939393943 + - 343.4343434343435 + - 347.4747474747475 + - 351.51515151515156 + - 355.5555555555556 + - 359.59595959595964 + - 363.6363636363637 + - 367.6767676767677 + - 371.71717171717177 + - 375.7575757575758 + - 379.79797979797985 + - 383.8383838383839 + - 387.8787878787879 + - 391.9191919191919 + - 395.95959595959596 + - 400.0 + dr_y: + - 1.5229979521983502e-08 + - 0.0002781354132059625 + - 0.0011120319439057828 + - 0.00250031405519186 + - 0.004440668097405934 + - 0.006929863963301561 + - 0.00996376404830085 + - 0.013537334711030802 + - 0.01764466018970826 + - 0.022278958920518975 + - 0.02743260219498485 + - 0.033097135084475766 + - 0.03926329955153284 + - 0.04592105965958915 + - 0.05305962878501646 + - 0.06066749872824433 + - 0.06873247061402177 + - 0.07724168746474305 + - 0.08618166832517697 + - 0.09553834381193424 + - 0.10529709295661235 + - 0.1154427812077796 + - 0.1259597994538144 + - 0.13683210392611656 + - 0.1480432568403517 + - 0.15957646763219038 + - 0.17141463464344708 + - 0.1835403871146147 + - 0.19593612734051555 + - 0.20858407284713804 + - 0.2214662984496821 + - 0.23456477805438372 + - 0.2478614260697999 + - 0.261338138296893 + - 0.2749768321714269 + - 0.2887594862368458 + - 0.3026681787309282 + - 0.3166851251750431 + - 0.33079271486076683 + - 0.34497354613489445 + - 0.3592104603904727 + - 0.37348657467834495 + - 0.38778531286080126 + - 0.40209043523621885 + - 0.4163860665710288 + - 0.4306567224829065 + - 0.4448873341267239 + - 0.459063271142466 + - 0.4731703628319911 + - 0.48719491753913396 + - 0.5011237402151955 + - 0.5149441481593064 + - 0.5286439849304269 + - 0.5422116324348547 + - 0.5556360212000128 + - 0.5689066388519398 + - 0.5820135368203063 + - 0.5949473353008781 + - 0.6076992265111493 + - 0.6202609762803303 + - 0.6326249240199932 + - 0.6447839811264404 + - 0.6567316278702405 + - 0.6684619088323832 + - 0.6799694269501143 + - 0.691249336238724 + - 0.7022973332583902 + - 0.7131096473975861 + - 0.723683030046597 + - 0.7340147427363123 + - 0.7441025443187106 + - 0.7539446772663175 + - 0.7635398531684136 + - 0.7728872375019075 + - 0.7819864337545862 + - 0.7908374669779107 + - 0.7994407668456783 + - 0.8077971502937182 + - 0.8159078038143528 + - 0.8237742654776643 + - 0.83139840674966 + - 0.8387824141752726 + - 0.8459287709917556 + - 0.8528402387354858 + - 0.8595198389024642 + - 0.8659708347199514 + - 0.8721967130836835 + - 0.8782011667120366 + - 0.8839880765653324 + - 0.8895614945752467 + - 0.8949256267260064 + - 0.9000848165257518 + - 0.9050435289031274 + - 0.90980633456086 + - 0.9143778948147909 + - 0.9187629469435908 + - 0.9229662900711806 + - 0.9269927716007602 + - 0.9308472742162867 + - 0.9345347034642791 + bmd_y: 0.10000001218560156 + bmdl_y: 0.043786989461125095 + bmdu_y: 0.13898851841285934 + parameters: + se: + - -9999.0 + - -9999.0 + - 0.5659731174405659 + cov: + - - 2.0811801876481856e-09 + - 2.832717477511382e-11 + - -4.564038811264574e-11 + - - 2.8327174775113966e-11 + - 9.763721958692883e-12 + - -1.9136204564535757e-11 + - - -4.564038811264577e-11 + - -1.9136204564535757e-11 + - 0.3203255696653926 + names: + - g + - b1 + - b2 + values: + - 1.5229979521983502e-08 + - 0.0 + - 1.7038969283745903e-05 + bounded: + - 1.0 + - 1.0 + - 0.0 + lower_ci: + - -9999.0 + - -9999.0 + - -1.1092698961819976 + upper_ci: + - -9999.0 + - -9999.0 + - 1.109303974120565 + prior_type: + - 0 + - 0 + - 0 + prior_stdev: + - 0.0 + - 0.0 + - 0.0 + prior_max_value: + - 18.0 + - 10000.0 + - 10000.0 + prior_min_value: + - -18.0 + - 0.0 + - 0.0 + prior_initial_value: + - -17.0 + - 0.1 + - 0.1 + slope_factor: 0.0019507696537545767 + has_completed: true + settings: + bmr: 0.1 + name: '' + alpha: 0.05 + burnin: 20 + degree: 2 + priors: + priors: + - name: g + type: 0 + stdev: 0.0 + max_value: 18.0 + min_value: -18.0 + initial_value: -17.0 + - name: b1 + type: 0 + stdev: 0.0 + max_value: 10000.0 + min_value: 0.0 + initial_value: 0.1 + - name: bN + type: 0 + stdev: 0.0 + max_value: 10000.0 + min_value: 0.0 + initial_value: 0.1 + overrides: null + prior_class: 1 + variance_priors: null + samples: 100 + bmr_type: 1 + model_class: + id: 6 + params: + - g + - b1 + - bN + verbose: Multistage + model_form_str: P[dose] = g + (1 - g) * (1 - exp(-b1 * dose^1 - b2 * dose^2 - ...)) + - - name: Multistage 1 + results: + bmd: 91.38813018798828 + fit: + aic: 74.76016411594915 + chisq: 1.0136338655270523 + bmd_dist: + - - 57.14758632541228 + - 58.16645614149506 + - 59.068860163033946 + - 59.88495582921687 + - 60.63490771705408 + - 61.33393917750094 + - 61.98599015817755 + - 62.60431228178207 + - 63.18855263326593 + - 63.74773829323951 + - 64.28087312761281 + - 64.79348173732292 + - 65.28808310872417 + - 65.7642553837397 + - 66.22768084932032 + - 66.67822310641637 + - 67.11594144049484 + - 67.54318519902324 + - 67.95903640682674 + - 68.36406841827082 + - 68.76117440918429 + - 69.15195497756157 + - 69.53485586075217 + - 69.9108094934258 + - 70.28093257133531 + - 70.64486834093134 + - 71.00230960968705 + - 71.35441362096422 + - 71.70233761812469 + - 72.04600196924558 + - 72.38481900176805 + - 72.71942156409378 + - 73.05044385819339 + - 73.37812819740603 + - 73.70163234580977 + - 74.02155909992766 + - 74.3386690563539 + - 74.65372281168264 + - 74.96680873626441 + - 75.2774166193886 + - 75.58560431008748 + - 75.89143152208888 + - 76.19495796839382 + - 76.49565912352666 + - 76.79346681654468 + - 77.0891210276326 + - 77.38336173697515 + - 77.67692892475705 + - 77.97011058558114 + - 78.26220982291412 + - 78.55325914924471 + - 78.84333329782382 + - 79.13250700190238 + - 79.4208232499225 + - 79.70790642151877 + - 79.99388273209568 + - 80.27908414053633 + - 80.5638426057237 + - 80.8484900865409 + - 81.13331365826903 + - 81.41821174354776 + - 81.70291302092629 + - 81.98714828298672 + - 82.27064832231115 + - 82.55314393148169 + - 82.83426346211584 + - 83.11396128002562 + - 83.39274806830964 + - 83.67114532483774 + - 83.94967454747972 + - 84.2288572341054 + - 84.50878470474062 + - 84.78879986553865 + - 85.06901929041555 + - 85.34959509222595 + - 85.63067938382444 + - 85.91242427806559 + - 86.19499409520387 + - 86.47841816589552 + - 86.76249011069969 + - 87.04699176301926 + - 87.33170495625716 + - 87.61641152381621 + - 87.900776914273 + - 88.1841367234051 + - 88.46709274498811 + - 88.75045231757521 + - 89.03502277971967 + - 89.32161146997467 + - 89.61101370853261 + - 89.90323253312644 + - 90.19766982499544 + - 90.49385191027787 + - 90.79130511511198 + - 91.08955576563604 + - 91.38813018798828 + - 91.68673900554715 + - 91.98571002657867 + - 92.28549535455247 + - 92.58654709293819 + - 92.88931734520548 + - 93.194258214824 + - 93.50127738352941 + - 93.80990914398545 + - 94.120272747869 + - 94.43249031767724 + - 94.7466839759074 + - 95.06297584505664 + - 95.38119639529957 + - 95.70117305784468 + - 96.02312979727151 + - 96.34729158993885 + - 96.67388341220548 + - 97.00312825567958 + - 97.33472441194026 + - 97.66851631483148 + - 98.00477250025037 + - 98.34376150409399 + - 98.68575186225944 + - 99.03095622065925 + - 99.37885956792239 + - 99.72952321224024 + - 100.08327426466448 + - 100.4404398362468 + - 100.80134703803887 + - 101.165972192399 + - 101.53376031162918 + - 101.90506754917281 + - 102.28029955110296 + - 102.65986196349274 + - 103.0440550381222 + - 103.43196346162406 + - 103.8238528079739 + - 104.22045927077757 + - 104.6225190436409 + - 105.0307479912715 + - 105.44443728778059 + - 105.86335697853382 + - 106.28813249412224 + - 106.71938926513684 + - 107.15757943975679 + - 107.59803975868701 + - 108.04282082534849 + - 108.4978936200713 + - 108.9692291231855 + - 109.4612793297715 + - 109.96904697021196 + - 110.49294561197715 + - 111.03484338310652 + - 111.59659753423168 + - 112.17868261319133 + - 112.77903828844691 + - 113.39534264694177 + - 114.02174780517885 + - 114.65367150479146 + - 115.31184047757554 + - 116.01871044933674 + - 116.78166939425887 + - 117.58279984031803 + - 118.40259217489452 + - 119.23543936049256 + - 120.09508289946393 + - 120.99392022288032 + - 121.9279443590267 + - 122.9041695609281 + - 123.92572814251102 + - 124.99361697990265 + - 126.1167171319441 + - 127.29371812453294 + - 128.52998865449732 + - 129.82491067526553 + - 131.19563445281045 + - 132.64348068296528 + - 134.18066513714115 + - 135.81330930981852 + - 137.5550562457294 + - 139.4147583434765 + - 141.40527351673472 + - 143.5547083485672 + - 145.8780536769186 + - 148.4056806920371 + - 151.168836064194 + - 154.21307509026624 + - 157.54599909211333 + - 161.35402541247424 + - 165.650058340114 + - 170.55602767507173 + - 176.276801870311 + - 183.07979682648207 + - 191.405109110285 + - 201.95473129238252 + - - 0.025 + - 0.03 + - 0.035 + - 0.04 + - 0.045 + - 0.05 + - 0.055 + - 0.06 + - 0.065 + - 0.07 + - 0.075 + - 0.08 + - 0.085 + - 0.09 + - 0.095 + - 0.1 + - 0.105 + - 0.11 + - 0.115 + - 0.12 + - 0.125 + - 0.13 + - 0.135 + - 0.14 + - 0.145 + - 0.15 + - 0.155 + - 0.16 + - 0.165 + - 0.17 + - 0.175 + - 0.18 + - 0.185 + - 0.19 + - 0.195 + - 0.2 + - 0.205 + - 0.21 + - 0.215 + - 0.22 + - 0.225 + - 0.23 + - 0.235 + - 0.24 + - 0.245 + - 0.25 + - 0.255 + - 0.26 + - 0.265 + - 0.27 + - 0.275 + - 0.28 + - 0.285 + - 0.29 + - 0.295 + - 0.3 + - 0.305 + - 0.31 + - 0.315 + - 0.32 + - 0.325 + - 0.33 + - 0.335 + - 0.34 + - 0.345 + - 0.35 + - 0.355 + - 0.36 + - 0.365 + - 0.37 + - 0.375 + - 0.38 + - 0.385 + - 0.39 + - 0.395 + - 0.4 + - 0.405 + - 0.41 + - 0.415 + - 0.42 + - 0.425 + - 0.43 + - 0.435 + - 0.44 + - 0.445 + - 0.45 + - 0.455 + - 0.46 + - 0.465 + - 0.47 + - 0.475 + - 0.48 + - 0.485 + - 0.49 + - 0.495 + - 0.5 + - 0.505 + - 0.51 + - 0.515 + - 0.52 + - 0.525 + - 0.53 + - 0.535 + - 0.54 + - 0.545 + - 0.55 + - 0.555 + - 0.56 + - 0.565 + - 0.57 + - 0.575 + - 0.58 + - 0.585 + - 0.59 + - 0.595 + - 0.6 + - 0.605 + - 0.61 + - 0.615 + - 0.62 + - 0.625 + - 0.63 + - 0.635 + - 0.64 + - 0.645 + - 0.65 + - 0.655 + - 0.66 + - 0.665 + - 0.67 + - 0.675 + - 0.68 + - 0.685 + - 0.69 + - 0.695 + - 0.7 + - 0.705 + - 0.71 + - 0.715 + - 0.72 + - 0.725 + - 0.73 + - 0.735 + - 0.74 + - 0.745 + - 0.75 + - 0.755 + - 0.76 + - 0.765 + - 0.77 + - 0.775 + - 0.78 + - 0.785 + - 0.79 + - 0.795 + - 0.8 + - 0.805 + - 0.81 + - 0.815 + - 0.82 + - 0.825 + - 0.83 + - 0.835 + - 0.84 + - 0.845 + - 0.85 + - 0.855 + - 0.86 + - 0.865 + - 0.87 + - 0.875 + - 0.88 + - 0.885 + - 0.89 + - 0.895 + - 0.9 + - 0.905 + - 0.91 + - 0.915 + - 0.92 + - 0.925 + - 0.93 + - 0.935 + - 0.94 + - 0.945 + - 0.95 + - 0.955 + - 0.96 + - 0.965 + - 0.97 + - 0.975 + model_df: 1.9999999999999996 + total_df: 0.0 + bic_equiv: -26.28835463238721 + loglikelihood: -36.380082057974576 + gof: + df: 4.0 + roi: 0.5901800255607844 + p_value: 0.9077216516481352 + eb_lower: + - 0.004574749374156553 + - 0.0026155551366913435 + - 0.03956627170255543 + - 0.09593259186960579 + - 0.12839086254092374 + eb_upper: + - 0.15655040867866274 + - 0.242397087110846 + - 0.373221338934418 + - 0.48462998715680383 + - 0.536059200680204 + expected: + - 3.0459959287952187e-07 + - 1.1202913200867777 + - 2.177829736649177 + - 4.118512113331943 + - 7.38891693321425 + residual: + - -0.000551905424432998 + - -0.11697314286881606 + - 0.5901800255607844 + - 0.4874337301115071 + - -0.6434646384639179 + test_statistic: 1.0136338655270523 + bmdl: 61.33393917750094 + bmdu: 165.650058340114 + deviance: + df: + - -9999 + - 4 + - 4 + ll: + - -35.8884755565113 + - -36.380082057974576 + - -42.27090878059908 + names: + - Full model + - Fitted model + - Reduced model + params: + - 5 + - 1 + - 1 + p_value: + - -9999.0 + - 0.9123306740470177 + - 0.012483719361815027 + deviance: + - -9999.0 + - 0.9832130029265471 + - 12.764866448175553 + plotting: + dr_x: + - 1.0e-08 + - 4.040404040404041 + - 8.080808080808081 + - 12.121212121212121 + - 16.161616161616163 + - 20.202020202020204 + - 24.242424242424242 + - 28.282828282828284 + - 32.323232323232325 + - 36.36363636363637 + - 40.40404040404041 + - 44.44444444444445 + - 48.484848484848484 + - 52.525252525252526 + - 56.56565656565657 + - 60.60606060606061 + - 64.64646464646465 + - 68.68686868686869 + - 72.72727272727273 + - 76.76767676767678 + - 80.80808080808082 + - 84.84848484848486 + - 88.8888888888889 + - 92.92929292929294 + - 96.96969696969697 + - 101.01010101010101 + - 105.05050505050505 + - 109.0909090909091 + - 113.13131313131314 + - 117.17171717171718 + - 121.21212121212122 + - 125.25252525252526 + - 129.2929292929293 + - 133.33333333333334 + - 137.37373737373738 + - 141.41414141414143 + - 145.45454545454547 + - 149.4949494949495 + - 153.53535353535355 + - 157.5757575757576 + - 161.61616161616163 + - 165.65656565656568 + - 169.69696969696972 + - 173.73737373737376 + - 177.7777777777778 + - 181.81818181818184 + - 185.85858585858588 + - 189.89898989898992 + - 193.93939393939394 + - 197.97979797979798 + - 202.02020202020202 + - 206.06060606060606 + - 210.1010101010101 + - 214.14141414141415 + - 218.1818181818182 + - 222.22222222222223 + - 226.26262626262627 + - 230.3030303030303 + - 234.34343434343435 + - 238.3838383838384 + - 242.42424242424244 + - 246.46464646464648 + - 250.50505050505052 + - 254.54545454545456 + - 258.5858585858586 + - 262.62626262626264 + - 266.6666666666667 + - 270.7070707070707 + - 274.74747474747477 + - 278.7878787878788 + - 282.82828282828285 + - 286.8686868686869 + - 290.90909090909093 + - 294.949494949495 + - 298.989898989899 + - 303.03030303030306 + - 307.0707070707071 + - 311.11111111111114 + - 315.1515151515152 + - 319.1919191919192 + - 323.23232323232327 + - 327.2727272727273 + - 331.31313131313135 + - 335.3535353535354 + - 339.39393939393943 + - 343.4343434343435 + - 347.4747474747475 + - 351.51515151515156 + - 355.5555555555556 + - 359.59595959595964 + - 363.6363636363637 + - 367.6767676767677 + - 371.71717171717177 + - 375.7575757575758 + - 379.79797979797985 + - 383.8383838383839 + - 387.8787878787879 + - 391.9191919191919 + - 395.95959595959596 + - 400.0 + dr_y: + - 1.5241508532755124e-08 + - 0.004647326495871699 + - 0.00927304025943273 + - 0.013877256890980154 + - 0.018460076294379298 + - 0.023021597909211097 + - 0.027561920712929833 + - 0.03208114322301074 + - 0.03657936349908752 + - 0.04105667914508051 + - 0.04551318731131402 + - 0.04994898469662462 + - 0.05436416755045937 + - 0.05875883167496392 + - 0.06313307242706183 + - 0.06748698472052317 + - 0.0718206630280243 + - 0.07613420138319743 + - 0.08042769338267147 + - 0.08470123218810241 + - 0.08895491052819521 + - 0.09318882070071544 + - 0.09740305457449257 + - 0.10159770359141261 + - 0.10577285876840307 + - 0.10992861069940713 + - 0.11406504955734988 + - 0.1181822650960946 + - 0.12228034665239063 + - 0.12635938314781137 + - 0.13041946309068436 + - 0.13446067457801106 + - 0.13848310529737876 + - 0.14248684252886343 + - 0.14647197314692315 + - 0.1504385836222835 + - 0.1543867600238134 + - 0.15831658802039347 + - 0.16222815288277376 + - 0.16612153948542505 + - 0.16999683230837973 + - 0.1738541154390654 + - 0.17769347257412918 + - 0.18151498702125357 + - 0.1853187417009645 + - 0.18910481914843066 + - 0.19287330151525356 + - 0.19662427057125115 + - 0.20035780770623132 + - 0.20407399393175824 + - 0.20777290988290997 + - 0.21145463582002866 + - 0.2151192516304612 + - 0.2187668368302933 + - 0.22239747056607492 + - 0.2260112316165368 + - 0.2296081983943009 + - 0.23318844894758106 + - 0.23675206096187681 + - 0.2402991117616591 + - 0.24382967831204783 + - 0.24734383722048198 + - 0.25084166473838215 + - 0.2543232367628047 + - 0.2577886288380886 + - 0.2612379161574952 + - 0.2646711735648387 + - 0.2680884755561114 + - 0.2714898962810994 + - 0.2748755095449912 + - 0.2782453888099801 + - 0.28159960719685767 + - 0.2849382374866003 + - 0.28826135212194837 + - 0.29156902320897854 + - 0.2948613225186681 + - 0.2981383214884518 + - 0.3014000912237732 + - 0.30464670249962594 + - 0.3078782257620907 + - 0.3110947311298629 + - 0.3142962883957751 + - 0.3174829670283105 + - 0.3206548361731106 + - 0.3238119646544755 + - 0.32695442097685773 + - 0.33008227332634793 + - 0.33319558957215495 + - 0.33629443726807806 + - 0.33937888365397345 + - 0.3424489956572122 + - 0.3455048398941335 + - 0.34854648267148947 + - 0.3515739899878842 + - 0.3545874275352055 + - 0.35758686070005075 + - 0.3605723545651454 + - 0.3635439739107554 + - 0.3665017832160921 + - 0.3694458466607125 + bmd_y: 0.10000001064149185 + bmdl_y: 0.06826918813677094 + bmdu_y: 0.17384791748459463 + parameters: + se: + - -9999.0 + - 0.11959343189111264 + cov: + - - 3.038523071129577e-09 + - 7.596307677823943e-12 + - - 7.596307677823943e-12 + - 0.014302588951494197 + names: + - g + - b1 + values: + - 1.5229979643976093e-08 + - 0.0011528905563008736 + bounded: + - 1.0 + - 0.0 + lower_ci: + - -9999.0 + - -0.23324593058673182 + upper_ci: + - -9999.0 + - 0.2355517116993336 + prior_type: + - 0 + - 0 + prior_stdev: + - 0.0 + - 0.0 + prior_max_value: + - 18.0 + - 10000.0 + prior_min_value: + - -18.0 + - 0.0 + prior_initial_value: + - -17.0 + - 0.1 + slope_factor: 0.0016304186775057633 + has_completed: true + settings: + bmr: 0.1 + name: '' + alpha: 0.05 + burnin: 20 + degree: 1 + priors: + priors: + - name: g + type: 0 + stdev: 0.0 + max_value: 18.0 + min_value: -18.0 + initial_value: -17.0 + - name: b1 + type: 0 + stdev: 0.0 + max_value: 10000.0 + min_value: 0.0 + initial_value: 0.1 + - name: bN + type: 0 + stdev: 0.0 + max_value: 10000.0 + min_value: 0.0 + initial_value: 0.1 + overrides: null + prior_class: 1 + variance_priors: null + samples: 100 + bmr_type: 1 + model_class: + id: 6 + params: + - g + - b1 + - bN + verbose: Multistage + model_form_str: P[dose] = g + (1 - g) * (1 - exp(-b1 * dose^1 - b2 * dose^2 - ...)) + ll_constant: -53.61379314894958 + slope_factor: 0.001931509751027665 + valid_result: + - true + - true + selected_model_indexes: + - 0 + - 0 + version: + dll: 24.1a4 + python: 24.1a4 + datasets: + - ns: + - 20.0 + - 20.0 + - 20.0 + - 20.0 + - 20.0 + doses: + - 0.0 + - 50.0 + - 100.0 + - 200.0 + - 400.0 + dtype: D + metadata: + id: 0 + name: 'Dataset #1' + dose_name: Dose + dose_units: '' + response_name: Incidence + response_units: '' + plotting: + ll: + - 0.0 + - 0.04738444486330865 + - 0.08248736122657072 + - 0.22146329757926786 + - 0.21944374557146706 + ul: + - 0.2013036967280678 + - 0.22011260868308796 + - 0.231855636349626 + - 0.22188420743980153 + - 0.04823479657788965 + mean: + - 0.0 + - 0.05 + - 0.1 + - 0.5 + - 0.95 + incidences: + - 0.0 + - 1.0 + - 2.0 + - 10.0 + - 19.0 + - ns: + - 20.0 + - 20.0 + - 20.0 + - 20.0 + - 20.0 + doses: + - 0.0 + - 50.0 + - 100.0 + - 200.0 + - 400.0 + dtype: D + metadata: + id: 1 + name: 'Dataset #2' + dose_name: Dose + dose_units: '' + response_name: Incidence + response_units: '' + plotting: + ll: + - 0.0 + - 0.04738444486330865 + - 0.11043372829744455 + - 0.1540674081303942 + - 0.1716091374590763 + ul: + - 0.2013036967280678 + - 0.22011260868308796 + - 0.23914813387457254 + - 0.24457684926406958 + - 0.24375096761006304 + mean: + - 0.0 + - 0.05 + - 0.15 + - 0.25 + - 0.3 + incidences: + - 0.0 + - 1.0 + - 3.0 + - 5.0 + - 6.0 + settings: + bmr: 0.1 + alpha: 0.05 + degrees: + - 2 + - 1 + bmr_type: 1 + description: '' + option_index: 0 + dataset_index: -1 + analysis_id: 2f86f324-911d-4194-97d1-fc7c3f5d0c72 + bmds_ui_version: 24.1a4 + bmds_python_version: + dll: 24.1a4 + python: 24.1a4 + analysis_schema_version: '1.1' + errors: [] + created: 2024-08-22 15:26:02.720355+00:00 + last_updated: 2024-08-22 15:27:10.270515+00:00 + started: 2024-08-22 15:27:09.829957+00:00 + ended: 2024-08-22 15:27:10.270441+00:00 + deletion_date: null + starred: false + collections: [1] +- model: analysis.analysis + pk: 4459f728-05f7-4057-a27c-174822a0313d + fields: + password: kxah0mbxi9xz + inputs: + models: + frequentist_restricted: + - Nested Logistic + frequentist_unrestricted: [] + options: + - bmr_type: 1 + bmr_value: 0.1 + bootstrap_seed: 4 + confidence_level: 0.95 + bootstrap_iterations: 1000 + litter_specific_covariate: 1 + datasets: + - doses: + - 0 + - 0 + - 0 + - 0 + - 0 + - 0 + - 0 + - 0 + - 0 + - 0 + - 25 + - 25 + - 25 + - 25 + - 25 + - 25 + - 25 + - 25 + - 25 + - 25 + - 50 + - 50 + - 50 + - 50 + - 50 + - 50 + - 50 + - 50 + - 50 + - 50 + - 100 + - 100 + - 100 + - 100 + - 100 + - 100 + - 100 + - 100 + - 100 + dtype: ND + metadata: + id: 0 + name: 'Dataset #1' + dose_name: Dose + dose_units: '' + response_name: Incidence + response_units: '' + litter_ns: + - 16 + - 9 + - 15 + - 14 + - 13 + - 9 + - 10 + - 14 + - 10 + - 11 + - 14 + - 9 + - 14 + - 9 + - 13 + - 12 + - 10 + - 10 + - 11 + - 14 + - 11 + - 11 + - 14 + - 11 + - 10 + - 11 + - 10 + - 15 + - 7 + - 14 + - 11 + - 14 + - 12 + - 13 + - 12 + - 14 + - 11 + - 8 + - 10 + incidences: + - 1 + - 1 + - 2 + - 3 + - 3 + - 0 + - 2 + - 2 + - 1 + - 2 + - 4 + - 5 + - 6 + - 2 + - 6 + - 3 + - 1 + - 2 + - 4 + - 3 + - 4 + - 5 + - 5 + - 4 + - 5 + - 4 + - 5 + - 6 + - 2 + - 4 + - 6 + - 6 + - 8 + - 7 + - 8 + - 6 + - 6 + - 5 + - 4 + litter_covariates: + - 16 + - 9 + - 15 + - 14 + - 13 + - 9 + - 10 + - 14 + - 10 + - 11 + - 14 + - 9 + - 14 + - 9 + - 13 + - 12 + - 10 + - 10 + - 11 + - 14 + - 11 + - 11 + - 14 + - 11 + - 10 + - 11 + - 10 + - 15 + - 7 + - 14 + - 11 + - 14 + - 12 + - 13 + - 12 + - 14 + - 11 + - 8 + - 10 + recommender: + rules: + - threshold: 0.1 + rule_class: gof + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: dof_zero + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 1 + rule_class: high_bmd + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: warnings + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1 + rule_class: high_bmdl + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2 + rule_class: roi_large + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: gof_cancer + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: null + rule_class: aic_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmd_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: roi_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdl_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdu_missing + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 10 + rule_class: low_bmd_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3 + rule_class: low_bmd_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_fit + failure_bin: 1 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 10 + rule_class: low_bmdl_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3 + rule_class: low_bmdl_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_type + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1.5 + rule_class: control_stdev_fit + failure_bin: 0 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 20 + rule_class: bmd_bmdl_ratio_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3 + rule_class: bmd_bmdl_ratio_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2 + rule_class: control_residual_high + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + enabled: true + recommend_viable: true + recommend_questionable: false + sufficiently_close_bmdl: 3 + dataset_type: ND + analysis_name: Nested Dichotomous + dataset_options: + - enabled: true + dataset_id: 0 + outputs: + outputs: + - error: null + bayesian: null + frequentist: + id: null + name: '' + models: + - name: Nested Logistic (lsc-ilc-) + results: + ll: -269.6555150740736 + aic: 545.3110301481472 + bmd: 13.190689586371025 + cov: [] + dof: 36.0 + max: 0.0 + bmdl: 9.824944175804669 + bmdu: -9999.0 + litter: + lsc: + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 13.0 + - 14.0 + - 14.0 + - 15.0 + - 16.0 + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + - 14.0 + - 7.0 + - 10.0 + - 10.0 + - 11.0 + - 11.0 + - 11.0 + - 11.0 + - 14.0 + - 14.0 + - 15.0 + - 8.0 + - 10.0 + - 11.0 + - 11.0 + - 12.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + dose: + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + expected: + - 1.2972495266502748 + - 1.2972495266502748 + - 1.44138836294475 + - 1.44138836294475 + - 1.585527199239225 + - 1.8738048718281748 + - 2.01794370812265 + - 2.01794370812265 + - 2.162082544417125 + - 2.3062213807116 + - 2.6371733029718514 + - 2.6371733029718514 + - 2.9301925588576125 + - 2.9301925588576125 + - 3.223211814743374 + - 3.5162310706291353 + - 3.8092503265148965 + - 4.102269582400658 + - 4.102269582400658 + - 4.102269582400658 + - 2.7844468597316445 + - 3.977781228188064 + - 3.977781228188064 + - 4.37555935100687 + - 4.37555935100687 + - 4.37555935100687 + - 4.37555935100687 + - 5.568893719463289 + - 5.568893719463289 + - 5.9666718422820955 + - 4.283600847524182 + - 5.354501059405228 + - 5.88995116534575 + - 5.88995116534575 + - 6.425401271286273 + - 6.425401271286273 + - 6.960851377226796 + - 7.4963014831673185 + - 7.4963014831673185 + observed: + - 0 + - 1 + - 1 + - 2 + - 2 + - 3 + - 2 + - 3 + - 2 + - 1 + - 2 + - 5 + - 1 + - 2 + - 4 + - 3 + - 6 + - 3 + - 4 + - 6 + - 2 + - 5 + - 5 + - 4 + - 4 + - 4 + - 5 + - 4 + - 5 + - 6 + - 5 + - 4 + - 6 + - 6 + - 8 + - 8 + - 7 + - 6 + - 6 + litter_size: + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 13.0 + - 14.0 + - 14.0 + - 15.0 + - 16.0 + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + - 14.0 + - 7.0 + - 10.0 + - 10.0 + - 11.0 + - 11.0 + - 11.0 + - 11.0 + - 14.0 + - 14.0 + - 15.0 + - 8.0 + - 10.0 + - 11.0 + - 11.0 + - 12.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + scaled_residuals: + - -1.2311475367440066 + - -0.282103030308113 + - -0.39740077824330816 + - 0.5029418941190172 + - 0.35580129754770495 + - 0.8893030922951958 + - -0.013653877834260725 + - 0.7472745624264014 + - -0.11915120821693265 + - -0.9297466691650886 + - -0.46664266432513 + - 1.7304487493388778 + - -1.3410617135872924 + - -0.6462804041095469 + - 0.5145817691002957 + - -0.3274173158747677 + - 1.3349629305942796 + - -0.6472498106309951 + - -0.0600524308200282 + - 1.1143423288019054 + - -0.6057812090844346 + - 0.6604579023934435 + - 0.6604579023934435 + - -0.2313574698882441 + - -0.2313574698882441 + - -0.2313574698882441 + - 0.3846769046200133 + - -0.8567040017179789 + - -0.31064789154943717 + - 0.017581947025310324 + - 0.507848744109664 + - -0.8588229906190449 + - 0.06652937113731207 + - 0.06652937113731207 + - 0.9113885882211865 + - 0.9113885882211865 + - 0.02177053617443212 + - -0.80182464651563 + - -0.80182464651563 + estimated_probabilities: + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.5354501059405228 + - 0.5354501059405228 + - 0.5354501059405228 + - 0.5354501059405228 + - 0.5354501059405228 + - 0.5354501059405228 + - 0.5354501059405228 + - 0.5354501059405228 + - 0.5354501059405228 + bounded: + - false + - false + - true + - false + - true + - true + - true + - true + - true + reduced: + dose: + - 0.0 + - 25.0 + - 50.0 + - 100.0 + lower_ci: + - 0.10100315503114947 + - 0.2326626313965327 + - 0.34156249135142625 + - 0.463007664379106 + upper_ci: + - 0.19144442397339237 + - 0.39977302042386786 + - 0.4323002607115725 + - 0.6024021567374579 + prop_affected: + - 0.14049586776859505 + - 0.3103448275862069 + - 0.38596491228070173 + - 0.5333333333333333 + std_err: + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + lower_ci: [] + plotting: + dr_x: + - 1.0e-08 + - 1.0101010101010102 + - 2.0202020202020203 + - 3.0303030303030303 + - 4.040404040404041 + - 5.050505050505051 + - 6.0606060606060606 + - 7.070707070707071 + - 8.080808080808081 + - 9.090909090909092 + - 10.101010101010102 + - 11.111111111111112 + - 12.121212121212121 + - 13.131313131313131 + - 14.141414141414142 + - 15.151515151515152 + - 16.161616161616163 + - 17.171717171717173 + - 18.181818181818183 + - 19.191919191919194 + - 20.202020202020204 + - 21.212121212121215 + - 22.222222222222225 + - 23.232323232323235 + - 24.242424242424242 + - 25.252525252525253 + - 26.262626262626263 + - 27.272727272727273 + - 28.282828282828284 + - 29.292929292929294 + - 30.303030303030305 + - 31.313131313131315 + - 32.323232323232325 + - 33.333333333333336 + - 34.343434343434346 + - 35.35353535353536 + - 36.36363636363637 + - 37.37373737373738 + - 38.38383838383839 + - 39.3939393939394 + - 40.40404040404041 + - 41.41414141414142 + - 42.42424242424243 + - 43.43434343434344 + - 44.44444444444445 + - 45.45454545454546 + - 46.46464646464647 + - 47.47474747474748 + - 48.484848484848484 + - 49.494949494949495 + - 50.505050505050505 + - 51.515151515151516 + - 52.525252525252526 + - 53.535353535353536 + - 54.54545454545455 + - 55.55555555555556 + - 56.56565656565657 + - 57.57575757575758 + - 58.58585858585859 + - 59.5959595959596 + - 60.60606060606061 + - 61.61616161616162 + - 62.62626262626263 + - 63.63636363636364 + - 64.64646464646465 + - 65.65656565656566 + - 66.66666666666667 + - 67.67676767676768 + - 68.68686868686869 + - 69.6969696969697 + - 70.70707070707071 + - 71.71717171717172 + - 72.72727272727273 + - 73.73737373737374 + - 74.74747474747475 + - 75.75757575757576 + - 76.76767676767678 + - 77.77777777777779 + - 78.7878787878788 + - 79.7979797979798 + - 80.80808080808082 + - 81.81818181818183 + - 82.82828282828284 + - 83.83838383838385 + - 84.84848484848486 + - 85.85858585858587 + - 86.86868686868688 + - 87.87878787878789 + - 88.8888888888889 + - 89.89898989898991 + - 90.90909090909092 + - 91.91919191919193 + - 92.92929292929294 + - 93.93939393939395 + - 94.94949494949496 + - 95.95959595959597 + - 96.96969696969697 + - 97.97979797979798 + - 98.98989898989899 + - 100.0 + dr_y: + - 0.14413883636656802 + - 0.15135952358995516 + - 0.15845939192728292 + - 0.16544144852249335 + - 0.1723086016122852 + - 0.1790636644930362 + - 0.18570935936363706 + - 0.19224832098317157 + - 0.1986831001537685 + - 0.2050161670382964 + - 0.21124991432196732 + - 0.21738666022635061 + - 0.223428651383772 + - 0.2293780655795864 + - 0.23523701436935546 + - 0.24100754557753717 + - 0.24669164568389942 + - 0.2522912421034995 + - 0.25780820536572646 + - 0.2632443511975823 + - 0.2686014425160748 + - 0.27388119133431593 + - 0.2790852605856545 + - 0.284215265869926 + - 0.2892727771256715 + - 0.2942593202319621 + - 0.2991763785432612 + - 0.30402539436056847 + - 0.3088077703419107 + - 0.31352487085507563 + - 0.3181780232753307 + - 0.32276851923071903 + - 0.3272976157973867 + - 0.3317665366472642 + - 0.33617647315030524 + - 0.34052858543336584 + - 0.34482400339770214 + - 0.34906382769696187 + - 0.3532491306774458 + - 0.3573809572823282 + - 0.36146032592143695 + - 0.36548822930811425 + - 0.3694656352646024 + - 0.3733934874973275 + - 0.37727270634338417 + - 0.38110418948946423 + - 0.3848888126644061 + - 0.3886274303064889 + - 0.392320876206539 + - 0.3959699641278658 + - 0.3995754884039938 + - 0.40313822451511516 + - 0.4066589296441399 + - 0.4101383432131815 + - 0.4135771874012769 + - 0.41697616764410156 + - 0.42033597311640625 + - 0.4236572771978687 + - 0.4269407379230216 + - 0.43018699841588665 + - 0.43339668730992154 + - 0.43657041915385103 + - 0.4397087948039367 + - 0.442812401803208 + - 0.4458818147481591 + - 0.44891759564339273 + - 0.4519202942446688 + - 0.45489044839079895 + - 0.45782858432480816 + - 0.46073521700476505 + - 0.4636108504046678 + - 0.46645597780575326 + - 0.4692710820785856 + - 0.47205663595625974 + - 0.4748131022990474 + - 0.47754093435079564 + - 0.4802405759873757 + - 0.4829124619574694 + - 0.4855570181159659 + - 0.48817466165023315 + - 0.49076580129951847 + - 0.4933308375677136 + - 0.49587016292972674 + - 0.4983841620316765 + - 0.5008732118851273 + - 0.503337682055569 + - 0.5057779348453421 + - 0.5081943254711947 + - 0.5105872022366573 + - 0.5129569066994103 + - 0.5153037738338102 + - 0.5176281321887426 + - 0.5199303040409526 + - 0.5222106055440068 + - 0.524469346873029 + - 0.5267068323653502 + - 0.5289233606572065 + - 0.5311192248166143 + - 0.5332947124725455 + - 0.5354501059405228 + bmd_y: 0.22972495266502746 + bmdl_y: 0.20955592744390572 + bmdu_y: 0.14413883636656802 + upper_ci: [] + bic_equiv: 0.0 + bootstrap: + p50: + - 38.59575126231721 + - 38.578894271408615 + - 38.66797078349527 + - 38.60758324211405 + p90: + - 51.57012928089122 + - 50.10228004364533 + - 50.236382153536745 + - 50.63594874786141 + p95: + - 55.88390041939898 + - 53.54233633296547 + - 53.97902747327334 + - 54.61485437586501 + p99: + - 64.89228330659093 + - 62.77589916720912 + - 60.045574386183326 + - 62.75060008746096 + p_value: + - 0.999 + - 0.998 + - 0.995 + - 0.9973333333333333 + fixed_lsc: 11.692307692307692 + obs_chi_sq: 0.0 + parameters: + - 0.144138836294475 + - -4.7767358236974005 + - 0.0 + - 0.0 + - 1.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + chi_squared: 19.938229215282867 + has_completed: true + combined_pvalue: 0.9973333333333333 + parameter_names: + - g + - b + - theta1 + - theta2 + - rho + - phi1 + - phi2 + - phi3 + - phi4 + scaled_residuals: + avg: -0.3274173158747677 + max: -0.3274173158747677 + min: -0.3274173158747677 + avg_abs: 0.3274173158747677 + max_abs: 0.3274173158747677 + min_abs: 0.3274173158747677 + settings: + bmr: 0.1 + name: '' + alpha: 0.05 + priors: + priors: + - name: g + type: 0 + stdev: 0.0 + max_value: 1.0 + min_value: 0.0 + initial_value: 0.0 + - name: b + type: 0 + stdev: 0.0 + max_value: 1000000.0 + min_value: -1000000.0 + initial_value: 0.0 + - name: theta1 + type: 0 + stdev: 0.0 + max_value: 1.0 + min_value: 0.0 + initial_value: 0.0 + - name: theta2 + type: 0 + stdev: 0.0 + max_value: 1000000.0 + min_value: -1000000.0 + initial_value: 0.0 + - name: rho + type: 0 + stdev: 0.0 + max_value: 18.0 + min_value: 1.0 + initial_value: 0.0 + - name: phi + type: 0 + stdev: 0.0 + max_value: 1000000.0 + min_value: 0.0 + initial_value: 0.0 + overrides: null + prior_class: 1 + variance_priors: null + bmr_type: 1 + bootstrap_n: 3 + bootstrap_seed: 4 + estimate_background: true + bootstrap_iterations: 1000 + intralitter_correlation: 0 + litter_specific_covariate: 0 + model_class: + id: 1 + params: + - g + - b + - theta1 + - theta2 + - rho + - phi + verbose: Nested Logistic + model_form_str: P[dose] = ... + - name: Nested Logistic (lsc-ilc+) + results: + ll: -269.6555150740736 + aic: 545.3110301481472 + bmd: 13.190689586371025 + cov: [] + dof: 36.0 + max: 0.0 + bmdl: 9.824944175804765 + bmdu: -9999.0 + litter: + lsc: + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 13.0 + - 14.0 + - 14.0 + - 15.0 + - 16.0 + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + - 14.0 + - 7.0 + - 10.0 + - 10.0 + - 11.0 + - 11.0 + - 11.0 + - 11.0 + - 14.0 + - 14.0 + - 15.0 + - 8.0 + - 10.0 + - 11.0 + - 11.0 + - 12.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + dose: + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + expected: + - 1.2972495266502748 + - 1.2972495266502748 + - 1.44138836294475 + - 1.44138836294475 + - 1.585527199239225 + - 1.8738048718281748 + - 2.01794370812265 + - 2.01794370812265 + - 2.162082544417125 + - 2.3062213807116 + - 2.6371733029718514 + - 2.6371733029718514 + - 2.9301925588576125 + - 2.9301925588576125 + - 3.223211814743374 + - 3.5162310706291353 + - 3.8092503265148965 + - 4.102269582400658 + - 4.102269582400658 + - 4.102269582400658 + - 2.7844468597316445 + - 3.977781228188064 + - 3.977781228188064 + - 4.37555935100687 + - 4.37555935100687 + - 4.37555935100687 + - 4.37555935100687 + - 5.568893719463289 + - 5.568893719463289 + - 5.9666718422820955 + - 4.283600847524182 + - 5.354501059405228 + - 5.88995116534575 + - 5.88995116534575 + - 6.425401271286273 + - 6.425401271286273 + - 6.960851377226796 + - 7.4963014831673185 + - 7.4963014831673185 + observed: + - 0 + - 1 + - 1 + - 2 + - 2 + - 3 + - 2 + - 3 + - 2 + - 1 + - 2 + - 5 + - 1 + - 2 + - 4 + - 3 + - 6 + - 3 + - 4 + - 6 + - 2 + - 5 + - 5 + - 4 + - 4 + - 4 + - 5 + - 4 + - 5 + - 6 + - 5 + - 4 + - 6 + - 6 + - 8 + - 8 + - 7 + - 6 + - 6 + litter_size: + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 13.0 + - 14.0 + - 14.0 + - 15.0 + - 16.0 + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + - 14.0 + - 7.0 + - 10.0 + - 10.0 + - 11.0 + - 11.0 + - 11.0 + - 11.0 + - 14.0 + - 14.0 + - 15.0 + - 8.0 + - 10.0 + - 11.0 + - 11.0 + - 12.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + scaled_residuals: + - -1.2311475367440066 + - -0.282103030308113 + - -0.39740077824330816 + - 0.5029418941190172 + - 0.35580129754770495 + - 0.8893030922951958 + - -0.013653877834260725 + - 0.7472745624264014 + - -0.11915120821693265 + - -0.9297466691650886 + - -0.46664266432513 + - 1.7304487493388778 + - -1.3410617135872924 + - -0.6462804041095469 + - 0.5145817691002957 + - -0.3274173158747677 + - 1.3349629305942796 + - -0.6472498106309951 + - -0.0600524308200282 + - 1.1143423288019054 + - -0.6057812090844346 + - 0.6604579023934435 + - 0.6604579023934435 + - -0.2313574698882441 + - -0.2313574698882441 + - -0.2313574698882441 + - 0.3846769046200133 + - -0.8567040017179789 + - -0.31064789154943717 + - 0.017581947025310324 + - 0.507848744109664 + - -0.8588229906190449 + - 0.06652937113731207 + - 0.06652937113731207 + - 0.9113885882211865 + - 0.9113885882211865 + - 0.02177053617443212 + - -0.80182464651563 + - -0.80182464651563 + estimated_probabilities: + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.144138836294475 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.2930192558857613 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.39777812281880637 + - 0.5354501059405228 + - 0.5354501059405228 + - 0.5354501059405228 + - 0.5354501059405228 + - 0.5354501059405228 + - 0.5354501059405228 + - 0.5354501059405228 + - 0.5354501059405228 + - 0.5354501059405228 + bounded: + - false + - false + - true + - false + - true + - true + - true + - true + - true + reduced: + dose: + - 0.0 + - 25.0 + - 50.0 + - 100.0 + lower_ci: + - 0.10100315503114947 + - 0.2326626313965327 + - 0.34156249135142625 + - 0.463007664379106 + upper_ci: + - 0.19144442397339237 + - 0.39977302042386786 + - 0.4323002607115725 + - 0.6024021567374579 + prop_affected: + - 0.14049586776859505 + - 0.3103448275862069 + - 0.38596491228070173 + - 0.5333333333333333 + std_err: + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + lower_ci: [] + plotting: + dr_x: + - 1.0e-08 + - 1.0101010101010102 + - 2.0202020202020203 + - 3.0303030303030303 + - 4.040404040404041 + - 5.050505050505051 + - 6.0606060606060606 + - 7.070707070707071 + - 8.080808080808081 + - 9.090909090909092 + - 10.101010101010102 + - 11.111111111111112 + - 12.121212121212121 + - 13.131313131313131 + - 14.141414141414142 + - 15.151515151515152 + - 16.161616161616163 + - 17.171717171717173 + - 18.181818181818183 + - 19.191919191919194 + - 20.202020202020204 + - 21.212121212121215 + - 22.222222222222225 + - 23.232323232323235 + - 24.242424242424242 + - 25.252525252525253 + - 26.262626262626263 + - 27.272727272727273 + - 28.282828282828284 + - 29.292929292929294 + - 30.303030303030305 + - 31.313131313131315 + - 32.323232323232325 + - 33.333333333333336 + - 34.343434343434346 + - 35.35353535353536 + - 36.36363636363637 + - 37.37373737373738 + - 38.38383838383839 + - 39.3939393939394 + - 40.40404040404041 + - 41.41414141414142 + - 42.42424242424243 + - 43.43434343434344 + - 44.44444444444445 + - 45.45454545454546 + - 46.46464646464647 + - 47.47474747474748 + - 48.484848484848484 + - 49.494949494949495 + - 50.505050505050505 + - 51.515151515151516 + - 52.525252525252526 + - 53.535353535353536 + - 54.54545454545455 + - 55.55555555555556 + - 56.56565656565657 + - 57.57575757575758 + - 58.58585858585859 + - 59.5959595959596 + - 60.60606060606061 + - 61.61616161616162 + - 62.62626262626263 + - 63.63636363636364 + - 64.64646464646465 + - 65.65656565656566 + - 66.66666666666667 + - 67.67676767676768 + - 68.68686868686869 + - 69.6969696969697 + - 70.70707070707071 + - 71.71717171717172 + - 72.72727272727273 + - 73.73737373737374 + - 74.74747474747475 + - 75.75757575757576 + - 76.76767676767678 + - 77.77777777777779 + - 78.7878787878788 + - 79.7979797979798 + - 80.80808080808082 + - 81.81818181818183 + - 82.82828282828284 + - 83.83838383838385 + - 84.84848484848486 + - 85.85858585858587 + - 86.86868686868688 + - 87.87878787878789 + - 88.8888888888889 + - 89.89898989898991 + - 90.90909090909092 + - 91.91919191919193 + - 92.92929292929294 + - 93.93939393939395 + - 94.94949494949496 + - 95.95959595959597 + - 96.96969696969697 + - 97.97979797979798 + - 98.98989898989899 + - 100.0 + dr_y: + - 0.14413883636656802 + - 0.15135952358995516 + - 0.15845939192728292 + - 0.16544144852249335 + - 0.1723086016122852 + - 0.1790636644930362 + - 0.18570935936363706 + - 0.19224832098317157 + - 0.1986831001537685 + - 0.2050161670382964 + - 0.21124991432196732 + - 0.21738666022635061 + - 0.223428651383772 + - 0.2293780655795864 + - 0.23523701436935546 + - 0.24100754557753717 + - 0.24669164568389942 + - 0.2522912421034995 + - 0.25780820536572646 + - 0.2632443511975823 + - 0.2686014425160748 + - 0.27388119133431593 + - 0.2790852605856545 + - 0.284215265869926 + - 0.2892727771256715 + - 0.2942593202319621 + - 0.2991763785432612 + - 0.30402539436056847 + - 0.3088077703419107 + - 0.31352487085507563 + - 0.3181780232753307 + - 0.32276851923071903 + - 0.3272976157973867 + - 0.3317665366472642 + - 0.33617647315030524 + - 0.34052858543336584 + - 0.34482400339770214 + - 0.34906382769696187 + - 0.3532491306774458 + - 0.3573809572823282 + - 0.36146032592143695 + - 0.36548822930811425 + - 0.3694656352646024 + - 0.3733934874973275 + - 0.37727270634338417 + - 0.38110418948946423 + - 0.3848888126644061 + - 0.3886274303064889 + - 0.392320876206539 + - 0.3959699641278658 + - 0.3995754884039938 + - 0.40313822451511516 + - 0.4066589296441399 + - 0.4101383432131815 + - 0.4135771874012769 + - 0.41697616764410156 + - 0.42033597311640625 + - 0.4236572771978687 + - 0.4269407379230216 + - 0.43018699841588665 + - 0.43339668730992154 + - 0.43657041915385103 + - 0.4397087948039367 + - 0.442812401803208 + - 0.4458818147481591 + - 0.44891759564339273 + - 0.4519202942446688 + - 0.45489044839079895 + - 0.45782858432480816 + - 0.46073521700476505 + - 0.4636108504046678 + - 0.46645597780575326 + - 0.4692710820785856 + - 0.47205663595625974 + - 0.4748131022990474 + - 0.47754093435079564 + - 0.4802405759873757 + - 0.4829124619574694 + - 0.4855570181159659 + - 0.48817466165023315 + - 0.49076580129951847 + - 0.4933308375677136 + - 0.49587016292972674 + - 0.4983841620316765 + - 0.5008732118851273 + - 0.503337682055569 + - 0.5057779348453421 + - 0.5081943254711947 + - 0.5105872022366573 + - 0.5129569066994103 + - 0.5153037738338102 + - 0.5176281321887426 + - 0.5199303040409526 + - 0.5222106055440068 + - 0.524469346873029 + - 0.5267068323653502 + - 0.5289233606572065 + - 0.5311192248166143 + - 0.5332947124725455 + - 0.5354501059405228 + bmd_y: 0.22972495266502746 + bmdl_y: 0.2095559274439063 + bmdu_y: 0.14413883636656802 + upper_ci: [] + bic_equiv: 0.0 + bootstrap: + p50: + - 38.59575126231721 + - 38.578894271408615 + - 38.66797078349527 + - 38.60758324211405 + p90: + - 51.57012928089122 + - 50.10228004364533 + - 50.236382153536745 + - 50.63594874786141 + p95: + - 55.88390041939898 + - 53.54233633296547 + - 53.97902747327334 + - 54.61485437586501 + p99: + - 64.89228330659093 + - 62.77589916720912 + - 60.045574386183326 + - 62.75060008746096 + p_value: + - 0.999 + - 0.998 + - 0.995 + - 0.9973333333333333 + fixed_lsc: 11.692307692307692 + obs_chi_sq: 0.0 + parameters: + - 0.144138836294475 + - -4.7767358236974005 + - 0.0 + - 0.0 + - 1.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + chi_squared: 19.938229215282867 + has_completed: true + combined_pvalue: 0.9973333333333333 + parameter_names: + - g + - b + - theta1 + - theta2 + - rho + - phi1 + - phi2 + - phi3 + - phi4 + scaled_residuals: + avg: -0.3274173158747677 + max: -0.3274173158747677 + min: -0.3274173158747677 + avg_abs: 0.3274173158747677 + max_abs: 0.3274173158747677 + min_abs: 0.3274173158747677 + settings: + bmr: 0.1 + name: '' + alpha: 0.05 + priors: + priors: + - name: g + type: 0 + stdev: 0.0 + max_value: 1.0 + min_value: 0.0 + initial_value: 0.0 + - name: b + type: 0 + stdev: 0.0 + max_value: 1000000.0 + min_value: -1000000.0 + initial_value: 0.0 + - name: theta1 + type: 0 + stdev: 0.0 + max_value: 1.0 + min_value: 0.0 + initial_value: 0.0 + - name: theta2 + type: 0 + stdev: 0.0 + max_value: 1000000.0 + min_value: -1000000.0 + initial_value: 0.0 + - name: rho + type: 0 + stdev: 0.0 + max_value: 18.0 + min_value: 1.0 + initial_value: 0.0 + - name: phi + type: 0 + stdev: 0.0 + max_value: 1000000.0 + min_value: 0.0 + initial_value: 0.0 + overrides: null + prior_class: 1 + variance_priors: null + bmr_type: 1 + bootstrap_n: 3 + bootstrap_seed: 4 + estimate_background: true + bootstrap_iterations: 1000 + intralitter_correlation: 1 + litter_specific_covariate: 0 + model_class: + id: 1 + params: + - g + - b + - theta1 + - theta2 + - rho + - phi + verbose: Nested Logistic + model_form_str: P[dose] = ... + - name: Nested Logistic (lsc+ilc-) + results: + ll: -269.47862042815945 + aic: 546.9572408563189 + bmd: 12.951178803705256 + cov: [] + dof: 35.0 + max: 0.0 + bmdl: 9.646361865829302 + bmdu: -9999.0 + litter: + lsc: + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 13.0 + - 14.0 + - 14.0 + - 15.0 + - 16.0 + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + - 14.0 + - 7.0 + - 10.0 + - 10.0 + - 11.0 + - 11.0 + - 11.0 + - 11.0 + - 14.0 + - 14.0 + - 15.0 + - 8.0 + - 10.0 + - 11.0 + - 11.0 + - 12.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + dose: + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + expected: + - 1.1482548993951747 + - 1.1482548993951747 + - 1.3234550781154826 + - 1.3234550781154826 + - 1.5081785170377366 + - 1.9061951754880853 + - 2.1194883950161794 + - 2.1194883950161794 + - 2.34230487474622 + - 2.5746446146782067 + - 2.713763543242462 + - 2.713763543242462 + - 2.9778458806534758 + - 2.9778458806534758 + - 3.2381403729893443 + - 3.4955822412747644 + - 3.751074666055822 + - 4.005486973011545 + - 4.005486973011545 + - 4.005486973011545 + - 3.033757954430647 + - 4.102370076616428 + - 4.102370076616428 + - 4.434716770914957 + - 4.434716770914957 + - 4.434716770914957 + - 4.434716770914957 + - 5.374725589488359 + - 5.374725589488359 + - 5.6725468343148115 + - 4.581842741834936 + - 5.533042643549658 + - 5.981906007224347 + - 5.981906007224347 + - 6.413815035680864 + - 6.413815035680864 + - 6.829502217166958 + - 7.229758627208684 + - 7.229758627208684 + observed: + - 0 + - 1 + - 1 + - 2 + - 2 + - 3 + - 2 + - 3 + - 2 + - 1 + - 2 + - 5 + - 1 + - 2 + - 4 + - 3 + - 6 + - 3 + - 4 + - 6 + - 2 + - 5 + - 5 + - 4 + - 4 + - 4 + - 5 + - 4 + - 5 + - 6 + - 5 + - 4 + - 6 + - 6 + - 8 + - 8 + - 7 + - 6 + - 6 + litter_size: + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 13.0 + - 14.0 + - 14.0 + - 15.0 + - 16.0 + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + - 14.0 + - 7.0 + - 10.0 + - 10.0 + - 11.0 + - 11.0 + - 11.0 + - 11.0 + - 14.0 + - 14.0 + - 15.0 + - 8.0 + - 10.0 + - 11.0 + - 11.0 + - 12.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + scaled_residuals: + - -1.1472480077472313 + - -0.1481248963618357 + - -0.30184637293275485 + - 0.6313477345500381 + - 0.4311244780587379 + - 0.8576055191214726 + - -0.08909568118031574 + - 0.6565472841323552 + - -0.24347797823632417 + - -1.0713244160242954 + - -0.5184349339509582 + - 1.6605847380085907 + - -1.3677482260444105 + - -0.6762139465420512 + - 0.5040116492962581 + - -0.31486493893776774 + - 1.3766489939341957 + - -0.5946096937789037 + - -0.003244803194611532 + - 1.179484977973973 + - -0.7884747920239363 + - 0.5770868064115985 + - 0.5770868064115985 + - -0.26720406471288993 + - -0.26720406471288993 + - -0.26720406471288993 + - 0.34745836054965623 + - -0.755466874423424 + - -0.20592674787017407 + - 0.1743509183436572 + - 0.29886050342498255 + - -0.9751385452009828 + - 0.010953213850711671 + - 0.010953213850711671 + - 0.9179701945296023 + - 0.9179701945296023 + - 0.09469690529395369 + - -0.657688003936361 + - -0.657688003936361 + estimated_probabilities: + - 0.12758387771057497 + - 0.12758387771057497 + - 0.13234550781154825 + - 0.13234550781154825 + - 0.13710713791252152 + - 0.1466303981144681 + - 0.15139202821544137 + - 0.15139202821544137 + - 0.15615365831641465 + - 0.16091528841738792 + - 0.3015292825824958 + - 0.3015292825824958 + - 0.2977845880653476 + - 0.2977845880653476 + - 0.29437639754448586 + - 0.29129852010623036 + - 0.2885442050812171 + - 0.2861062123579675 + - 0.2861062123579675 + - 0.2861062123579675 + - 0.43339399349009244 + - 0.41023700766164284 + - 0.41023700766164284 + - 0.4031560700831779 + - 0.4031560700831779 + - 0.4031560700831779 + - 0.4031560700831779 + - 0.38390897067773994 + - 0.38390897067773994 + - 0.37816978895432074 + - 0.572730342729367 + - 0.5533042643549658 + - 0.5438096370203952 + - 0.5438096370203952 + - 0.5344845863067387 + - 0.5344845863067387 + - 0.5253463243974583 + - 0.516411330514906 + - 0.516411330514906 + bounded: + - false + - false + - false + - false + - true + - true + - true + - true + - true + reduced: + dose: + - 0.0 + - 25.0 + - 50.0 + - 100.0 + lower_ci: + - 0.10100315503114947 + - 0.2326626313965327 + - 0.34156249135142625 + - 0.463007664379106 + upper_ci: + - 0.19144442397339237 + - 0.39977302042386786 + - 0.4323002607115725 + - 0.6024021567374579 + prop_affected: + - 0.14049586776859505 + - 0.3103448275862069 + - 0.38596491228070173 + - 0.5333333333333333 + std_err: + - 0.08223274621740491 + - 1.1107759616590753 + - 0.058833887118381896 + - 0.09246587896505619 + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + lower_ci: [] + plotting: + dr_x: + - 1.0e-08 + - 1.0101010101010102 + - 2.0202020202020203 + - 3.0303030303030303 + - 4.040404040404041 + - 5.050505050505051 + - 6.0606060606060606 + - 7.070707070707071 + - 8.080808080808081 + - 9.090909090909092 + - 10.101010101010102 + - 11.111111111111112 + - 12.121212121212121 + - 13.131313131313131 + - 14.141414141414142 + - 15.151515151515152 + - 16.161616161616163 + - 17.171717171717173 + - 18.181818181818183 + - 19.191919191919194 + - 20.202020202020204 + - 21.212121212121215 + - 22.222222222222225 + - 23.232323232323235 + - 24.242424242424242 + - 25.252525252525253 + - 26.262626262626263 + - 27.272727272727273 + - 28.282828282828284 + - 29.292929292929294 + - 30.303030303030305 + - 31.313131313131315 + - 32.323232323232325 + - 33.333333333333336 + - 34.343434343434346 + - 35.35353535353536 + - 36.36363636363637 + - 37.37373737373738 + - 38.38383838383839 + - 39.3939393939394 + - 40.40404040404041 + - 41.41414141414142 + - 42.42424242424243 + - 43.43434343434344 + - 44.44444444444445 + - 45.45454545454546 + - 46.46464646464647 + - 47.47474747474748 + - 48.484848484848484 + - 49.494949494949495 + - 50.505050505050505 + - 51.515151515151516 + - 52.525252525252526 + - 53.535353535353536 + - 54.54545454545455 + - 55.55555555555556 + - 56.56565656565657 + - 57.57575757575758 + - 58.58585858585859 + - 59.5959595959596 + - 60.60606060606061 + - 61.61616161616162 + - 62.62626262626263 + - 63.63636363636364 + - 64.64646464646465 + - 65.65656565656566 + - 66.66666666666667 + - 67.67676767676768 + - 68.68686868686869 + - 69.6969696969697 + - 70.70707070707071 + - 71.71717171717172 + - 72.72727272727273 + - 73.73737373737374 + - 74.74747474747475 + - 75.75757575757576 + - 76.76767676767678 + - 77.77777777777779 + - 78.7878787878788 + - 79.7979797979798 + - 80.80808080808082 + - 81.81818181818183 + - 82.82828282828284 + - 83.83838383838385 + - 84.84848484848486 + - 85.85858585858587 + - 86.86868686868688 + - 87.87878787878789 + - 88.8888888888889 + - 89.89898989898991 + - 90.90909090909092 + - 91.91919191919193 + - 92.92929292929294 + - 93.93939393939395 + - 94.94949494949496 + - 95.95959595959597 + - 96.96969696969697 + - 97.97979797979798 + - 98.98989898989899 + - 100.0 + dr_y: + - 0.1404036511330959 + - 0.14778881645085004 + - 0.155048164470335 + - 0.16218488319252033 + - 0.16920205388447937 + - 0.17610265544135995 + - 0.18288956860286454 + - 0.18956557996303197 + - 0.1961333857850458 + - 0.2025955956320418 + - 0.20895473582418506 + - 0.21521325273163971 + - 0.22137351591244658 + - 0.2274378211037662 + - 0.2334083930744187 + - 0.2392873883461667 + - 0.24507689779073388 + - 0.2507789491091299 + - 0.256395509199457 + - 0.2619284864190067 + - 0.26737973274611293 + - 0.2727510458469049 + - 0.2780441710518055 + - 0.2832608032463405 + - 0.28840258868056157 + - 0.29347112670113984 + - 0.29846797140996056 + - 0.30339463325282956 + - 0.3082525805417049 + - 0.313043240913676 + - 0.31776800272973427 + - 0.3224282164162158 + - 0.32702519575163835 + - 0.33156021910150724 + - 0.3360345306035295 + - 0.34044934130554405 + - 0.3448058302583541 + - 0.34910514556553235 + - 0.3533484053921651 + - 0.35753669893439344 + - 0.36167108735152037 + - 0.36575260466235754 + - 0.3697822586074031 + - 0.37376103147835993 + - 0.3776898809164293 + - 0.3815697406807417 + - 0.3854015213882207 + - 0.38918611122611185 + - 0.3929243766383457 + - 0.3966171629868511 + - 0.40026529518887854 + - 0.40386957833134085 + - 0.4074307982631358 + - 0.4109497221663626 + - 0.41442709910730624 + - 0.4178636605680205 + - 0.42126012095930176 + - 0.42461717811580935 + - 0.4279355137740536 + - 0.43121579403393795 + - 0.43445866980451386 + - 0.43766477723457164 + - 0.4408347381286698 + - 0.44396916034916967 + - 0.44706863820482523 + - 0.45013375282644774 + - 0.45316507253014493 + - 0.45616315316861 + - 0.4591285384709196 + - 0.46206176037127367 + - 0.46496333932709677 + - 0.46783378462689984 + - 0.4706735946882846 + - 0.4734832573464579 + - 0.47626325013360404 + - 0.47901404054945596 + - 0.48173608632338183 + - 0.4844298356683 + - 0.4870957275267147 + - 0.4897341918091592 + - 0.49234564962531746 + - 0.49493051350808215 + - 0.4974891876308061 + - 0.5000220680179801 + - 0.5025295427495732 + - 0.5050119921592541 + - 0.5074697890267076 + - 0.5099032987642486 + - 0.5123128795979328 + - 0.5146988827433503 + - 0.5170616525762828 + - 0.5194015267984012 + - 0.5217188365981691 + - 0.5240139068071137 + - 0.5262870560516176 + - 0.5285385969003843 + - 0.530768836007716 + - 0.5329780742527455 + - 0.5351666068747519 + - 0.5373347236046905 + bmd_y: 0.2263632859534142 + bmdl_y: 0.20610507284460972 + bmdu_y: 0.1404036511330959 + upper_ci: [] + bic_equiv: 0.0 + bootstrap: + p50: + - 38.667727857716045 + - 38.49428037093082 + - 38.44936616176405 + - 38.5376377309957 + p90: + - 51.29277460107195 + - 50.16185576889436 + - 50.802713825788295 + - 50.725851665218514 + p95: + - 57.24319765707252 + - 53.51534648512976 + - 54.97417185649524 + - 54.939764814487205 + p99: + - 66.9774396855659 + - 64.4811703729219 + - 60.999232538453285 + - 64.08785612928608 + p_value: + - 0.997 + - 0.997 + - 0.994 + - 0.996 + fixed_lsc: 11.692307692307692 + obs_chi_sq: 0.0 + parameters: + - 0.08472920680181548 + - -4.1096589164749755 + - 0.004761630100973278 + - -0.05548540880462925 + - 1.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + chi_squared: 19.60867102603216 + has_completed: true + combined_pvalue: 0.996 + parameter_names: + - g + - b + - theta1 + - theta2 + - rho + - phi1 + - phi2 + - phi3 + - phi4 + scaled_residuals: + avg: -0.31486493893776774 + max: -0.31486493893776774 + min: -0.31486493893776774 + avg_abs: 0.31486493893776774 + max_abs: 0.31486493893776774 + min_abs: 0.31486493893776774 + settings: + bmr: 0.1 + name: '' + alpha: 0.05 + priors: + priors: + - name: g + type: 0 + stdev: 0.0 + max_value: 1.0 + min_value: 0.0 + initial_value: 0.0 + - name: b + type: 0 + stdev: 0.0 + max_value: 1000000.0 + min_value: -1000000.0 + initial_value: 0.0 + - name: theta1 + type: 0 + stdev: 0.0 + max_value: 1.0 + min_value: 0.0 + initial_value: 0.0 + - name: theta2 + type: 0 + stdev: 0.0 + max_value: 1000000.0 + min_value: -1000000.0 + initial_value: 0.0 + - name: rho + type: 0 + stdev: 0.0 + max_value: 18.0 + min_value: 1.0 + initial_value: 0.0 + - name: phi + type: 0 + stdev: 0.0 + max_value: 1000000.0 + min_value: 0.0 + initial_value: 0.0 + overrides: null + prior_class: 1 + variance_priors: null + bmr_type: 1 + bootstrap_n: 3 + bootstrap_seed: 4 + estimate_background: true + bootstrap_iterations: 1000 + intralitter_correlation: 0 + litter_specific_covariate: 1 + model_class: + id: 1 + params: + - g + - b + - theta1 + - theta2 + - rho + - phi + verbose: Nested Logistic + model_form_str: P[dose] = ... + - name: Nested Logistic (lsc+ilc+) + results: + ll: -269.4786204281691 + aic: 546.9572408563382 + bmd: 12.951182313338903 + cov: [] + dof: 35.0 + max: 0.0 + bmdl: 9.646362099673082 + bmdu: -9999.0 + litter: + lsc: + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 13.0 + - 14.0 + - 14.0 + - 15.0 + - 16.0 + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + - 14.0 + - 7.0 + - 10.0 + - 10.0 + - 11.0 + - 11.0 + - 11.0 + - 11.0 + - 14.0 + - 14.0 + - 15.0 + - 8.0 + - 10.0 + - 11.0 + - 11.0 + - 12.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + dose: + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + expected: + - 1.1482561946977474 + - 1.1482561946977474 + - 1.3234562133227161 + - 1.3234562133227161 + - 1.5081794313460626 + - 1.9061954655878866 + - 2.1194882818063645 + - 2.1194882818063645 + - 2.3423042974232193 + - 2.5746435124384517 + - 2.7137634381537956 + - 2.7137634381537956 + - 2.9778458977165903 + - 2.9778458977165903 + - 3.238140504396608 + - 3.495582470779064 + - 3.7510749694315106 + - 4.005487318544066 + - 4.005487318544066 + - 4.005487318544066 + - 3.033756908394876 + - 4.102369576205536 + - 4.102369576205536 + - 4.43471652152944 + - 4.43471652152944 + - 4.43471652152944 + - 4.43471652152944 + - 5.374726163852492 + - 5.374726163852492 + - 5.672547674251291 + - 4.581841406638726 + - 5.533041768519338 + - 5.981905460297619 + - 5.981905460297619 + - 6.413814873298451 + - 6.413814873298451 + - 6.829502488072238 + - 7.22975937173312 + - 7.22975937173312 + observed: + - 0 + - 1 + - 1 + - 2 + - 2 + - 3 + - 2 + - 3 + - 2 + - 1 + - 2 + - 5 + - 1 + - 2 + - 4 + - 3 + - 6 + - 3 + - 4 + - 6 + - 2 + - 5 + - 5 + - 4 + - 4 + - 4 + - 5 + - 4 + - 5 + - 6 + - 5 + - 4 + - 6 + - 6 + - 8 + - 8 + - 7 + - 6 + - 6 + litter_size: + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 13.0 + - 14.0 + - 14.0 + - 15.0 + - 16.0 + - 9.0 + - 9.0 + - 10.0 + - 10.0 + - 11.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + - 14.0 + - 7.0 + - 10.0 + - 10.0 + - 11.0 + - 11.0 + - 11.0 + - 11.0 + - 14.0 + - 14.0 + - 15.0 + - 8.0 + - 10.0 + - 11.0 + - 11.0 + - 12.0 + - 12.0 + - 13.0 + - 14.0 + - 14.0 + scaled_residuals: + - -1.1472487494612462 + - -0.1481261191990741 + - -0.30184732259146335 + - 0.6313464457109766 + - 0.4311235666710867 + - 0.8576052376211483 + - -0.08909559872118088 + - 0.6565473829526524 + - -0.2434775920455311 + - -1.0713238514505052 + - -0.5184348633254797 + - 1.6605848326109707 + - -1.3677482355872619 + - -0.6762139572259811 + - 0.5040115564029464 + - -0.31486507866405616 + - 1.376648775135131 + - -0.5946098827462426 + - -0.0032450074465414785 + - 1.1794847431528608 + - -0.7884740261429742 + - 0.5770871388400927 + - 0.5770871388400927 + - -0.2672039138631288 + - -0.2672039138631288 + - -0.2672039138631288 + - 0.34745851700800423 + - -0.7554671748470674 + - -0.20592705935965402 + - 0.17435046606542556 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + estimated_probabilities: + - 0.12758402163308305 + - 0.12758402163308305 + - 0.13234562133227162 + - 0.13234562133227162 + - 0.13710722103146022 + - 0.14663042042983743 + - 0.15139202012902603 + - 0.15139202012902603 + - 0.15615361982821463 + - 0.16091521952740323 + - 0.3015292709059773 + - 0.3015292709059773 + - 0.297784589771659 + - 0.297784589771659 + - 0.29437640949060073 + - 0.29129853923158866 + - 0.2885442284178085 + - 0.2861062370388619 + - 0.2861062370388619 + - 0.2861062370388619 + - 0.4333938440564109 + - 0.4102369576205536 + - 0.4102369576205536 + - 0.4031560474117673 + - 0.4031560474117673 + - 0.4031560474117673 + - 0.4031560474117673 + - 0.38390901170374947 + - 0.38390901170374947 + - 0.3781698449500861 + - 0.5727301758298408 + - 0.5533041768519338 + - 0.5438095872997836 + - 0.5438095872997836 + - 0.5344845727748709 + - 0.5344845727748709 + - 0.5253463452363261 + - 0.5164113836952229 + - 0.5164113836952229 + bounded: + - false + - false + - false + - false + - true + - true + - true + - true + - true + reduced: + dose: + - 0.0 + - 25.0 + - 50.0 + - 100.0 + lower_ci: + - 0.10100315503114947 + - 0.2326626313965327 + - 0.34156249135142625 + - 0.463007664379106 + upper_ci: + - 0.19144442397339237 + - 0.39977302042386786 + - 0.4323002607115725 + - 0.6024021567374579 + prop_affected: + - 0.14049586776859505 + - 0.3103448275862069 + - 0.38596491228070173 + - 0.5333333333333333 + std_err: + - 0.08223279033315305 + - 1.1107764339230553 + - 0.05883388516098871 + - 0.09246590439894851 + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + - -9999.0 + lower_ci: [] + plotting: + dr_x: + - 1.0e-08 + - 1.0101010101010102 + - 2.0202020202020203 + - 3.0303030303030303 + - 4.040404040404041 + - 5.050505050505051 + - 6.0606060606060606 + - 7.070707070707071 + - 8.080808080808081 + - 9.090909090909092 + - 10.101010101010102 + - 11.111111111111112 + - 12.121212121212121 + - 13.131313131313131 + - 14.141414141414142 + - 15.151515151515152 + - 16.161616161616163 + - 17.171717171717173 + - 18.181818181818183 + - 19.191919191919194 + - 20.202020202020204 + - 21.212121212121215 + - 22.222222222222225 + - 23.232323232323235 + - 24.242424242424242 + - 25.252525252525253 + - 26.262626262626263 + - 27.272727272727273 + - 28.282828282828284 + - 29.292929292929294 + - 30.303030303030305 + - 31.313131313131315 + - 32.323232323232325 + - 33.333333333333336 + - 34.343434343434346 + - 35.35353535353536 + - 36.36363636363637 + - 37.37373737373738 + - 38.38383838383839 + - 39.3939393939394 + - 40.40404040404041 + - 41.41414141414142 + - 42.42424242424243 + - 43.43434343434344 + - 44.44444444444445 + - 45.45454545454546 + - 46.46464646464647 + - 47.47474747474748 + - 48.484848484848484 + - 49.494949494949495 + - 50.505050505050505 + - 51.515151515151516 + - 52.525252525252526 + - 53.535353535353536 + - 54.54545454545455 + - 55.55555555555556 + - 56.56565656565657 + - 57.57575757575758 + - 58.58585858585859 + - 59.5959595959596 + - 60.60606060606061 + - 61.61616161616162 + - 62.62626262626263 + - 63.63636363636364 + - 64.64646464646465 + - 65.65656565656566 + - 66.66666666666667 + - 67.67676767676768 + - 68.68686868686869 + - 69.6969696969697 + - 70.70707070707071 + - 71.71717171717172 + - 72.72727272727273 + - 73.73737373737374 + - 74.74747474747475 + - 75.75757575757576 + - 76.76767676767678 + - 77.77777777777779 + - 78.7878787878788 + - 79.7979797979798 + - 80.80808080808082 + - 81.81818181818183 + - 82.82828282828284 + - 83.83838383838385 + - 84.84848484848486 + - 85.85858585858587 + - 86.86868686868688 + - 87.87878787878789 + - 88.8888888888889 + - 89.89898989898991 + - 90.90909090909092 + - 91.91919191919193 + - 92.92929292929294 + - 93.93939393939395 + - 94.94949494949496 + - 95.95959595959597 + - 96.96969696969697 + - 97.97979797979798 + - 98.98989898989899 + - 100.0 + dr_y: + - 0.1404037132046452 + - 0.14778887600490906 + - 0.15504822158336182 + - 0.1621849379381599 + - 0.16920210633371188 + - 0.1761027056626197 + - 0.18288961666215056 + - 0.18956562592401224 + - 0.19613342970915612 + - 0.20259563757857965 + - 0.20895477585039868 + - 0.21521329089281285 + - 0.22137355226197908 + - 0.22743785569325084 + - 0.23340842595371414 + - 0.2392874195634671 + - 0.2450769273926352 + - 0.25077897714069336 + - 0.25639553570426893 + - 0.26192851143923646 + - 0.26737975632256783 + - 0.27275106801908217 + - 0.2780441918579427 + - 0.28326082272346353 + - 0.2884026068645297 + - 0.29347114362669013 + - 0.2984679871107492 + - 0.30339464776147174 + - 0.30825259388981346 + - 0.3130432531318976 + - 0.31776801384778464 + - 0.3224282264629132 + - 0.3270252047549358 + - 0.3315602270885232 + - 0.33603453760057733 + - 0.34044934733816057 + - 0.3448058353513263 + - 0.34910514974292406 + - 0.3533484086773412 + - 0.35753670135004423 + - 0.36167108891968464 + - 0.36575260540444465 + - 0.3697822585442139 + - 0.37376103063010757 + - 0.37768987930275844 + - 0.3815697383207476 + - 0.3854015183004672 + - 0.3891861074286488 + - 0.39292437214872566 + - 0.39661715782214585 + - 0.40026528936569383 + - 0.40386957186583183 + - 0.4074307911710214 + - 0.41094971446293904 + - 0.4144270908074608 + - 0.41786365168624406 + - 0.42126011150970105 + - 0.4246171681121192 + - 0.4279355032296482 + - 0.4312157829618418 + - 0.4344586582174129 + - 0.4376647651448232 + - 0.4408347255483125 + - 0.4439691472899333 + - 0.4470686246781397 + - 0.45013373884345237 + - 0.4531650581016963 + - 0.45616313830529154 + - 0.45912852318304825 + - 0.46206174466890887 + - 0.46496332322004685 + - 0.4678337681247302 + - 0.4706735778003244 + - 0.47348324008180637 + - 0.4762632325011376 + - 0.47901402255783465 + - 0.48173606798105484 + - 0.48442981698351206 + - 0.4870957085075117 + - 0.48973417246339385 + - 0.492345629960654 + - 0.4949304935320025 + - 0.49748916735061416 + - 0.500022047440807 + - 0.5025295218823824 + - 0.505011971008845 + - 0.50746976759972 + - 0.5099032770671681 + - 0.5123128576370943 + - 0.5146988605249415 + - 0.517061630106349 + - 0.5194015040828484 + - 0.5217188136427682 + - 0.5240138836175032 + - 0.5262870326333084 + - 0.5285385732587621 + - 0.530768812148044 + - 0.5329780501801691 + - 0.5351665825943006 + - 0.5373346991212812 + bmd_y: 0.22636334181780865 + bmdl_y: 0.20610511519918268 + bmdu_y: 0.1404037132046452 + upper_ci: [] + bic_equiv: 0.0 + bootstrap: + p50: + - 38.24624871421973 + - 38.72273065790117 + - 37.940370852145534 + - 38.3716274667437 + p90: + - 50.77186892331583 + - 50.29809557449816 + - 50.43416255019706 + - 50.583030184137705 + p95: + - 54.14969886000847 + - 54.49327462252764 + - 55.17066858601115 + - 54.494138637741884 + p99: + - 63.650426860695184 + - 61.37518817532143 + - 61.718182979953916 + - 62.055564920062174 + p_value: + - 1.0 + - 1.0 + - 0.999 + - 0.9996666666666667 + fixed_lsc: 11.692307692307692 + obs_chi_sq: 0.0 + parameters: + - 0.08472962434038567 + - -4.1096619680341115 + - 0.004761599699188597 + - -0.05548517099391196 + - 1.0000000000053022 + - 1.040482750866935e-15 + - 2.7311290059950395e-16 + - 1.444070640416808e-15 + - 1.0078640036293422e-15 + chi_squared: 16.008802871611394 + has_completed: true + combined_pvalue: 0.9996666666666667 + parameter_names: + - g + - b + - theta1 + - theta2 + - rho + - phi1 + - phi2 + - phi3 + - phi4 + scaled_residuals: + avg: -0.31486507866405616 + max: -0.31486507866405616 + min: -0.31486507866405616 + avg_abs: 0.31486507866405616 + max_abs: 0.31486507866405616 + min_abs: 0.31486507866405616 + settings: + bmr: 0.1 + name: '' + alpha: 0.05 + priors: + priors: + - name: g + type: 0 + stdev: 0.0 + max_value: 1.0 + min_value: 0.0 + initial_value: 0.0 + - name: b + type: 0 + stdev: 0.0 + max_value: 1000000.0 + min_value: -1000000.0 + initial_value: 0.0 + - name: theta1 + type: 0 + stdev: 0.0 + max_value: 1.0 + min_value: 0.0 + initial_value: 0.0 + - name: theta2 + type: 0 + stdev: 0.0 + max_value: 1000000.0 + min_value: -1000000.0 + initial_value: 0.0 + - name: rho + type: 0 + stdev: 0.0 + max_value: 18.0 + min_value: 1.0 + initial_value: 0.0 + - name: phi + type: 0 + stdev: 0.0 + max_value: 1000000.0 + min_value: 0.0 + initial_value: 0.0 + overrides: null + prior_class: 1 + variance_priors: null + bmr_type: 1 + bootstrap_n: 3 + bootstrap_seed: 4 + estimate_background: true + bootstrap_iterations: 1000 + intralitter_correlation: 1 + litter_specific_covariate: 1 + model_class: + id: 1 + params: + - g + - b + - theta1 + - theta2 + - rho + - phi + verbose: Nested Logistic + model_form_str: P[dose] = ... + dataset: + doses: + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 25.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 50.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + dtype: ND + metadata: + id: 0 + name: 'Dataset #1' + dose_name: Dose + dose_units: '' + response_name: Incidence + response_units: '' + litter_ns: + - 16 + - 9 + - 15 + - 14 + - 13 + - 9 + - 10 + - 14 + - 10 + - 11 + - 14 + - 9 + - 14 + - 9 + - 13 + - 12 + - 10 + - 10 + - 11 + - 14 + - 11 + - 11 + - 14 + - 11 + - 10 + - 11 + - 10 + - 15 + - 7 + - 14 + - 11 + - 14 + - 12 + - 13 + - 12 + - 14 + - 11 + - 8 + - 10 + incidences: + - 1 + - 1 + - 2 + - 3 + - 3 + - 0 + - 2 + - 2 + - 1 + - 2 + - 4 + - 5 + - 6 + - 2 + - 6 + - 3 + - 1 + - 2 + - 4 + - 3 + - 4 + - 5 + - 5 + - 4 + - 5 + - 4 + - 5 + - 6 + - 2 + - 4 + - 6 + - 6 + - 8 + - 7 + - 8 + - 6 + - 6 + - 5 + - 4 + litter_covariates: + - 16.0 + - 9.0 + - 15.0 + - 14.0 + - 13.0 + - 9.0 + - 10.0 + - 14.0 + - 10.0 + - 11.0 + - 14.0 + - 9.0 + - 14.0 + - 9.0 + - 13.0 + - 12.0 + - 10.0 + - 10.0 + - 11.0 + - 14.0 + - 11.0 + - 11.0 + - 14.0 + - 11.0 + - 10.0 + - 11.0 + - 10.0 + - 15.0 + - 7.0 + - 14.0 + - 11.0 + - 14.0 + - 12.0 + - 13.0 + - 12.0 + - 14.0 + - 11.0 + - 8.0 + - 10.0 + version: + dll: 24.1a4 + python: 24.1a4 + selected: + notes: User selected best fitting model + model_index: 1 + description: '' + recommender: + results: + model_bin: + - 0 + - 0 + - 0 + - 0 + model_notes: + - '0': [] + '1': [] + '2': [] + - '0': [] + '1': [] + '2': [] + - '0': [] + '1': [] + '2': [] + - '0': [] + '1': [] + '2': [] + recommended_model_index: 0 + recommended_model_variable: aic + settings: + rules: + - threshold: 0.1 + rule_class: gof + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: dof_zero + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 1.0 + rule_class: high_bmd + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: warnings + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1.0 + rule_class: high_bmdl + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2.0 + rule_class: roi_large + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: gof_cancer + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: null + rule_class: aic_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmd_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: roi_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdl_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdu_missing + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 10.0 + rule_class: low_bmd_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3.0 + rule_class: low_bmd_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_fit + failure_bin: 1 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 10.0 + rule_class: low_bmdl_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3.0 + rule_class: low_bmdl_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_type + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1.5 + rule_class: control_stdev_fit + failure_bin: 0 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 20.0 + rule_class: bmd_bmdl_ratio_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3.0 + rule_class: bmd_bmdl_ratio_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2.0 + rule_class: control_residual_high + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + enabled: true + recommend_viable: true + recommend_questionable: false + sufficiently_close_bmdl: 3.0 + model_average: null + option_index: 0 + dataset_index: 0 + analysis_id: 4459f728-05f7-4057-a27c-174822a0313d + bmds_ui_version: 24.1a4 + bmds_python_version: + dll: 24.1a4 + python: 24.1a4 + analysis_schema_version: '1.1' + errors: [] + created: 2024-08-22 15:25:20.345600+00:00 + last_updated: 2024-08-22 15:25:46.872461+00:00 + started: 2024-08-22 15:25:39.668860+00:00 + ended: 2024-08-22 15:25:39.980169+00:00 + deletion_date: null + starred: false + collections: [1] +- model: analysis.analysis + pk: 09c09d22-2e1a-413c-b350-6b19969f6533 + fields: + password: we3m1149a1pf + inputs: + models: + frequentist_restricted: + - Hill + options: + - bmr_type: 2 + bmr_value: 1 + dist_type: 2 + confidence_level: 0.95 + tail_probability: 0.01 + datasets: + - doses: + - 0 + - 0 + - 0 + - 0 + - 0 + - 0 + - 0 + - 0 + - 0.1 + - 0.1 + - 0.1 + - 0.1 + - 0.1 + - 0.1 + - 1 + - 1 + - 1 + - 1 + - 1 + - 1 + - 10 + - 10 + - 10 + - 10 + - 10 + - 10 + - 100 + - 100 + - 100 + - 100 + - 100 + - 100 + - 300 + - 300 + - 300 + - 300 + - 300 + - 300 + - 500 + - 500 + - 500 + - 500 + - 500 + - 500 + dtype: CI + metadata: + id: 0 + name: 'Dataset #1' + dose_name: Dose + dose_units: '' + response_name: Response + response_units: '' + responses: + - 8.1079 + - 9.3063 + - 9.7431 + - 9.7814 + - 10.0517 + - 10.6132 + - 10.7509 + - 11.0567 + - 9.1556 + - 9.6821 + - 9.8256 + - 10.2095 + - 10.2222 + - 12.0382 + - 9.5661 + - 9.7059 + - 9.9905 + - 10.2716 + - 10.471 + - 11.0602 + - 8.8514 + - 10.0107 + - 10.0854 + - 10.5683 + - 11.1394 + - 11.4875 + - 9.5427 + - 9.7211 + - 9.8267 + - 10.0231 + - 10.1833 + - 10.8685 + - 11.368 + - 13.5176 + - 12.3168 + - 14.002 + - 17.1186 + - 13.6368 + - 19.9572 + - 20.1347 + - 16.7743 + - 20.0571 + - 15.1564 + - 15.0368 + recommender: + rules: + - threshold: 0.1 + rule_class: gof + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: dof_zero + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 1 + rule_class: high_bmd + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: warnings + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1 + rule_class: high_bmdl + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2 + rule_class: roi_large + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: gof_cancer + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: null + rule_class: aic_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmd_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: roi_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdl_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdu_missing + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 10 + rule_class: low_bmd_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3 + rule_class: low_bmd_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_fit + failure_bin: 1 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 10 + rule_class: low_bmdl_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3 + rule_class: low_bmdl_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_type + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1.5 + rule_class: control_stdev_fit + failure_bin: 0 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 20 + rule_class: bmd_bmdl_ratio_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3 + rule_class: bmd_bmdl_ratio_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2 + rule_class: control_residual_high + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + enabled: true + recommend_viable: true + recommend_questionable: false + sufficiently_close_bmdl: 3 + dataset_type: C + analysis_name: continuous individual + dataset_options: + - degree: 3 + enabled: true + dataset_id: 0 + adverse_direction: -1 + outputs: + outputs: + - error: null + bayesian: null + frequentist: + id: null + name: '' + models: + - name: Hill + results: + bmd: 260.2509010784586 + fit: + aic: 137.29084958079483 + dist: 2 + chisq: 0.0 + bmd_dist: + - - 131.47580093232511 + - 134.96490937916508 + - 138.06532325518464 + - 140.88783042560615 + - 143.50007763174702 + - 145.94477311535871 + - 148.25461775438805 + - 150.46323309944108 + - 152.57915693883066 + - 154.62809887073468 + - 156.61472693675682 + - 158.55571105612336 + - 160.45333033807321 + - 162.32012558600374 + - 164.1561707103005 + - 165.97661269314116 + - 167.77907559184217 + - 169.57250911349354 + - 171.35524585252276 + - 173.13586888501266 + - 174.924092019864 + - 176.7171516354096 + - 178.4733672763712 + - 179.76549103065258 + - 181.84753126951884 + - 188.47578042316096 + - 189.39549731869363 + - 189.9746123342135 + - 190.6435928727562 + - 191.8329063373572 + - 193.72258629236293 + - 195.89992228246186 + - 198.08955523029027 + - 200.31630710494954 + - 202.65073787562764 + - 205.0947786444324 + - 207.67165570832776 + - 210.36696840073026 + - 213.29920051081712 + - 216.5166693884918 + - 219.90940144250752 + - 223.6684567255662 + - 228.36580317073071 + - 233.17164827265447 + - 257.25111045560647 + - 260.2509010784586 + - 260.6027689633744 + - 260.9253190758501 + - 261.2203045676034 + - 261.48947859035184 + - 261.734594295813 + - 261.9574048357044 + - 262.15966336174375 + - 262.34312302564854 + - 262.5095369791364 + - 262.6606583739249 + - 262.7982403617316 + - 262.9240360942742 + - 263.0397987232701 + - 263.14728140043695 + - 263.2482372774925 + - 263.34441950615405 + - 263.43758123813944 + - 263.52947562516607 + - 263.62185581895164 + - 263.7164749712137 + - 263.81508623366983 + - 263.91944275803763 + - 264.03129769603464 + - 264.15240419937845 + - 264.2845154197867 + - 264.42938450897697 + - 264.5887646186668 + - 264.7644089005738 + - 264.95807050641554 + - 265.1715025879096 + - 265.4064582967735 + - 265.664690784725 + - 265.9479532034816 + - 266.2579987047608 + - 266.59658044028026 + - 266.9686865468912 + - 267.3885043565854 + - 267.85194898904814 + - 268.3525707958504 + - 268.88392012856286 + - 269.4395473387563 + - 270.0130027780015 + - 270.59783679786926 + - 271.1875997499303 + - 271.7758419857554 + - 272.35611385691533 + - 272.9219657149809 + - - 0.05 + - 0.06 + - 0.07 + - 0.08 + - 0.09 + - 0.1 + - 0.11 + - 0.12 + - 0.13 + - 0.14 + - 0.15 + - 0.16 + - 0.17 + - 0.18 + - 0.19 + - 0.2 + - 0.21 + - 0.22 + - 0.23 + - 0.24 + - 0.25 + - 0.26 + - 0.27 + - 0.28 + - 0.29 + - 0.3 + - 0.31 + - 0.32 + - 0.33 + - 0.34 + - 0.35 + - 0.36 + - 0.37 + - 0.38 + - 0.39 + - 0.4 + - 0.41 + - 0.42 + - 0.43 + - 0.44 + - 0.45 + - 0.46 + - 0.47 + - 0.48 + - 0.49 + - 0.5 + - 0.51 + - 0.52 + - 0.53 + - 0.54 + - 0.55 + - 0.56 + - 0.57 + - 0.58 + - 0.59 + - 0.6 + - 0.61 + - 0.62 + - 0.63 + - 0.64 + - 0.65 + - 0.66 + - 0.67 + - 0.68 + - 0.69 + - 0.7 + - 0.71 + - 0.72 + - 0.73 + - 0.74 + - 0.75 + - 0.76 + - 0.77 + - 0.78 + - 0.79 + - 0.8 + - 0.81 + - 0.82 + - 0.83 + - 0.84 + - 0.85 + - 0.86 + - 0.87 + - 0.88 + - 0.89 + - 0.9 + - 0.91 + - 0.92 + - 0.93 + - 0.94 + - 0.95 + - 0.96 + - 0.97 + model_df: 6.0 + total_df: 1.0 + bic_equiv: -73.45242618252445 + loglikelihood: -62.64542479039741 + gof: + roi: -0.22895200318474584 + dose: + - 0.0 + - 0.1 + - 1.0 + - 10.0 + - 100.0 + - 300.0 + - 500.0 + size: + - 8.0 + - 6.0 + - 6.0 + - 6.0 + - 6.0 + - 6.0 + - 6.0 + est_sd: + - 0.7796078451984225 + - 0.7796078451984225 + - 0.7796078451984225 + - 0.7796078451984225 + - 0.7796079418229186 + - 1.5166302997668923 + - 2.5771216183939747 + obs_sd: + - 0.9404302070253642 + - 0.987723215615915 + - 0.5486969755702936 + - 0.9375872469624594 + - 0.4692135150085737 + - 1.9574035962638487 + - 2.4842744073471716 + calc_sd: + - 0.9404302070253642 + - 0.987723215615915 + - 0.5486969755702936 + - 0.9375872469624594 + - 0.4692135150085737 + - 1.9574035962638487 + - 2.4842744073471716 + eb_lower: + - 9.112820679319576 + - 9.20218295057342 + - 9.62943048402079 + - 9.42051615513805 + - 9.558846961277192 + - 11.704623080810403 + - 15.371090092362644 + eb_upper: + - 10.739979320680417 + - 11.175550382759916 + - 10.72566951597921 + - 11.293717178195285 + - 10.496286372056138 + - 15.61531025252293 + - 20.334409907637347 + est_mean: + - 10.11818301028505 + - 10.11818301028505 + - 10.11818301028505 + - 10.11818301028505 + - 10.11818359534403 + - 13.801724984391964 + - 17.6748579938295 + obs_mean: + - 9.926399999999997 + - 10.188866666666668 + - 10.17755 + - 10.357116666666668 + - 10.027566666666665 + - 13.659966666666667 + - 17.852749999999997 + residual: + - -0.695791187449708 + - 0.2220845933702963 + - 0.18652817985646966 + - 0.7507178693968838 + - -0.2847139253080339 + - -0.22895200318474584 + - 0.1690819095721604 + calc_mean: + - 9.926399999999997 + - 10.188866666666668 + - 10.17755 + - 10.357116666666668 + - 10.027566666666665 + - 13.659966666666667 + - 17.852749999999997 + bmdl: 131.47580093232511 + bmdu: 271.7758419857554 + tests: + dfs: + - 12.0 + - 6.0 + - 5.0 + - 3.0 + names: + - Test 1 + - Test 2 + - Test 3 + - Test 4 + p_values: + - 1.1102230246251565e-16 + - 0.00021800469695987257 + - 0.32222862194226165 + - 0.6996255607398956 + ll_ratios: + - 103.8026866665792 + - 26.049069265484235 + - 5.838732357984043 + - 1.425255353139221 + deviance: + aics: + - 160.0759311351558 + - 146.02686186967156 + - 141.8655942276556 + - 137.29084958079483 + - 225.82954853625077 + names: + - A1 + - A2 + - A3 + - fitted + - reduced + num_params: + - 8 + - 14 + - 9 + - 6 + - 2 + loglikelihoods: + - -72.0379655675779 + - -59.01343093483578 + - -61.9327971138278 + - -62.64542479039741 + - -110.91477426812538 + plotting: + dr_x: + - 1.0e-08 + - 5.05050505050505 + - 10.1010101010101 + - 15.15151515151515 + - 20.2020202020202 + - 25.252525252525253 + - 30.3030303030303 + - 35.35353535353535 + - 40.4040404040404 + - 45.45454545454545 + - 50.505050505050505 + - 55.55555555555555 + - 60.6060606060606 + - 65.65656565656565 + - 70.7070707070707 + - 75.75757575757575 + - 80.8080808080808 + - 85.85858585858585 + - 90.9090909090909 + - 95.95959595959596 + - 101.01010101010101 + - 106.06060606060605 + - 111.1111111111111 + - 116.16161616161615 + - 121.2121212121212 + - 126.26262626262626 + - 131.3131313131313 + - 136.36363636363635 + - 141.4141414141414 + - 146.46464646464645 + - 151.5151515151515 + - 156.56565656565655 + - 161.6161616161616 + - 166.66666666666666 + - 171.7171717171717 + - 176.76767676767676 + - 181.8181818181818 + - 186.86868686868686 + - 191.91919191919192 + - 196.96969696969697 + - 202.02020202020202 + - 207.07070707070704 + - 212.1212121212121 + - 217.17171717171715 + - 222.2222222222222 + - 227.27272727272725 + - 232.3232323232323 + - 237.37373737373736 + - 242.4242424242424 + - 247.47474747474746 + - 252.5252525252525 + - 257.57575757575756 + - 262.6262626262626 + - 267.67676767676767 + - 272.7272727272727 + - 277.77777777777777 + - 282.8282828282828 + - 287.8787878787879 + - 292.9292929292929 + - 297.979797979798 + - 303.030303030303 + - 308.0808080808081 + - 313.1313131313131 + - 318.1818181818182 + - 323.2323232323232 + - 328.28282828282823 + - 333.3333333333333 + - 338.38383838383834 + - 343.4343434343434 + - 348.48484848484844 + - 353.5353535353535 + - 358.58585858585855 + - 363.6363636363636 + - 368.68686868686865 + - 373.73737373737373 + - 378.78787878787875 + - 383.83838383838383 + - 388.88888888888886 + - 393.93939393939394 + - 398.98989898989896 + - 404.04040404040404 + - 409.09090909090907 + - 414.1414141414141 + - 419.19191919191917 + - 424.2424242424242 + - 429.2929292929293 + - 434.3434343434343 + - 439.3939393939394 + - 444.4444444444444 + - 449.4949494949495 + - 454.5454545454545 + - 459.5959595959596 + - 464.6464646464646 + - 469.6969696969697 + - 474.7474747474747 + - 479.7979797979798 + - 484.8484848484848 + - 489.89898989898984 + - 494.9494949494949 + - 500.0 + dr_y: + - 10.11818301028505 + - 10.11818301028505 + - 10.11818301028505 + - 10.11818301028505 + - 10.11818301028505 + - 10.11818301028505 + - 10.118183010285062 + - 10.118183010285163 + - 10.11818301028588 + - 10.11818301028983 + - 10.118183010307922 + - 10.118183010379312 + - 10.118183010628451 + - 10.118183011413027 + - 10.118183013677424 + - 10.118183019740894 + - 10.11818303495418 + - 10.118183071007854 + - 10.118183152250635 + - 10.118183327291066 + - 10.118183689570566 + - 10.11818441272737 + - 10.118185809710017 + - 10.118188429128212 + - 10.11819320874446 + - 10.118201714946474 + - 10.118216509300028 + - 10.118241699866251 + - 10.118283757111433 + - 10.118352703446286 + - 10.118463823511437 + - 10.118640091405013 + - 10.118915573569828 + - 10.11934014471686 + - 10.119985951734053 + - 10.120956179501288 + - 10.122396814381453 + - 10.124512265031427 + - 10.127585880572637 + - 10.132006588991725 + - 10.138303034811395 + - 10.14718667037987 + - 10.159605155195651 + - 10.176806986962955 + - 10.20041728378779 + - 10.23252270361312 + - 10.275760147830693 + - 10.333398596866616 + - 10.409395698578416 + - 10.508400579061698 + - 10.635662961071494 + - 10.79679949340969 + - 10.997367957919511 + - 11.242218807363829 + - 11.534641808666041 + - 11.875406646580142 + - 12.261894535128535 + - 12.687590883318332 + - 13.142197920650677 + - 13.612491450121496 + - 14.08381280892894 + - 14.541856352358174 + - 14.974306621776487 + - 15.371955133109672 + - 15.729134505188128 + - 16.043532167174458 + - 16.315589426595132 + - 16.547724616860485 + - 16.743571183135955 + - 16.90734284064604 + - 17.04336657651358 + - 17.15577686759402 + - 17.248341298664982 + - 17.324381764630434 + - 17.38675883317655 + - 17.437893879737565 + - 17.47981096867285 + - 17.51418665902733 + - 17.542400560919653 + - 17.565582680836428 + - 17.584655674716423 + - 17.600371394484284 + - 17.613341831816424 + - 17.62406493013625 + - 17.632945889556424 + - 17.640314620415786 + - 17.64643996657037 + - 17.651541254531555 + - 17.655797649119023 + - 17.65935572156742 + - 17.662335567493898 + - 17.664835752055993 + - 17.666937308456255 + - 17.668706973197317 + - 17.67019980624864 + - 17.671461315508576 + - 17.67252918160299 + - 17.673434660216717 + - 17.674203723989407 + - 17.6748579938295 + bmd_y: 10.897790855483471 + bmdl_y: 10.118217131203851 + bmdu_y: 11.475839992366089 + parameters: + se: + - 0.13762508977324422 + - 2.160070463208339 + - 74.3744907362463 + - 916.9148544908554 + - 1.2011321990892045 + - 2.6023307367665833e-09 + cov: + - - 0.01894066533509353 + - -0.021187138643941113 + - 0.06837948937442004 + - 0.13877066111143063 + - 0.017978431599767225 + - -0.049564721985656986 + - - -0.021187138643940003 + - 4.6659044060250885 + - 144.78001860118914 + - -1730.7372547436164 + - -0.49655941422176886 + - 1.1776501032878617 + - - 0.06837948937437173 + - 144.78001860118917 + - 5531.564872275987 + - -67771.10916206535 + - -2.0356034984615863 + - 4.911146996536777 + - - 0.13877066111136513 + - -1730.737254743613 + - -67771.10916206529 + - 840732.8503859866 + - 2.6885188123150012 + - -6.554379832157754 + - - 0.01797843159976739 + - -0.4965594142218609 + - -2.035603498464737 + - 2.6885188123531054 + - 1.4427185596888683 + - -3.4974770505987616 + - - -0.049564721985657985 + - 1.1776501032881046 + - 4.911146996545004 + - -6.5543798322571165 + - -3.4974770505987616 + - 8.527727819917166 + names: + - g + - v + - k + - n + - rho + - alpha + values: + - 10.11818301028505 + - 7.560695923257408 + - 301.0361014748686 + - 14.858098637842224 + - 4.286905423512866 + - 2.9851964262665913e-05 + bounded: + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + lower_ci: + - 9.848442788832722 + - 3.3270355779057392 + - 155.26477711349233 + - -1782.2620072294728 + - 1.9327295540571918 + - 2.9846863788105755e-05 + upper_ci: + - 10.387923231737377 + - 11.794356268609077 + - 446.8074258362448 + - 1811.9782045051572 + - 6.641081292968539 + - 2.985706473722607e-05 + prior_type: + - 0 + - 0 + - 0 + - 0 + - 0 + - 0 + prior_stdev: + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + prior_max_value: + - 100.0 + - 100.0 + - 5.0 + - 18.0 + - 18.0 + - 18.0 + prior_min_value: + - -100.0 + - -100.0 + - 0.0 + - 1.0 + - -18.0 + - -18.0 + prior_initial_value: + - 0.0 + - 0.0 + - 0.0 + - 1.0 + - 0.0 + - 0.0 + has_completed: true + settings: + bmr: 1.0 + name: '' + alpha: 0.05 + burnin: 20 + degree: 3 + priors: + priors: + - name: g + type: 0 + stdev: 0.0 + max_value: 100.0 + min_value: -100.0 + initial_value: 0.0 + - name: v + type: 0 + stdev: 0.0 + max_value: 100.0 + min_value: -100.0 + initial_value: 0.0 + - name: k + type: 0 + stdev: 0.0 + max_value: 5.0 + min_value: 0.0 + initial_value: 0.0 + - name: n + type: 0 + stdev: 0.0 + max_value: 18.0 + min_value: 1.0 + initial_value: 1.0 + overrides: null + prior_class: 1 + variance_priors: + - name: rho + type: 0 + stdev: 0.0 + max_value: 18.0 + min_value: -18.0 + initial_value: 0.0 + - name: alpha + type: 0 + stdev: 0.0 + max_value: 18.0 + min_value: -18.0 + initial_value: 0.0 + samples: 0 + bmr_type: 2 + disttype: 2 + tail_prob: 0.01 + is_increasing: true + model_class: + id: 6 + params: + - g + - v + - k + - n + verbose: Hill + model_form_str: P[dose] = g + v * dose ^ n / (k ^ n + dose ^ n) + variance_params: + - rho + - alpha + dataset: + anova: null + doses: + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.0 + - 0.1 + - 0.1 + - 0.1 + - 0.1 + - 0.1 + - 0.1 + - 1.0 + - 1.0 + - 1.0 + - 1.0 + - 1.0 + - 1.0 + - 10.0 + - 10.0 + - 10.0 + - 10.0 + - 10.0 + - 10.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 100.0 + - 300.0 + - 300.0 + - 300.0 + - 300.0 + - 300.0 + - 300.0 + - 500.0 + - 500.0 + - 500.0 + - 500.0 + - 500.0 + - 500.0 + dtype: CI + metadata: + id: 0 + name: 'Dataset #1' + dose_name: Dose + dose_units: '' + response_name: Response + response_units: '' + responses: + - 8.1079 + - 9.3063 + - 9.7431 + - 9.7814 + - 10.0517 + - 10.6132 + - 10.7509 + - 11.0567 + - 9.1556 + - 9.6821 + - 9.8256 + - 10.2095 + - 10.2222 + - 12.0382 + - 9.5661 + - 9.7059 + - 9.9905 + - 10.2716 + - 10.471 + - 11.0602 + - 8.8514 + - 10.0107 + - 10.0854 + - 10.5683 + - 11.1394 + - 11.4875 + - 9.5427 + - 9.7211 + - 9.8267 + - 10.0231 + - 10.1833 + - 10.8685 + - 11.368 + - 13.5176 + - 12.3168 + - 14.002 + - 17.1186 + - 13.6368 + - 19.9572 + - 20.1347 + - 16.7743 + - 20.0571 + - 15.1564 + - 15.0368 + version: + dll: 24.1a4 + python: 24.1a4 + selected: + notes: User selected best fitting model + model_index: 0 + description: '' + recommender: + results: + model_bin: + - 0 + model_notes: + - '0': [] + '1': [] + '2': [] + recommended_model_index: 0 + recommended_model_variable: aic + settings: + rules: + - threshold: 0.1 + rule_class: gof + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: dof_zero + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 1.0 + rule_class: high_bmd + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: warnings + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1.0 + rule_class: high_bmdl + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2.0 + rule_class: roi_large + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: gof_cancer + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: null + rule_class: aic_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmd_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: roi_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdl_missing + failure_bin: 2 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: null + rule_class: bmdu_missing + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 10.0 + rule_class: low_bmd_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3.0 + rule_class: low_bmd_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_fit + failure_bin: 1 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 10.0 + rule_class: low_bmdl_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3.0 + rule_class: low_bmdl_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 0.05 + rule_class: variance_type + failure_bin: 1 + enabled_nested: false + enabled_continuous: false + enabled_dichotomous: false + - threshold: 1.5 + rule_class: control_stdev_fit + failure_bin: 0 + enabled_nested: false + enabled_continuous: true + enabled_dichotomous: false + - threshold: 20.0 + rule_class: bmd_bmdl_ratio_fail + failure_bin: 1 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 3.0 + rule_class: bmd_bmdl_ratio_warn + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + - threshold: 2.0 + rule_class: control_residual_high + failure_bin: 0 + enabled_nested: true + enabled_continuous: true + enabled_dichotomous: true + enabled: true + recommend_viable: true + recommend_questionable: false + sufficiently_close_bmdl: 3.0 + model_average: null + option_index: 0 + dataset_index: 0 + analysis_id: 09c09d22-2e1a-413c-b350-6b19969f6533 + bmds_ui_version: 24.1a4 + bmds_python_version: + dll: 24.1a4 + python: 24.1a4 + analysis_schema_version: '1.1' + errors: [] + created: 2024-08-22 15:23:53.050405+00:00 + last_updated: 2024-08-22 15:24:59.827826+00:00 + started: 2024-08-22 15:24:55.537289+00:00 + ended: 2024-08-22 15:24:55.791463+00:00 + deletion_date: null + starred: false + collections: [1] - model: analysis.collection pk: 1 fields: diff --git a/tests/desktop/components/test_database_form.py b/tests/desktop/components/test_database_form.py index c35203fe..637678b3 100644 --- a/tests/desktop/components/test_database_form.py +++ b/tests/desktop/components/test_database_form.py @@ -5,6 +5,7 @@ import pytest from bmds_ui.desktop.components import database_form +from bmds_ui.desktop.config import Database def test_additional_path_checks(): @@ -27,3 +28,31 @@ def test_additional_path_checks(): p = Path(f.name) with pytest.raises(ValueError, match="Cannot edit database"): database_form.additional_path_checks(p) + + +def test_check_duplicates(): + existing = [ + Database(name="a", path=Path("a.db")), + Database(name="b", path=Path("b.db")), + ] + + # check pass; new filename + new_db = Database(name="c", path=Path("c.db")) + assert database_form.check_duplicates(existing, new_db) is None + + # check pass; editing existing file + new_db = existing[0].model_copy() + new_db.name = "d" + assert database_form.check_duplicates(existing, new_db) is None + + # check failure; new database with same path + new_db = Database(name="b", path=Path("b.db")) + with pytest.raises( + ValueError, match=r"An existing project \([\w]+\) already exists with this filename" + ): + database_form.check_duplicates(existing, new_db) + + # check failure; new database with same name + new_db = Database(name="b", path=Path("d.db")) + with pytest.raises(ValueError, match="An existing project already exists with this name"): + database_form.check_duplicates(existing, new_db) diff --git a/tests/desktop/test_actions.py b/tests/desktop/test_actions.py index 467b294f..33d58860 100644 --- a/tests/desktop/test_actions.py +++ b/tests/desktop/test_actions.py @@ -47,4 +47,4 @@ def test_write_startup_script(): def test_create_shortcut(capsys): actions.create_shortcut(no_input=True) captured = capsys.readouterr() - assert "BMDS Desktop Manger Created" in captured.out + assert "BMDS Desktop Manager Created" in captured.out diff --git a/tests/desktop/test_app.py b/tests/desktop/test_app.py index cb116673..90667ce7 100644 --- a/tests/desktop/test_app.py +++ b/tests/desktop/test_app.py @@ -1,4 +1,5 @@ import os +import secrets import tempfile from pathlib import Path @@ -138,7 +139,7 @@ async def test_db_form(self, rollback_get_app): await pilot.pause() # fill out form w/ valid data - app.query_one("#name").value = "test name" + app.query_one("#name").value = f"Test {secrets.token_urlsafe(8)}" app.query_one("#filename").value = "test-db.db" app.query_one("#description").value = "test description" @@ -171,7 +172,7 @@ async def test_db_form(self, rollback_get_app): await pilot.press("enter") assert isinstance(app.screen, components.database_form.DatabaseFormModel) - assert app.query_one("#name").value == "test name" + assert app.query_one("#name").value.startswith("Test ") assert app.query_one("#filename").value == "test-db.db" assert app.query_one("#path").value == resolved_temp_dir assert app.query_one("#description").value == "test description" diff --git a/tests/integration/common.py b/tests/integration/common.py index 85235350..c4d69923 100644 --- a/tests/integration/common.py +++ b/tests/integration/common.py @@ -5,7 +5,6 @@ from django.test import TestCase from playwright.sync_api import Page -CAN_EXECUTE = os.getenv("CI") is None RUN_INTEGRATION = os.environ.get("INTEGRATION_TESTS") is not None if RUN_INTEGRATION: os.environ["DJANGO_ALLOW_ASYNC_UNSAFE"] = "true" @@ -25,7 +24,6 @@ class PlaywrightTestCase(StaticLiveServerTestCase, TestCase): @pytest.fixture(autouse=True) def set_fixtures(self, page: Page): - self.can_execute: bool = CAN_EXECUTE self.page: Page = page def url(self, path: str) -> str: diff --git a/tests/integration/test_integration.py b/tests/integration/test_integration.py index a7553c4e..696afe81 100644 --- a/tests/integration/test_integration.py +++ b/tests/integration/test_integration.py @@ -1,16 +1,28 @@ -import pytest -from playwright.sync_api import expect +from playwright.sync_api import Page, expect + +from bmds_ui.analysis.models import Analysis from .common import PlaywrightTestCase +# current version: {"analysis_schema_version": "1.1"} +analysis_pks = [ + ("432a6083-f9aa-4de2-a71f-a6488b4c5bf1", "dichotomous"), + ("cfe458aa-2313-44c0-9346-f4931567bef0", "continuous summary"), + ("09c09d22-2e1a-413c-b350-6b19969f6533", "continuous individual"), + ("4459f728-05f7-4057-a27c-174822a0313d", "nested dichotomous"), + ("2f86f324-911d-4194-97d1-fc7c3f5d0c72", "multitumor"), +] + class TestContinuousIntegration(PlaywrightTestCase): - def test_continuous(self): - page = self.page - page.goto(self.url("/")) + def _create_new_analysis(self) -> Page: + self.page.goto(self.url("/")) + with self.page.expect_navigation(): + self.page.get_by_role("button", name="Create a new BMDS analysis").click() + return self.page - with page.expect_navigation(): - page.get_by_role("button", name="Create a new BMDS analysis").click() + def _test_continuous(self, option: str): + page = self._create_new_analysis() # set main input page.locator("#analysis_name").fill("abc") @@ -22,6 +34,7 @@ def test_continuous(self): # view data tab page.get_by_role("link", name="Data").click() + page.locator("#datasetType").select_option(option) page.get_by_role("button", name="New").click() page.get_by_role("button", name="Load an example dataset").click() @@ -29,54 +42,57 @@ def test_continuous(self): page.locator('a:has-text("Settings")').click() page.locator("text=Save Analysis").click() - if self.can_execute: - # execute and wait until complete - page.locator("text=Run Analysis").click() - expect(page.locator("#controlPanel")).to_contain_text("Executing, please wait...") + # execute and wait until complete + page.locator("text=Run Analysis").click() + expect(page.locator("#controlPanel")).to_contain_text("Executing, please wait...") - # view output summary tables - page.locator('a:has-text("Output")').click() - expect(page.locator("#frequentist-model-result tbody tr")).to_have_count(2) + # view output summary tables + page.locator('a:has-text("Output")').click() + expect(page.locator("#frequentist-model-result tbody tr")).to_have_count(2) - # display frequentist modal - page.locator("#freq-result-0").click() - expect(page.locator("#info-table tbody tr")).to_have_count(3) - page.locator("#close-modal").click() + # display frequentist modal + page.locator("#freq-result-0").click() + expect(page.locator("#info-table tbody tr")).to_have_count(3) + page.locator("#close-modal").click() - page.locator("#selection_model").select_option("0") - page.locator("#selection_notes").fill("selected!") - page.locator("#selection_submit").click() - expect(page.locator(".toast")).to_contain_text("Model selection updated.") + page.locator("#selection_model").select_option("0") + page.locator("#selection_notes").fill("selected!") + page.locator("#selection_submit").click() + expect(page.locator(".toast")).to_contain_text("Model selection updated.") page.locator('a:has-text("Logic")').click() expect(page.locator("#decision-logic tbody tr")).to_have_count(4) expect(page.locator("#rule-table tbody tr")).to_have_count(20) # Read-only - if self.can_execute: - page.get_by_role("button", name="Share").click() - with page.expect_popup() as page2_info: - page.get_by_role("link", name="Open").first.click() - page2 = page2_info.value + page.get_by_role("button", name="Share").click() + with page.expect_popup() as page2_info: + page.get_by_role("link", name="Open").first.click() + page2 = page2_info.value - page2.get_by_role("link", name="Settings").click() - expect(page2.get_by_role("cell", name="abc")).to_be_visible() + page2.get_by_role("link", name="Settings").click() + expect(page2.get_by_role("cell", name="abc")).to_be_visible() - page2.get_by_role("link", name="Data").click() - expect(page2.get_by_text("Dataset Name: Dataset #1")).to_be_visible() + page2.get_by_role("link", name="Data").click() + expect(page2.get_by_text("Dataset Name: Dataset #1")).to_be_visible() - page2.get_by_role("link", name="Output").click() - expect(page2.get_by_text("Dataset Name: Dataset #1")).to_be_visible() + page2.get_by_role("link", name="Output").click() + expect(page2.get_by_text("Dataset Name: Dataset #1")).to_be_visible() - page2.get_by_role("link", name="Logic").click() - expect(page2.get_by_role("cell", name="Decision Logic")).to_be_visible() + page2.get_by_role("link", name="Logic").click() + expect(page2.get_by_role("cell", name="Decision Logic")).to_be_visible() - def test_dichotomous(self): - page = self.page - page.goto(self.url("/")) + def test_continuous_summary(self): + # create new analysis and make sure we can execute, view results, and view read-only page + self._test_continuous(option="CS") + + def test_continuous_individual(self): + # create new analysis and make sure we can execute, view results, and view read-only page + self._test_continuous(option="I") - with page.expect_navigation(): - page.get_by_role("button", name="Create a new BMDS analysis").click() + def test_dichotomous(self): + # create new analysis and make sure we can execute, view results, and view read-only page + page = self._create_new_analysis() # set main input page.locator("#analysis_name").fill("abc") @@ -98,66 +114,60 @@ def test_dichotomous(self): page.locator('a:has-text("Settings")').click() page.locator("text=Save Analysis").click() - if self.can_execute: - # execute and wait until complete - page.locator("text=Run Analysis").click() - expect(page.locator("#controlPanel")).to_contain_text("Executing, please wait...") + # execute and wait until complete + page.locator("text=Run Analysis").click() + expect(page.locator("#controlPanel")).to_contain_text("Executing, please wait...") - # view output summary tables - page.locator('a:has-text("Output")').click() - expect(page.locator("#frequentist-model-result tbody tr")).to_have_count(2) - expect(page.locator("#bayesian-model-result tbody tr")).to_have_count(2) + # view output summary tables + page.locator('a:has-text("Output")').click() + expect(page.locator("#frequentist-model-result tbody tr")).to_have_count(2) + expect(page.locator("#bayesian-model-result tbody tr")).to_have_count(2) - # display frequentist modal - page.locator("#freq-result-0").click() - expect(page.locator("#info-table tbody tr")).to_have_count(3) - page.locator("#close-modal").click() + # display frequentist modal + page.locator("#freq-result-0").click() + expect(page.locator("#info-table tbody tr")).to_have_count(3) + page.locator("#close-modal").click() - # display bayesian modal - page.locator("#bayesian-result-0").click() - expect(page.locator("#info-table tbody tr")).to_have_count(3) - page.locator("#close-modal").click() + # display bayesian modal + page.locator("#bayesian-result-0").click() + expect(page.locator("#info-table tbody tr")).to_have_count(3) + page.locator("#close-modal").click() - # display bayesian model average modal - page.locator("td", has_text="Model Average").click() - expect(page.locator("#ma-result-summary tbody tr")).to_have_count(3) - page.locator("#close-modal").click() + # display bayesian model average modal + page.locator("td", has_text="Model Average").click() + expect(page.locator("#ma-result-summary tbody tr")).to_have_count(3) + page.locator("#close-modal").click() - page.locator("#selection_model").select_option("0") - page.locator("#selection_notes").fill("selected!") - page.locator("#selection_submit").click() - expect(page.locator(".toast")).to_contain_text("Model selection updated.") + page.locator("#selection_model").select_option("0") + page.locator("#selection_notes").fill("selected!") + page.locator("#selection_submit").click() + expect(page.locator(".toast")).to_contain_text("Model selection updated.") page.locator('a:has-text("Logic")').click() expect(page.locator("#decision-logic tbody tr")).to_have_count(4) expect(page.locator("#rule-table tbody tr")).to_have_count(18) # Read-only - if self.can_execute: - page.get_by_role("button", name="Share").click() - with page.expect_popup() as page2_info: - page.get_by_role("link", name="Open").first.click() - page2 = page2_info.value + page.get_by_role("button", name="Share").click() + with page.expect_popup() as page2_info: + page.get_by_role("link", name="Open").first.click() + page2 = page2_info.value - page2.get_by_role("link", name="Settings").click() - expect(page2.get_by_role("cell", name="abc")).to_be_visible() + page2.get_by_role("link", name="Settings").click() + expect(page2.get_by_role("cell", name="abc")).to_be_visible() - page2.get_by_role("link", name="Data").click() - expect(page2.get_by_text("Dataset Name: Dataset #1")).to_be_visible() + page2.get_by_role("link", name="Data").click() + expect(page2.get_by_text("Dataset Name: Dataset #1")).to_be_visible() - page2.get_by_role("link", name="Output").click() - expect(page2.get_by_text("Dataset Name: Dataset #1")).to_be_visible() + page2.get_by_role("link", name="Output").click() + expect(page2.get_by_text("Dataset Name: Dataset #1")).to_be_visible() - page2.get_by_role("link", name="Logic").click() - expect(page2.get_by_role("cell", name="Decision Logic")).to_be_visible() + page2.get_by_role("link", name="Logic").click() + expect(page2.get_by_role("cell", name="Decision Logic")).to_be_visible() - @pytest.mark.xfail def test_nested_dichotomous(self): - page = self.page - page.goto(self.url("/")) - - with page.expect_navigation(): - page.get_by_role("button", name="Create a new BMDS analysis").click() + # create new analysis and make sure we can execute, view results, and view read-only page + page = self._create_new_analysis() # set main input page.locator("#analysis_name").fill("abc") @@ -175,45 +185,41 @@ def test_nested_dichotomous(self): page.locator('a:has-text("Settings")').click() page.get_by_role("button", name="Save Analysis").click() - if self.can_execute: - # execute and wait until complete - page.locator("text=Run Analysis").click() - expect(page.locator("#controlPanel")).to_contain_text("Executing, please wait...") + # execute and wait until complete + page.locator("text=Run Analysis").click() + expect(page.locator("#controlPanel")).to_contain_text("Executing, please wait...") - # view output summary tables - page.locator('a:has-text("Output")').click() - # num rows in results table - expect(page.locator("#frequentist-model-result tbody tr")).to_have_count(5) + # view output summary tables + page.locator('a:has-text("Output")').click() + # num rows in results table + expect(page.locator("#frequentist-model-result tbody tr")).to_have_count(5) - # check one result - page.get_by_role("link", name="Nested Logistic (lsc+ilc-)*").click() - expect(page.get_by_role("dialog")).to_contain_text("Nested Logistic (lsc+ilc-)") - page.locator("#close-modal").click() + # check one result + page.get_by_role("link", name="Nested Logistic (lsc+ilc-)").click() + expect(page.get_by_role("dialog")).to_contain_text("Nested Logistic (lsc+ilc-)") + page.locator("#close-modal").click() - # Read-only - page.get_by_role("button", name="Share").click() - with page.expect_popup() as page2_info: - page.get_by_role("link", name="Open").first.click() - page2 = page2_info.value + # Read-only + page.get_by_role("button", name="Share").click() + with page.expect_popup() as page2_info: + page.get_by_role("link", name="Open").first.click() + page2 = page2_info.value - page2.get_by_role("link", name="Settings").click() - expect(page2.get_by_role("cell", name="abc")).to_be_visible() + page2.get_by_role("link", name="Settings").click() + expect(page2.get_by_role("cell", name="abc")).to_be_visible() - page2.get_by_role("link", name="Data").click() - expect(page2.get_by_text("Dataset Name: Dataset #1")).to_be_visible() + page2.get_by_role("link", name="Data").click() + expect(page2.get_by_text("Dataset Name: Dataset #1")).to_be_visible() - page2.get_by_role("link", name="Output").click() - expect(page2.get_by_text("Dataset Name: Dataset #1")).to_be_visible() + page2.get_by_role("link", name="Output").click() + expect(page2.get_by_text("Dataset Name: Dataset #1")).to_be_visible() - page2.get_by_role("link", name="Logic").click() - expect(page2.get_by_role("cell", name="Decision Logic")).to_be_visible() + page2.get_by_role("link", name="Logic").click() + expect(page2.get_by_role("cell", name="Decision Logic")).to_be_visible() def test_multi_tumor(self): - page = self.page - page.goto(self.url("/")) - - with page.expect_navigation(): - page.get_by_role("button", name="Create a new BMDS analysis").click() + # create new analysis and make sure we can execute, view results, and view read-only page + page = self._create_new_analysis() # set main input page.locator("#analysis_name").fill("abc") @@ -238,35 +244,87 @@ def test_multi_tumor(self): page.locator('a:has-text("Settings")').click() page.locator("text=Save Analysis").click() - if self.can_execute: - # execute and wait until complete - page.locator("text=Run Analysis").click() - expect(page.locator("#controlPanel")).to_contain_text("Executing, please wait...") + # execute and wait until complete + page.locator("text=Run Analysis").click() + expect(page.locator("#controlPanel")).to_contain_text("Executing, please wait...") - # view output summary tables - page.locator('a:has-text("Output")').click() + # view output summary tables + page.locator('a:has-text("Output")').click() - # check one result (multitumor) - page.get_by_role("link", name="Multitumor").click() - expect(page.get_by_role("dialog")).to_contain_text("MS Combo") - page.locator("#close-modal").click() + # check one result (multitumor) + page.get_by_role("link", name="Multitumor").click() + expect(page.get_by_role("dialog")).to_contain_text("MS Combo") + page.locator("#close-modal").click() - # check one result (individual) - page.get_by_role("link", name="Multistage 1*").click() - expect(page.get_by_role("dialog")).to_contain_text("Multistage 1") - page.locator("#close-modal").click() + # check one result (individual) + expect(page.get_by_role("link", name="Multistage 2*")).to_have_count(3) + page.get_by_role("link", name="Multistage 2*").nth(1).click() + expect(page.get_by_role("dialog")).to_contain_text("Multistage 2") + page.locator("#close-modal").click() - # Read-only - page.get_by_role("button", name="Share").click() - with page.expect_popup() as page2_info: - page.get_by_role("link", name="Open").first.click() - page2 = page2_info.value + # Read-only + page.get_by_role("button", name="Share").click() + with page.expect_popup() as page2_info: + page.get_by_role("link", name="Open").first.click() + page2 = page2_info.value + + page2.get_by_role("link", name="Settings").click() + expect(page2.get_by_role("cell", name="abc")).to_be_visible() - page2.get_by_role("link", name="Settings").click() - expect(page2.get_by_role("cell", name="abc")).to_be_visible() + page2.get_by_role("link", name="Data").click() + expect(page2.get_by_text("Select existing")).to_be_visible() - page2.get_by_role("link", name="Data").click() - expect(page2.get_by_text("Select existing")).to_be_visible() + page2.get_by_role("link", name="Output").click() + expect(page2.get_by_text("Model Results")).to_be_visible() - page2.get_by_role("link", name="Output").click() - expect(page2.get_by_text("Model Results")).to_be_visible() + def test_read_view(self): + # load existing analyses in our database and confirm we can view everything in read-only mode + page = self.page + for pk, model_type in analysis_pks: + a = Analysis.objects.get(pk=pk) + self.page.goto(self.url(a.get_absolute_url())) + + # check main tab loads + expect(page.get_by_role("cell", name="Analysis Name:")).to_be_visible() + + # check data tab loads + page.get_by_role("link", name="Data").click() + expect(page.get_by_text("Dataset Name:")).to_be_visible() + + # check output tab loads + page.get_by_role("link", name="Output").click() + if model_type == "multitumor": + expect(page.get_by_role("heading", name="Model Results")).to_be_visible() + else: + expect(page.locator("#frequentist-model-result")).to_be_visible() + + # check logic tab loads (not present with multitumor) + if model_type != "multitumor": + page.get_by_role("link", name="Logic").click() + expect(page.get_by_role("cell", name="Decision Logic")).to_be_visible() + + def test_edit_view(self): + # load existing analyses in our database and confirm we can view everything in editable mode + page = self.page + for pk, model_type in analysis_pks: + a = Analysis.objects.get(pk=pk) + self.page.goto(self.url(a.get_edit_url())) + + # check main tab loads + expect(page.locator("#analysis_name")).to_be_visible() + + # check data tab loads + page.get_by_role("link", name="Data").click() + expect(page.get_by_role("button", name="New")).to_be_visible() + + # check output tab loads + page.get_by_role("link", name="Output").click() + if model_type == "multitumor": + expect(page.get_by_role("heading", name="Model Results")).to_be_visible() + else: + expect(page.locator("#frequentist-model-result")).to_be_visible() + + # check logic tab loads (not present with multitumor) + if model_type != "multitumor": + page.get_by_role("link", name="Logic").click() + expect(page.get_by_role("cell", name="Decision Logic")).to_be_visible()