openpharma / openpharma/mmrm

Support for `emp_start` to apply to other non-spatial covariance structures

Open
#562 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
R
Stars
161
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Summary

The current function emp_start works well to speed up us covariance estimation. I would like to extend this to the other non-spatial covariance structures so that we start with a close approximation before going into a general optimization loop.

Additional Information

Essentially, the existing emp_start need only use an additional helper function that calculates a reasonable starting value for non-us covariance structures from the empirical covariance matrix.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the existing emp_start entry point and trace how it derives starting values for us covariance estimation. Then inspect the other non-spatial covariance structures and determine the reasonable empirical-covariance starting values needed for each. Done means emp_start provides useful starts for those structures before the general optimization loop.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.