hi all,
I have troubles to make a stata code on generating a binary groups based on different conditions, here are the categories:
Diastolic function
0 if E/A-ratio was ≤0.8 and E < 50 cm/s were assigned as having grade I
1 if E/A-ratio was ≤0.8 and E > 50 cm/s or E/A-ratio was between 0.8 and 2.0 three parameters had to be evaluated --> i) E/e’-ratio > 14, (ii) TR velocity > 2.8 m/s, and (iii) LAVI > 34 mL/m2
...If two or three of these criteria (i, ii, iii) were negative, patients were assigned as having Grade I
...If two or three of these were positive, patients had Grade II.
....When patients only had two of the above-mentioned parameters (i, ii, iii) available, two negative criteria were categorized as DDF Grade I, two positives as DDF Grade II, and one positive and one negative as indeterminate.
2 if the E/A-ratio was ≥ 2.0 were assigned as having grade III
Please the picture below. Can anyone help to create a code to dividing this in group?
Thank you
[ATTACH=CONFIG]temp_21254_1612465386758_585[/ATTACH]
Related Posts with Generating New Variables to Multiple Conditions
Testing for serial correlation in panel analysis with instrumentDear all, Is there an alternative way to test for serial-/autocorrelation in a panel data setting w…
Conducting system GMM using xtabond2Dear Stata users, I am using the System GMM approach for estimation and I want to know whether the …
coefplot and axis labels of different colorsHi all! I am using coefplot to plot predicted probabilities at certain values for 5 model specifica…
Which statistics should I use when analyzing the effect of interventions on health outcomes?Dear Stata users, I would like to ask which stats I should use. I have health outcomes data (contin…
IV estimates with low mean values of the outcome?Dear all, I am examining the effects of maternal education on low bitrth weights using a fuzzy regr…
Subscribe to:
Post Comments (Atom)
0 Response to Generating New Variables to Multiple Conditions
Post a Comment