Dear all,
I am using Stata 16, on mac. Here is a snapshot of my dataset which consists of population and GDP for all 50 states over a the period of three years 2016-2018. I want to create a dummy variable called WestCoast = 1 if the State is California, Oregon, or Washington and 0 if otherwise but I do not know how to do so.
Array
Thank you in advance for your help
Jason Browen
Related Posts with Help Generating Dummy Variable WestCoast
Sort by correlation coefficientI am trying to find out which variable produces the highest correlation coefficient with var1 within…
Filtering methods in Micro panelsDear all I have a micro panel(No: of firms=3000 and no: of years=8). My variable of interest is Cash…
Combining t - statistics with tableHello, I have already created a table which contains alphas of 25 ( 5 x 5 ) portfolios. In the next…
generating positive and negative components of a variableDear members, I want to generate positive and negative components of a variable on stata for non-lin…
Estimating output for observations after the model developmentHello dear all, Sorry if I'm asking a repetitious question. I'm new to STATA and I searched the foru…
Subscribe to:
Post Comments (Atom)
0 Response to Help Generating Dummy Variable WestCoast
Post a Comment