Hi
I am fairly new to stata and I have some data that I am evaluating for patients receiving cancer treatment. I have the number of sessions of treatment they have had i.e. session 1,2,3..
I have then merged a dataset with blood test results. I want to understand how many blood tests were performed around the time for each treatment session ( -7days -+7 days) and create a new variable with this number.
I have all the tests under 1 variable currently as string variables then the result numerically in the next variable column. There is one particular test I am interested in, is it possible to count just these by generating a new variable.
Related Posts with linking data according to date
plotting means + cis using imputed data and coefplotHi everyone, I hope you'll be able to help me with this question. I have multiple years of cross-se…
Calculating birthdate from age and age at test dateHow do I calculate birthdate from the age at test date (ageIGA) and the test date (tvdIGA)? Variabl…
Assigning labels as variable valuesI am using encode to convert a variable from string to numeric type so that I can use it in a regres…
how to count the number of variables after split?Dear All, How to generate a new variable that equals the number of variables generated after split?…
logistic regression standard errorsHi All, When I run the logit command I get the following result outcome | Coef. Std. Err. z P>|…
Subscribe to:
Post Comments (Atom)
0 Response to linking data according to date
Post a Comment