Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1:58 . 56+ 4). You follow this up by creating 196 columns of fandomly generated (Say Uniform U-10) Qala. You then run a regression
1:58 . 56+ 4). You follow this up by creating 196 columns of fandomly generated (Say Uniform U-10) Qala. You then run a regression model where the column with the Poisson distribution is the dependent variable and the 198 columns are the independent variables. You look at the regression summary output and see the p value of the f-statistic to be larger than any reasonable alpha value. c) The conclusion you would reach is (please do not just say reject/ do not reject null hypothesis, explain what it is you are rejecting not rejecting) : d) Did you commit type 1/type 2 error/no error (and explain): 4) This question is 10 pts Total Dumreps=1000 for(i in 1 numbers){ epsilon_normal-norm/1000 mean=0,sd=sqrt(10)) X=cnorm/1000 mean=1,sd=10) Y_normal=5*X+epsilon_normal Eek normal[i]=c(X,Y_normal) o_normal=(lm(Y_normal~X)) int_normal=predict(normal interval="prediction") above_normal[i]=sum(Y_normal>int_normal[,3]) below_normal[i]=sum(Y_normal int_gamma[,3]) below_gamma[i]=sum(Y_gamma 1:58 . 5G+ 3) Below I am defining two scenarios. I want you to tell me the conclusion you would reach as a result of the information provided and whether you made a type 1 error, type 2 error or no error and your reasoning. For instance an acceptable answer is: I made a type 1 error but type 2 error is not possible because ..... (you need to give an explanation here) Scenario 1: You create a column of data in 200 rows using a random Poisson distribution (mean 4). You follow this up by creating 198 columns of randomly generated (say Uniform 0-10) data. You then run a regression model where the column with the Poisson distribution is the dependent variable and the 198 columns are the independent variables. You look at the regression summary output and see the p value of the f-statistic to be smaller than any reasonable alpha value. a) The conclusion you would reach is (please do not just say reject/ do not reject null hypothesis, explain what it is you are rejecting not rejecting) : b) Did you commit type 1/type 2 error/no error (and explain): Scenario 2: You create a column of data in 200 rows using a random Poisson distribution (mean 4). You follow this up by creating 198 columns of randomly generated (say Uniform 0-10) data. You then run a regression model where the column with the Poisson distribution is the dependent variable and the 198 columns are the independent variables. You look at the regression summary output and see the p value of the f-statistic to be larger than any reasonable alpha value. c) The conclusion you would reach is (please do not just say reject/ do not reject null hypothesis, explain what it is you are rejecting not rejecting) : d) Did you commit type 1/type 2 error/no error (and explain): 4) This question is 10 pts Total Dumreps=1000 for(i in numbers) { epsilon_normal=orm(1000mean=0,d=sqrt(10)) X=rnorm(1000 mean=1,sd=10) Y_normal=5*X+epsilon_normal EK_normal[i]=oX(X,Y_normal) o_normal=(Im(Y_normal~X)) int_normal=predict(o normal interval="prediction") above_normal[i]=sum(Y_normal>int_normal[,3]) below_normal[i]=sum(Y_normal int_gamma[,3]) below_gamma[i]=sum(Y_gamma
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