Hi Statalist,
I am new to the forum and to multiple imputations. I plan to run a cox regression model, but three covariates (World Health Organization Clinical stage, CD4 T-cell count and HIV viral load) have missing values. I have used the mi command to impute missing values for the three variables.
I have the following questions:
1. When I ran the sum command for CD4 T-cell count and HIV viral load after imputation of missing variables, I noted that Ithe newly computed variables include negative numbers which is odd. can this be prevented?
sum baseline_cd4
Variable Obs Mean Std. Dev. Min Max
baseline_cd4 100,777 267.6011 226.9528 -498.9758 1580
2. For the cox regression, I plan to transform both CD4 T-cell count and HIV viral load. I plan to analyze CD4 T-cell count in increments of 100 cell ( gen b_cd4_100 = baseline_cd4/100) and categorize HIV Viral load ( egen viralload0_cat = cut( rnavload_0 ), at( 0 , 1000,10000, 100000,9914937 )
With these transformations, will the integrity of the multiple imputations be maintained? or do I need to carry out the transformation before the multiple imputations?
Thank you.
Max
Related Posts with Data transformation after multiple imputation
IF statement using a local string variableI have a code that looks like the below (minimum working example). A loop that loops through 2 scena…
How can we set Stata so that potential commands would pop up downward whenever we type in a string or word?Hey colleagues, Today I was asked a question by a student of my intro. stat. using Stata class. Ple…
Dropping observations if entity does not exist in both wavesHi, I am new to Stata and trying to undertake a task for a stat class. I have a dataset containing…
How to get the predicted value of each group?Dear all, I want get the predicted value of each regression of each group? Here is an example. Co…
Making balanced panel by dropping observation based on a certain variableI want to make a balanced panel based on my ln_wage outcome variable. In my data most of data has 22…
Subscribe to:
Post Comments (Atom)
0 Response to Data transformation after multiple imputation
Post a Comment