Hi,
I have a problem running a loop for multiple independent variables. Here are the name of the variables:
group 1:
group 2:
As you can see the names are almost the same, except the "mcp" or "unmet" at the end of the variable name.
the test I need is:
I need a loop to run this ttest. These are part of my variables. I have 36 variables in each group (36 in "mcp" group and 36 in "unmet" group.
Thanks for your help.
I have a problem running a loop for multiple independent variables. Here are the name of the variables:
group 1:
Code:
CDR2_SDP_staff_250m_unmet CDR2_SDP_sixdays_250m_unmet CDR2_SDP_proj_250m_unmet CDR2_SDP_phar_HC_250m_unmet
Code:
CDR2_SDP_staff_250m_mcp CDR2_SDP_sixdays_250m_mcp CDR2_SDP_proj_250m_mcp CDR2_SDP_phar_HC_250m_mcp
the test I need is:
Code:
ttest CDR2_SDP_staff_250m_unmet==CDR2_SDP_staff_250m_mcp,unequal
Thanks for your help.
Comment