get.secondary: Computation of Secondary Parameter Estimates

Description Usage Arguments Value Author(s) See Also

View source: R/get.secondary.R

Description

get.secondary is a secondary function called during estimation runs by fitmle.cov. It computes estimates of secondary parameters and related statistics (covariance, coefficient of variations, and confidence intervals). get.secondary is typically not called directly by users.

Usage

1
2
get.secondary(subproblem = NULL,
              x = NULL)

Arguments

subproblem

A list containing the following levels:

data

A list containing as many levels as there are treatment levels for the subject (or population) being evaluated, plus the trts level listing all treatments for this subject (or population), and the id level giving the identification number of the subject (or set to 1 if the analysis was run at the level of the population.

Each treatment-specific level is a list containing the following levels:

cov

mij x 3 data.frame containing the times of observations of the dependent variables (extracted from the TIME variable), the indicators of the type of dependent variables (extracted from the CMT variable), and the actual dependent variable observations (extracted from the DV variable) for this particular treatment.

cov

mij x c data.frame containing the times of observations of the dependent variables (extracted from the TIME variable) and all the covariates identified for this particular treatment.

bolus

bij x 4 data.frame providing the instantaneous inputs for a treatment and individual.

infusion

fij x (4+c) data.frame providing the zero-order inputs for a treatment and individual.

trt

the particular treatment identifier.

method

A character string, indicating the scale of the analysis. Should be 'population' or 'subject'.

init

A data.frame of parameter data with the following columns: 'names', 'type', 'value', 'isfix', 'lb', and 'ub'.

debugmode

Logical indicator of debugging mode.

modfun

Model function.

x

The vector of p parameter estimates.

Value

Return a list of with the following elements:

init

The vector of s secondary parameter estimates derived from initial structural model parameter estimates.

estimates

The vector of s secondary parameter estimates derived from final structural model parameter estimates.

names

The vector of s secondary parameter names.

pder

The p x s matrix of partial derivatives for the secondary parameters.

Author(s)

Sebastien Bihorel (sb.pmlab@gmail.com)

See Also

fitmle.cov


sbihorel/scaRabee documentation built on Feb. 7, 2022, 9:50 p.m.