Hi statalist,
I want to replace values of (month_2 * daylight_hours) with (month_1 * daylight_hours). For instance, instead of (11 to 20), it gives me values from (1 to 10). Is there any way to replace these values directly? Thanks in advance!
I want to replace values of (month_2 * daylight_hours) with (month_1 * daylight_hours). For instance, instead of (11 to 20), it gives me values from (1 to 10). Is there any way to replace these values directly? Thanks in advance!
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float(daylight_hours month_1 month_2 month_1Xhours month_2Xhours) 1 1 0 1 0 2 1 0 2 0 3 1 0 3 0 4 1 0 4 0 5 1 0 5 0 6 1 0 6 0 7 1 0 7 0 8 1 0 8 0 9 1 0 9 0 10 1 0 10 0 11 0 1 0 11 12 0 1 0 12 13 0 1 0 13 14 0 1 0 14 15 0 1 0 15 16 0 1 0 16 17 0 1 0 17 18 0 1 0 18 19 0 1 0 19 20 0 1 0 20 end
Comment