Question: Calculate a variable called EntDum (a dummy variable that can carry the value of 1 or 0, which equals 1 if room_type = Entire House

Calculate a variable called EntDum (a dummy variable that can carry the value of 1 or 0, which equals 1 if "room_type" = "Entire House" and 0 if "room_type" = shared room or private room. To do so, sort the database by "room_type" and insert a variable and name it "EntDum"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!