We know the standard error of a mean (SEM) equals the standarddeviation (SD) divided by the square
Question:
We know the standard error of a mean (SEM) equals the standarddeviation (SD) divided by the square root of the number of data(n). Define your own function that can be used to calculate SEMagain and again in the same R session. Which can be the code?
Group of answer choices
SEM<-function({SD/sqrt(n)})
SEM<-{SD/ sqrt(n)}
SEM<-function(SD/sqrt(n))
SEM<-SD/sqrt(n)
SEM<-function(SD,n){SD/sqrt(n)}
Question 7
The successful number is 976, and the total experiment number is7963, at confidence level 90%, what arethe CIs you get by using the Modified Wald Method and the ExactMethod, respectively?
Group of answer choices
[0.1165621, 0.1283369] and [0.1166486, 0.1287416]
[0.1167091, 0.1288037] and [0.1166486, 0.1283413]
[0.1167091, 0.1288037] and [0.1165621, 0.1287769]
[0.1166486, 0.1287416] and [0.06024450, 0.06187106]
Question 8
For questions 8-11, a data file named as“MickeyMouse.csv” looks like:
If you want to read “MickeyMouse.csv” into an object, which ofthe following could be your R command?
Group of answer choices
M6M<-read.table(“MickeyMouse.csv”)
m6<-read.csv(“MickeyMouse”)
6M <-read.csv(“MickeyMouse.csv”)
M6<-read.csv(“MickeyMouse.csv”)
mM6<-read.csv(MickeyMouse.csv)
Question 9
For questions 8-11, a data file named as“MickeyMouse.csv” looks like:
After you read “MickeyMouse.csv” into an object “MM”, if youonly want to select the highlighted data and put the selected datainto object “Smart”, which of the following commands should youtype?
Group of answer choices
Smart<-data.frame(MM[4,2:4],[5,8:10])
Smart<-data.frame(MM[4,2:4],MM[5,8:10])
Smart<-data.frame(MM[4,],MM[5,])
Smart<-MM[4,2:4],MM[5,8:10]
Smart<-data.frame[MM(4,2:4),MM(5,8:10)]
Question 10
For questions 8-11, a data file named as“MickeyMouse.csv” looks like:
For the data being defined in “Smart” in Question 9, what is theCI of the mean of at 99%?
Group of answer choices
[0.940966, 15.358533]
[-8.332323, 28.339953]
[-2.479866, 11.956533]
[0.333333, 11.133233]
[-0.330966, 11.065533]
Question 11
For questions 8-11, a data file named as“MickeyMouse.csv” looks like:
If you typed B<-MM[,6], then
Group of answer choices
C<-data.frame(MM[11,6]) would select the same data values
B selected all the columns in MM
B contains all the data values from row 6 of MM
B contains only 1 number. And this number is from row 6 ofMM.
C<-data.frame(MM[1:11,6]) would select the same datavalues
Applied Regression Analysis and Other Multivariable Methods
ISBN: 978-1285051086
5th edition
Authors: David G. Kleinbaum, Lawrence L. Kupper, Azhar Nizam, Eli S. Rosenberg