Question: The R code hiddenFunction() is run once and it outputs a 79. The code of the hiddenFunction() is hidden from us. The null hypothesis is
The R code hiddenFunction() is run once and it outputs a 79. The code of the hiddenFunction() is hidden from us. The null hypothesis is that the code of this function is hiddenFunction <-function() { return (rbinom(1, 100, 0.3)) } The alternative hypothesis is that the hidden code includes a different random number generator that typically generates numbers bigger than rbinom(1, 100, 0.3). At a significance level of 0.00003, right-tailed test, can we reject the null hypothesis and conclude that the code of the hiddenFunction() is not the code listed above?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
