How do you change the alpha value for a sampsizepwr test?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Akansha Saxena
le 31 Juil 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 commentaires
Voir également
Catégories
En savoir plus sur Hypothesis Tests dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!