-
Notifications
You must be signed in to change notification settings - Fork 1
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
SCM filter result problem #64
Comments
@junmoxiao66 Can you Post the command you used? |
@vsarsani How to solve the above problem? |
@junmoxiao66 Sorry for the delay. Let me look into this week. |
@vsarsani Thank you very much. |
@junmoxiao66 is.numeric(AIC(fit) |
@vsarsani I ran the new code again,This is found in all code, as long as the covariates are filtered out, this error will occur. |
The value of tcl is negative since it is on a log scale. You take the
exponential to get the back transformed value
…On Mon, May 6, 2024, 8:56 AM junmoxiao66 ***@***.***> wrote:
@vsarsani <https://github.com/vsarsani> I ran the new code again,This is
found in all code, as long as the covariates are filtered out, this error
will occur.
1715003395150.1.jpg (view on web)
<https://github.com/nlmixr2/nlmixr2extra/assets/140042718/bac40147-c14c-4a07-89a7-9597433ee3f0>
1715003452794.1.jpg (view on web)
<https://github.com/nlmixr2/nlmixr2extra/assets/140042718/91d5144e-55d8-4780-bb9d-8aecf73d2f69>
1715003519072.jpg (view on web)
<https://github.com/nlmixr2/nlmixr2extra/assets/140042718/078ffa36-d984-4058-96da-3d0fec642e45>
Finally, I have one more question: Why is the estimated value of tcl
negative
—
Reply to this email directly, view it on GitHub
<#64 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD5VWUNX5LZRPXGIDRLT5DZA6DZVAVCNFSM6AAAAABBEL2OOKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWGA3TSNJXGY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@mattfidler Suddenly, thank you very much for your reply |
Hi all, I am having the same issue. Here is some reproducible code with the warfarin dataset:
Any ideas on how to solve this or what it means? |
I can partially fix forwardSearch. The issue seems to be that the code assumes covSearchRes[[]] contains fitted objects, but it does not. It's a list of "prediction only" models. So, the next loop through pulls that object and it lacks and objective function (and many other things). The hack I came up with was to select the best model, then (RE)fit it. Very inefficient, but it does work:
|
@the-magister awesome |
@vsarsani Hello, can you fix this BUG? I am very eager to use all the functions of your package to build PPK models (including the function of covariate screening), and then to publish the article, I think your open source R package is too good, but everyone seems to be concerned about this package is not particularly high, but also want to publicize the nlmixr2 package through the article |
@vsarsani Hello, professor, I'm sorry to bother you again, and I want to ask if you have time to fix the BUG. I'm waiting to use your package to screen covariates. Thank you again, and I hope you can make a breakthrough! |
@junmoxiao66 Sorry, did not get a chance to look into this. Let me try to see if I can do it this weekend. Have you tried bayesian covariate selection in nlmixr2 |
@vsarsani I haven't used Bayesian covariate selection, can you tell me specifically how to call this function?Which function is it? |
https://cran.r-project.org/web/packages/nlmixr2extra/nlmixr2extra.pdf Try horseshoedf , covarSearchAuto and also lassoSummardf Use library(nlmixr2extra) |
How can I solve this problem?I use the saem algorithm,
Error in covSearchRes[[which.min(resTable$pchisqr)]][[1]] :
wrong arguments for subsetting an environment
The text was updated successfully, but these errors were encountered: