Dear all.
Please, How can I create new two variables (Z and Y) using the median of variable (X) ? . I mean I want to create variable Z equal to the values above the median of variable X and Y otherwise. Thanks a lot.
Related Posts with Create new variables using the median
Difference-in-differences WITHOUT matched sampleHello helpful list, I have a sample of companies where each company was treated in a single year so…
Independent Count VariablesWhat are the methodological concerns with regards to using Poisson distributed count variables as an…
Creating a new variable by Household IDI have a dataset where everybody has household ID and each respondent has a given economic status: "…
How to compute difference in years between daily dates?I have daily stock data, inputted and formatted properly for stata. I wish to calculate the return o…
Problem in running a loop - does not stopDear all, I am currently trying to write a code to estimate the abnormal cash flow for my dataset w…
Subscribe to:
Post Comments (Atom)
0 Response to Create new variables using the median
Post a Comment