1

I am trying to use the two-sample ttest in the spm1d MATLAB package. I have watched the tutorial videos on Youtube and know how to run tests similar to what's shown in those videos. I am wondering if there is written documentation for the MATLAB version of the package. The website mainly shows python and the syntax does not appear to be the same in some instances. One analysis that I would like to run is a two-sample ttest on data sets with unequal variance. This is the code that I'm using:

spm1=spm1d.stats.ttest2(var1 , var2, equal_var = false);

However, it produces the following error:

The value of 'roi' is invalid. It must satisfy the function: @(x)isempty(x)||((islogical(x)||isnumeric(x))&&isvector(x)).

Can anyone please provide me with some guidance?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.