I have two variables (Goal & Pledged). As I am looking to see what is my ideal goal (i.e whether the goal is realistic), I would like to check if my pledged variable exceeds my goal variable and if so, that would mean that the goal is reasonable and ideal? Is there a way to type in some form of command that enables me to see what my ideal pledged goal is?
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input double goal long pledged str10 status 1600 1930 "successful" 3000 3236 "successful" 15000 845 "failed" 3250 1685 "live" 1000 1050 "successful" 3500 3511 "successful" 1150 1208 "successful" 1000 1155 "successful" 2500 20 "failed" 250 436 "successful" 2500 2593 "successful" 2500 911 "failed" 4499 4580 "successful" 3500 692 "failed" 2000 3116 "successful" 2000 60 "live" 1750 1885 "successful" 1500 0 "live" 5000 20 "failed" 3000 3548 "successful" 200 200 "successful" 3000 3568 "successful" 2300 2397 "successful" 100 0 "failed" 5000 5360 "successful" 1000 1399 "live" 5000 5356 "successful" 2000 2816 "successful" 3500 2070 "failed" 3900 4197 "successful" 8000 8725 "successful" 1500 175 "failed" 1300 631 "failed" 1800 2567 "successful" 775 776 "successful" 10000 0 "failed" 6200 0 "live" 6500 6852 "successful" 1500 4081 "successful" 750 856 "successful" 1200 1341 "successful" 550 787 "successful" 12000 1430 "failed" 18000 18453 "successful" 7000 851 "failed" 500 110 "live" 3200 3640 "successful" 650 897 "successful" 5000 0 "failed" 500 525 "successful" 3000 3158 "successful" 325 325 "successful" 10000 260 "failed" 1000 2749 "successful" 859 70 "failed" 2200 2423 "successful" 3000 230 "failed" 59999.99 2174 "failed" 2500 442 "failed" 2650 0 "failed" 10000 10623 "successful" 1500 260 "live" 500 500 "live" 1500 1651 "successful" 1600 1635 "successful" 5923.55 146 "failed" 17220 0 "failed" 600 727 "successful" 2500 11 "failed" 4444.44 126 "failed" 4500 5253 "successful" 300 376 "successful" 7500 9836 "successful" 7000 7526 "successful" 3000 3208 "successful" 900 0 "live" 850 870 "successful" 1000 411 "failed" 1050 1103 "successful" 5000 6586 "successful" 20000 0 "failed" 7000 2714 "live" 50 180 "successful" 6000 6087 "successful" 5000 6212 "successful" 3800 3883 "successful" 11000 1955 "failed" 4000 4782 "successful" 2000 2055 "successful" 7500 755 "failed" 2000 2000 "successful" 1000 0 "live" 900 30 "failed" 15000 2740 "failed" 1500 1645 "successful" 15000 0 "failed" 6500 110 "failed" 2800 435 "failed" 5000 245 "failed" 5000 150 "live" end
0 Response to Checking to see if one variable is bigger than the other
Post a Comment