There are a number of housing Variables called
House_val_15K_20K
House_vall_25K_30K
etc.
-[] create a variable called median_house_value that finds which category holds the cumulative 50th percentile and returns the mean of that val as a int
ex. 25-30K = 5%
30-50k = 20%
50-150k =25%
150-250k 25%.
in this scenario the median 50th percentile is in the 50-150k bracket so return 100,000 (the average of 50-150k)
There are a number of housing Variables called
House_val_15K_20K
House_vall_25K_30K
etc.
-[] create a variable called median_house_value that finds which category holds the cumulative 50th percentile and returns the mean of that val as a int
ex. 25-30K = 5%
30-50k = 20%
50-150k =25%
150-250k 25%.
in this scenario the median 50th percentile is in the 50-150k bracket so return 100,000 (the average of 50-150k)