Dear all,
I have a set of variables (i.e., v1 to V) from which I would like to extract some single summarized data (i.e., the median). With the data retrieved from each variable, I would like to generate a new single variable that keeps the summarized data organized in several observations (as the number of variables).
Any idea on how to proceed?
Thank you in advance.
Related Posts with Generating a new variable that contains only some values of other variables
Fractional response model with binary endogenous explanatory variableHello everyone, As the title mention, I have an endogenous explanatory variable, which happens to be…
How to drop the duplicates with the fewest missing values?I have duplicates that share values, but some are missing. I would like to keep the observation of e…
command window (display actual commands not temp commands)Hi there When I run commands from a do file, the command window displays the commands a "temp" comma…
Creating a new variable by count of specific disease IC9 code across multiple diagnosisHello, I am working on a dataset with almost 450,000 cases with several columns of diagnostic codes…
Keep specific rows in a variableHello, I have a dataset with two variables: time and title. Title refers to some headline news -- t…
Subscribe to:
Post Comments (Atom)
0 Response to Generating a new variable that contains only some values of other variables
Post a Comment