The independent variable in a study measuring the effect of the moon on ocean tides would be:
a) The location on the beach
b) The phases of the moon
c) The type of ocean
d) The height of the tide