One-Sample Proportion Test
One-sample proportion test.
Options
- data |
object (required): object of value arrays. Default:none. - variable |
(string|Factor) (required): name of variable. Default:none. - success |
any (required): success category ofvariable. Default:none. - alpha |
number: significance level. Default:0.05. - direction |
string: test direction (eitherless,greater, ortwo-sided). Default:'two-sided'. - p0 |
number: proportion under the null hypothesis. Default:0.5. - showDecision |
boolean: controls whether to display if the null hypothesis is rejected at the specified significance level. Default:false.
Examples
Live Editor
Result
ReferenceError: Provider is not defined