MATLAB: How to perform a two sample z-test or t-test using SAMPSIZEPWR

Statistics and Machine Learning Toolbox

I would like to perform a two sample t-test and z-test using SAMPSIZEPWR, the documentation does not clearly indicate if this is possible.

Best Answer

The ability to perform a two sample z-test or t-test using SAMPSIZEPWR is not available in the Statistics Toolbox.
There are no workarounds.