Hello everyone,
As the question already suggests, I have a panel dataset that has country-level macro data, and I would like to compute a new variable coined 'US Interest Rate Spread.' Simply put US Interest Rate Spread = Other Country's Interest Rate - Interest Rate in the United States. Is it possible to generate such a variable through STATA commands?
Related Posts with How do you create a new variable that is based on data from a variable?
How to interpret this post command?Commands: mixed eu_image || nordsyd_eu:, baselevel (first variable is positive/negative opinion to …
Creating predictor in fake data with some known parametersDear all, I am trying to create some fake data, where x = z * 0.466 + e_x, and x follows a normal d…
Extract New Variable from Frequency Table by CategoryHey everyone, I am using Stata 16 on Mac. I am trying to create a new variable from the percentage…
How to generate a variable with only one gender?Hello, I have a variable which shows whether the respondent works in a male dominated or a female d…
Many interaction terms omitted in panel regressionHello everyone, I am trying to include interaction terms (between a dummy variable and time-dummy v…
Subscribe to:
Post Comments (Atom)
0 Response to How do you create a new variable that is based on data from a variable?
Post a Comment