Dear statalisters,
I am currently trying to develop a mapping algorithm from the EQ-5D-5L to a disease-specific HRQoL instrument.
I want to do internal validation and I am planning on using the function crossfold to do k-fold cross-validation.
This is what I am doing for e.g. the mixed-effects linear regression.
crossfold xtreg eq5d diseasescore age i.gender, mle k(10)
However, I am not sure how to proceed with the cross validation when I run a two-part model.
In this two part model, I first conducted a mixed-effects logistic regression which was fitted to predict the probability of a respondent having full health (EQ-5D-5L score equal to one). In a second stage a mixed-effects OLS truncated to those who do not have full health was estimated. The overall expected EQ-5D-5L index score was calculated using an expected value approach with the formula Expected EQ-5D = predicted value for those in full health + (1- predicted value for those in full health) * predicted value for those in imperfect health.
Basically I do not know how can I do cross validation in this specific case. I know I could use the crossfold command for each part of the model (logistic regression or linear regression), but I am interested in the final eq-5d results obtained from the two parts of the model...
Thanks a lot!
I am using STATA 15.
Thanks!
Related Posts with Cross-fold validation in two part models (health economics example)
Most Common Medication Unweighted and WeightedHello,
I'm currently working with NHANES data attempting to combine multiple survey years together …
Placing a dot and a line segment on a graphHi, I'd love to get some help on drawling a dot (or a filled in circle) at (126, 0) and a line segme…
Formulas of the regs' standard errorsWhere can I find the formulas that the different vce() in the reg command use? The help file does no…
Creating New Variable based on Values of Another Variable (by group)Hello Stata Friends:
I would like to make the values of one variable, each into their own new varia…
Merging_adviseHi statalist community, I need some help with merging
File A has a unique ID
File B has a unique I…
Subscribe to:
Post Comments (Atom)
0 Response to Cross-fold validation in two part models (health economics example)
Post a Comment