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

summary(m) does not work with error: Error in solve.default(object$fit$hessian) : Lapack routine dgesv: system is exactly singular: U[1,1] = 0 #36

Open
lijuanyanbasf opened this issue Dec 6, 2023 · 0 comments

Comments

@lijuanyanbasf
Copy link

dataframe <- data.frame(conc=c(0, 0.944, 2.18, 4.14, 8.37, 16.1), total=c(160, 80, 80, 80, 80, 80), response=c(3, 1, 1, 5, 8, 80))

1) summary(m) does not work as below (increasing trend)

m <- drm(response/total ~ conc,
weights=total,
data=dataframe,
fct = W1.4(),
type = "binomial")
plot(m)
summary(m)

**# Error in solve.default(object$fit$hessian) :

Lapack routine dgesv: system is exactly singular: U[1,1] = 0**

2) However, summary(m) works if I model the non-responding fractions (decreasing trend)

m <- drm((total-response)/total ~ conc,
weights=total,
data=dataframe,
fct = W1.4(),
type = "binomial")
plot(m)
summary(m)

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