The dependent variable in this is whether or not the veterans suffer from depression. It is the dependent variable because in this case, depression is dependent on the number of years has served in the military or if they have served at all. The independent variable is the variable that is not dependent on another. In this case, having depression is not a determining factor for serving in the military. The variable name for depression is ‘DEPRESS’ and the variable name for the number of years in the military is ‘VETYEARS.’ The label for ‘DEPRESSION’ says that participants have stated that they have depression. The label for ‘VETYEARS’ is the years in the armed forces.
When it comes to the dependent variable, the newly coded DEPRESS variable has a mean of 0.16 which implies that 16% of the entire sample has symptoms of depression. This also implies that 84% of the population does not have depression. Pertaining to the newly coded DEPRESS variable has a median of 0 which implies that half of the people in the sample do not have depression. The mode of the newly coded DEPRESS variable 0. This implies that more people …show more content…
This also implies the 88% of the population have not served in the United States military. When it comes to the newly coded VETYEARS variable, it has a median of 0 which implies that half of the sample did not serve in the military and are not veterans. The mode of the newly coded VETYEARS is 0. This implies that more people have not served in the military. This also implies that more than half of the sample have never served in the Armed Forces. The minimum value is 0, implying that one category of people in the sample have not served in the Armed Forces. The maximum value is 1 which implies that the other has people that HAVE served in the