Dear Statalist members,
I am analyzing a partially nested design in a cost-effectiveness study (cost and QALY outcomes). The data are in long format, with the outcome variable y (containing both cost and QALY), distinguished by a binary variable type (e.g., 0 = cost, 1 = QALY), and group for arm (0 = control, 1 = intervention).
Key features of the design:
text
mixed y i.type i.type#i.group || site: || cid:group || pid:, nocons ml residuals(ind, t(type) by(group)) nolog
This produces a convergence error (typically something like "convergence not achieved".
What is the recommended syntax for handling a partially nested design where clustering (cid) only applies to one arm?
How can I properly model the correlation between cost and QALY at cluster and individual levels?
I am analyzing a partially nested design in a cost-effectiveness study (cost and QALY outcomes). The data are in long format, with the outcome variable y (containing both cost and QALY), distinguished by a binary variable type (e.g., 0 = cost, 1 = QALY), and group for arm (0 = control, 1 = intervention).
Key features of the design:
- Several sites include both intervention and control participants (so sites are crossed with group).
- Clinicians (identified by cid) are only present in the intervention arm (clustering via clinicians only applies to intervention).
- Individuals (pid) are in both arms.
- Variances differ between arms (heteroscedastic by design).
- I need to account for correlation between cost and QALY at both the cluster (clinician/cid) level and the individual (pid) level.
text
mixed y i.type i.type#i.group || site: || cid:group || pid:, nocons ml residuals(ind, t(type) by(group)) nolog
This produces a convergence error (typically something like "convergence not achieved".
What is the recommended syntax for handling a partially nested design where clustering (cid) only applies to one arm?
How can I properly model the correlation between cost and QALY at cluster and individual levels?

Comment