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

poped - evaluate_power error in example 11 #135

Closed
TheoPapath opened this issue Oct 18, 2024 · 2 comments · Fixed by #136
Closed

poped - evaluate_power error in example 11 #135

TheoPapath opened this issue Oct 18, 2024 · 2 comments · Fixed by #136

Comments

@TheoPapath
Copy link
Contributor

evaluate_power gives an error

image

This happens even though parameter number 5 is not fixed - likely a poped error and nothing can be done
image

Also in this example, the pediatric FIM does not match 1:1 with the poped examples. Not sure why that is.

@mattfidler
Copy link
Member

Hi @TheoPapath

The reason the pediatric FIM does not match is because you mis-translated the model using:

    KA<-tKa*exp(eta.ka)* (pedCL^(isPediatric)) # add covariate for pediatrics

Once you correct to:

    CL<-tCl*exp(eta.cl)* (pedCL^(isPediatric)) # add covariate for pediatrics

The FIM matches. I have updated the example in your branch (you will need to pull the changes).

Also in the babelmixr2 translation the model does not have a parameter 5, so this is the reason this does not exist. If you update this to index 4 it works just fine.

However, this is really not that user-friendly, so I have added the function:

babelBpopIdx(babel.db.all, "pedCL")

Which will query the babel.db.all for the "pedCL" parameter and give the correct index. This is in #136

@mattfidler
Copy link
Member

Thank you for working this example, I was unaware of the power of estimating covariates in PopED, this is something I am interested in 😄

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

Successfully merging a pull request may close this issue.

2 participants