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

Two questions #72

Open
mattfidler opened this issue Mar 16, 2024 · 6 comments
Open

Two questions #72

mattfidler opened this issue Mar 16, 2024 · 6 comments
Assignees

Comments

@mattfidler
Copy link
Contributor

Hi @andrewhooker,

I have two questions:

  • I tried implementing a residual error where the sigma is fixed to one and the additive error is defined in the ff model. When running evaluate_design the residual components are not being estimated in the fim:
$fim
               tcl         tv add.err
tcl     30.2591311 -0.2562828       0
tv      -0.2562828 40.0014869       0
add.err  0.0000000  0.0000000       0

$rse
     tcl       tv  add.err 
 3.76520 30.95288       NA 

Warning message:
  The following parameters are not estimable:
  add.err
  Is the design adequate to estimate all parameters? 

Is fixing the add.err component equivalent to what is done?

  • When using a mixed log-normal and normal distribution, is it adequate to simply do the transformation of f. In dynamic transformation of both sides in NONMEM there is an objective function adjustment. Is that needed?

Thanks

The answers to these two questions will help me produce an interface between nlmixr2 and PopED.

@mattfidler
Copy link
Contributor Author

mattfidler commented Mar 16, 2024

For dynamic transform of both sides, I suppose I could add the objective function correction using a new ofv that relies on ofv_fim

https://github.com/andrewhooker/PopED/blob/master/R%2Fofv_fim.R

But I don't think it is needed.... I'm not confident enough in the methodology to really know.

In general I cannot find the "y" value that would lend itself to the dTBS

@mattfidler
Copy link
Contributor Author

Is fixing the add.err component equivalent to what is done?

Looking through the examples this is a clear no. I guess the fixed sigma trick that works in NONMEM does not work here.

@mattfidler
Copy link
Contributor Author

I also noticed that the prediction functions return DV so there must be some sort of DV prediction. So dynamic transform of both sides won't work 100% by simply transforming the f value.

@andrewhooker andrewhooker self-assigned this Sep 12, 2024
@mattfidler
Copy link
Contributor Author

I also noticed there is an example (example 8) that sort of has this transformation built in for log-values. For now, in the case of dynamic transform of both sides, I handle log-normal for the example 8 case.

In this case:

  • f function is untransformed
  • err function takes the untransformed and converts the values

This may be sufficient. However, it makes me wonder a bit about the standard errors of the estimate -- They seem way to small if I calculate them, so I think it is still an issue.

@andrewhooker
Copy link
Owner

Hi Matt,

I'll take a look!

Andy

@mattfidler
Copy link
Contributor Author

Thanks Andy

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

2 participants