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)
max or min of rows---- bysort and generateHi statalist community, I need to generate two variables for my research. Code: * Example genera…
What Estimation Method to use? (PSM, Probit, Logit, Heckman)Hi all, I'm currently writing my thesis in Finance on the explanatory power of ESG scores on the de…
placebo test using -permute-Dear statalist, I'm trying to do a placebo test in a DID by randomly assigning "treat" to my sample…
Change xlabel in a graphHello everyone, I'm working with a time series data set and I'm making some graphs, using the tslin…
converting modate format string to numericDear All, I have the data which is in the following format. The modate is in string format. The dat…
Subscribe to:
Post Comments (Atom)
0 Response to Cross-fold validation in two part models (health economics example)
Post a Comment