An Integrated Framework for Enabling Effective Data Collection and Statistical Analysis with ns-2