How do you change the alpha value for a sampsizepwr test?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a statistics problem I am trying to solve with MATLAB. In the problem, there are two independent means being compared, a given power, standard deviation, and alpha value; the problem is to solve for the sample size of the data. I'm using the function sampsizepwr with a 'z' test, but the default for this function uses an alpha of .05; I need to use .01 and I don't know how I can change this value
0 Kommentare
Antworten (1)
Akansha Saxena
am 31 Jul. 2017
Alpha can be entered as a Name Value pair argument.
After entering all the input arguments include 'Alpha' followed by the value. eg:
nout = sampsizepwr('z',[mean1 std],mean2,pwr,[],'Alpha',0.01)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Hypothesis Tests finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!