Hi I have a question on how to combine multiple variables of the same category into single new variable? For example I have an age distribution of 3 different population sets age 15-19, 20-24 and 25-29. I want to combine these 3 into a single variable. What is the command on STATA to do that?
Related Posts with Combining variables
How to Plot a two-way Interaction GraphDear Statalist I'm currently trying to plot a two-way interaction graph. My logit regression code i…
Sequence effect with repeated measuresDear team, I have a crossover design with following repeated data structure: Two methods for measuri…
Creating a Dummy variable for every first duplicate observation (using -Duplicates Drop- without deleting duplicate observations)Hey all, I was wondering if there is a formula to create a dummy variable for the first observatio…
Replicating fitted values graph Hi all, I am hoping to replicate a graph from this paper in Political Analysis. The graph, attach…
What is the syntax to retrieve r-class stored results in multiple equation models, like bivariate poisson, var, or sure?I can retrieve coefficient estimates by: gen Cf = [equationname]_b[varname] ,no problem! But I am ha…
Subscribe to:
Post Comments (Atom)
0 Response to Combining variables
Post a Comment