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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started