Comments (8)
Hi @anajens and @wwojciech , so the above error is coming from test-tabulate_mmrm.R
However when I run the tests, I got different error messages.
from tern.
@yli110-stat697 what environment are you testing this in?
from tern.
@yli110-stat697 what environment are you testing this in?
In the latest rocker docker-registry.nest.roche.com/nest/r/rocker/nest:devel-latest
from tern.
So it seems like when arm
is taken out of the vars
in fit_mmrm
, all the 7 optimizers are having converging problems during model fit.
from tern.
I also can't reproduce the initial error above and see the 3 errors related to model not converging when testing with rstudio_4.1.0_bioc_3.13
and staged.dependencies
which need to be fixed.
I checked the results of the first test that fails above vs our last release and the estimates from the model that is returned by fit_lme4_single_optimizer
are identical. However, there is now a new warning about a singular fit.
@danielinteractive any suggestions on how to proceed? We can easily update the tests to use different covariates but I'm wondering if there are any additional actions needed to update how messages are handled byfit_lme4
?
Result from 2021_07_07
release (tested with 3.6.3 BEE):
Result from main
branch (tested docker rstudio_4.1.0_bioc_3.13 with staged.dependencies):
Here's the code I used from test-tabulate_mmrm.R
:
anl <- get_anl() %>%
mutate(
ARM = factor(ARM, levels = c("B: Placebo", "A: Drug X", "C: Combination")),
AVISIT = factor(AVISIT)
)
debugonce(fit_mmrm)
mmrm <- fit_mmrm(
vars = list(
response = "AVAL",
visit = "AVISIT",
covariates = c("BMRKR2"),
id = "USUBJID"
),
data = anl,
cor_struct = "random-quadratic"
)
from tern.
@anajens Yeah this convergence stuff is unfortunately pretty fragile between different machines, R package versions etc. To me your example result above on main actually looks better than on latest release. I don't think we need to hide this additional line printed in the bottom. So I would go with your suggestion to update the models being tested. I hope it's not those comparing to SAS results though?
from tern.
Thanks Daniel. It's not the SAS tests that are failing.
I still don't understand how the model summary can look identical across systems but in one case isSingular
returns FALSE and TRUE in the latter.
from tern.
@anajens I would guess that it is just the interpretation of model results into these singularity flags that changed.
from tern.
Related Issues (20)
- [Release]: <0.9.2> (end of October)
- Suppress display of % if number of observations is less than 10 for example 5 (3.2%) should display just 5. HOT 1
- Expose `na_str` argument in analyze/summarize functions HOT 2
- Refactor `count_occurrences` to no longer use `make_afun`
- update g_lineplot to count cohorts
- Adjust the width of errorbar in g_lineplot()
- [Feature Request]: Single line range in surv_time
- [CRAN Release]: <v0.9.3>
- [Feature Request]: Add split function to enable placing reference arm last in efficacy layout HOT 1
- Update tests for plots to image snaps. HOT 1
- update logo
- [Bug]: a_summary.character creates rows with the same name
- Fix logo sizing on pkgdown site
- Change accepted timepoint input for `analyze_vars_in_cols` imputation rule
- [Bug]: decorate_grob title/footnote do not wrap correctly HOT 1
- correct line 222 in g_lineplot
- Fix integration tests - revert `g_km` snapshot test
- Add function to pre-process data for `count_abnormal_by_worst_grade`
- Fix all lint
- argument name is misleading for g_lineplot HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tern.