Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BMD Single Dichotomous values are not matching #4

Open
Sooyeong opened this issue Aug 10, 2022 · 0 comments
Open

BMD Single Dichotomous values are not matching #4

Sooyeong opened this issue Aug 10, 2022 · 0 comments

Comments

@Sooyeong
Copy link
Collaborator

Summary of single model fit results of BMD are not matching with modelfit$bmd result.

BMDL,BMDU seems correct, but BMD estimates are not matching.

See the log below

mData <- matrix(c(0, 2,50,
1, 2,50,
3, 10, 50,
16, 18,50,
32, 18,50,
33, 17,50),nrow=6,ncol=3,byrow=TRUE)
D <- mData[,1]
Y <- mData[,2]
N <- mData[,3]

res<-single_dichotomous_fit(mData[,1],mData[,2],mData[,3],model_type ="hill",fit_type = "mcmc", BMR = 0.1)

res$bmd
BMD BMDL BMDU
3.372234 1.319615 7.559162

summary(res)
Summary of single model fit (MCMC) using ToxicR
Model: Hill

BMD: 2.72 (1.32, 7.56) 90.0% CI

Convergence Diagnostics on BMD

Effective Sample Size: 353.61

Geweke Z-score that mean of first 30% of
MCMC chain is different from last 40%
Z-Score: 3.859 P-value 0.000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant