if Clast is zero in bear [🇷 for BE/BA]
❝ I've got some questions about calculations. Do I understand correctly that BEAR can calculate only AUCall but not AUClast?
No, bear calculates AUC0-last first, then AUC0-inf which is equal to AUC0-last + Clast/λz (Clast: the last measurable conc., not the last conc.).
❝ What is the formula for AUCinf calculation? I guess it is like AUCinf=AUCall+C/lambda_z, where C is the observed concentration in the last point, so AUCinf is actually AUCinf_obs, based on AUCall, am I right?

❝ Why does BEAR crash when there is a zero-concentration in the last point? (I change only one point: last point in concentrations of the first subject in the Single2x2x2 demo-data and BEAR returns:
I see.
log(conc.)
vs. time (x)
. The error is due to log(0).[edited] You should remove the last point that its conc. value is zero; Alternatively, you can input as 'NA' instead of zero. Usually these are the conc. below the lower quantitative limit. They are not really zero, I think.❝ Error in
❝ lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) :
❝ NA/NaN/Inf in 'y'
❝ It allows calculation only for the manual selection of points.
Not quite correct here. You may not require manual selection for data points if you remove the zero conc. after Tmax or just input as 'NA'.
❝ ...There is no need to calculate lambda_z and AUCinf if we just want to calculate AUC and Cmax...
Agree (in some countries or areas). But most of time, we need to calculate AUC0-inf. Thus, the calculation of lambda_z will be required. BTW, if you just need Cmax and AUC, removing the data points with conc.= 0 will not affect the final results. I will consider to remove the data points with conc.=0 after Tmax automatically in next release.
All the best,
-- Yung-jin Lee
bear v2.9.2:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here
Complete thread:
- bear v2.7.0 released yjlee168 2015-12-07 09:18 [🇷 for BE/BA]
- Suggestion ElMaestro 2015-12-07 10:12
- Suggestion yjlee168 2015-12-07 10:55
- Suggestion Helmut 2015-12-07 14:01
- Suggestion yjlee168 2015-12-07 18:51
- Suggestion Helmut 2015-12-07 14:01
- Suggestion yjlee168 2015-12-07 10:55
- bear v2.7.0 released Astea 2015-12-10 16:36
- if Clast is zero in bearyjlee168 2015-12-10 17:23
- if Clast is zero in bear Astea 2015-12-10 20:50
- if Clast is zero in bear yjlee168 2015-12-11 03:28
- if Clast is zero in bear Astea 2015-12-11 09:39
- if Clast is zero in bear yjlee168 2015-12-11 17:16
- if Clast is zero in bear Astea 2015-12-11 09:39
- if Clast is zero in bear yjlee168 2015-12-11 03:28
- bear v2.7.1 yjlee168 2015-12-15 10:21
- bear v2.7.1 Astea 2015-12-15 19:32
- BLLOQ ≠ 0 with measured drug plasma conc. yjlee168 2015-12-15 20:17
- BLLOQ ≠ 0 with measured drug plasma conc. Helmut 2015-12-16 01:45
- BLLOQ ≠ 0 with measured drug plasma conc. yjlee168 2015-12-16 11:38
- BLLOQ ≠ 0 ∀ t > 0 Helmut 2015-12-16 12:40
- BLLOQ ∋ { 0, ≈0, BLLOQ{...} ∀ t > 0} yjlee168 2015-12-16 18:22
- BLLOQ at first two time ponts, AUC calculation Astea 2016-01-30 17:11
- zero-zero with AUC calculation in bear yjlee168 2016-01-30 19:00
- BQL rules in bear mittyri 2016-02-01 22:16
- BQL rules in bear yjlee168 2016-02-02 10:59
- possible solutions? yjlee168 2016-02-02 21:30
- zero (0), missing (NA), or BLLOQ (0 or NA) in bear yjlee168 2016-02-03 09:04
- zero (0), missing (NA), or BLLOQ (0 or NA) in bear mahmoud-teaima 2016-02-08 21:28
- Please avoid Full Quotes (“TOFU”)! Ohlbe 2016-02-09 00:51
- error message in bear mahmoud-teaima 2016-02-09 04:55
- please check your dataset file yjlee168 2016-02-09 06:40
- please check your dataset file mahmoud-teaima 2016-02-09 15:00
- please check your dataset file yjlee168 2016-02-09 15:38
- please check your dataset file mahmoud-teaima 2016-02-09 15:00
- A possible R bug? yjlee168 2016-02-09 19:14
- Please avoid Full Quotes (“TOFU”)! Ohlbe 2016-02-09 00:51
- zero (0), missing (NA), or BLLOQ (0 or NA) in bear mahmoud-teaima 2016-02-08 21:28
- BQL rules in bear mittyri 2016-02-01 22:16
- zero-zero with AUC calculation in bear yjlee168 2016-01-30 19:00
- BLLOQ at first two time ponts, AUC calculation Astea 2016-01-30 17:11
- BLLOQ ∋ { 0, ≈0, BLLOQ{...} ∀ t > 0} yjlee168 2015-12-16 18:22
- BLLOQ ≠ 0 ∀ t > 0 Helmut 2015-12-16 12:40
- BLLOQ ≠ 0 with measured drug plasma conc. yjlee168 2015-12-16 11:38
- BLLOQ ≠ 0 with measured drug plasma conc. Helmut 2015-12-16 01:45
- BLLOQ ≠ 0 with measured drug plasma conc. yjlee168 2015-12-15 20:17
- bear v2.7.1 Astea 2015-12-15 19:32
- if Clast is zero in bear Astea 2015-12-10 20:50
- if Clast is zero in bearyjlee168 2015-12-10 17:23
- Suggestion ElMaestro 2015-12-07 10:12