How do you change the alpha value for a sampsizepwr test?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Akansha Saxena
el 31 de Jul. de 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 comentarios
Ver también
Categorías
Más información sobre Hypothesis Tests en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!