Skip to content

enable other start values #396

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

Merged
merged 34 commits into from
Jan 4, 2024
Merged
Changes from 2 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
03f1b6b
initial try
clarkliming Dec 22, 2023
72b2113
update docs
clarkliming Dec 25, 2023
bcf7f1d
Merge branch 'main' into 387_emp_cov_init_value
clarkliming Dec 25, 2023
7464868
update start control
clarkliming Dec 26, 2023
6a6d0a6
update docs
clarkliming Dec 26, 2023
f3beaec
add internal object to hold start funs
clarkliming Dec 26, 2023
916b97d
update docs
clarkliming Dec 26, 2023
a5f97e1
update docs
clarkliming Jan 2, 2024
224c984
only when singularity use nearPD
clarkliming Jan 2, 2024
a8f6bd0
remove default start functions
clarkliming Jan 2, 2024
9812dec
update staring value section and update tests
clarkliming Jan 2, 2024
bcebd3b
update docs
clarkliming Jan 2, 2024
2a1cecd
Update R/fit.R
clarkliming Jan 2, 2024
f1bd2da
address comments
clarkliming Jan 2, 2024
61b84f2
[skip actions] Roxygen Man Pages Auto Update
github-actions[bot] Jan 2, 2024
e7228b1
Update tests/testthat/test-fit.R
clarkliming Jan 2, 2024
a0980dc
Update vignettes/subsections/_intro-customizations.Rmd
clarkliming Jan 2, 2024
e902303
Update vignettes/subsections/_intro-customizations.Rmd
clarkliming Jan 2, 2024
f1822a1
Update vignettes/subsections/_intro-customizations.Rmd
clarkliming Jan 2, 2024
f0f8b6e
Update tests/testthat/test-fit.R
clarkliming Jan 2, 2024
c344428
add error info and update vignettes
clarkliming Jan 3, 2024
ef5bb6e
fix typo
clarkliming Jan 3, 2024
8a5601f
update docs and tests
clarkliming Jan 3, 2024
acbcc60
update docs
clarkliming Jan 3, 2024
8e119a9
update doc and check
clarkliming Jan 3, 2024
e346f94
Update vignettes/subsections/_intro-customizations.Rmd
clarkliming Jan 3, 2024
65abcc3
adapt examples
clarkliming Jan 3, 2024
02afe42
use data instead of full_frame in emp (#401)
clarkliming Jan 4, 2024
945ec64
Apply suggestions from code review
clarkliming Jan 4, 2024
8700bb8
Merge 945ec64b7e0578f66cfd03c06cd16fd582ecf664 into a401521a69c624df5…
clarkliming Jan 4, 2024
1085a92
[skip actions] Restyle files
github-actions[bot] Jan 4, 2024
068af44
update example
clarkliming Jan 4, 2024
d85865b
Merge branch '387_emp_cov_init_value' of github.com:openpharma/mmrm i…
clarkliming Jan 4, 2024
1cf9e9e
typo update
clarkliming Jan 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions vignettes/subsections/_intro-customizations.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,18 @@ Using `emp_start` as the starting value, `mmrm` will converge fast.
mmrm(fev1 ~ trt * time + us(time | pts), data = out, start = emp_start)
```

However, if we use `std_start`, this will be convergence problems.
However, if we use `std_start`, there will be convergence problems.
Here we also increase the maximum iteration number to 50000 to improve the convergence.
However this does not work and it gives errors.

```{r mmrm_using_std_start, eval = FALSE}
mmrm(fev1 ~ trt * time + us(time | pts), data = out, start = std_start)
mmrm(
fev1 ~ trt * time + us(time | pts),
data = out,
start = std_start,
optimizer = "BFGS",
optimizer_control = list(maxit = 50000)
)
```


Expand Down