1. Which of the following adds marginal sums to an existing table ?
a) par()
b) prop.table()
c) addmargins()
d) all of the mentioned
Answer
Answer: b [Reason:] prop.table() computes proportions from a contingency table.
2. Which of the following lists names of variables in a data.frame ?
a) quantile()
b) names()
c) barchart()
d) all of the mentioned
Answer
Answer: a [Reason:] names function is used to associate name with the value in the vector.
3. Which of the following is tool for chi-square distributions ?
a) pchisq()
b) chisq()
c) pnorm
d) all of the mentioned
Answer
Answer: c [Reason:] pnorm() is tool for normal distributions.
4. Which of the following groups values of a variable into larger bins ?
a) cut
b) col.max(x)
c) stem
d) which.max(x)
Answer
Answer: a [Reason:] stem() is used to make a stem plot.
5. Which of the following determine the least-squares regression line ?
a) histo()
b) lm
c) barlm()
d) all of the mentioned
Answer
Answer: b [Reason:] lm calls the lower level functions lm.fit.
6. Which of the following is tool for checking normality ?
a) qqline()
b) qline()
c) anova()
d) all of the mentioned
Answer
Answer: a [Reason:] qqnorm is another tool for checking normality.
7. Which of the following is lattice command for producing boxplots ?
a) plot()
b) bwplot()
c) xyplot()
d) all of the mentioned
Answer
Answer: b [Reason:] The function bwplot() makes box-and-whisker plots for numerical variables.
8. Which of the following compute analysis of variance table for fitted model ?
a) ecdf()
b) cum()
c) anova()
d) all of the mentioned
Answer
Answer: c [Reason:] ecdf() builds empirical cumulative distribution function.
9. Which of the following is used to find variance of all values ?
a) var()
b) sd()
c) mean()
d) all of the mentioned
Answer
Answer: a [Reason:] sd() is used to calculate standard deviation.
10.The purpose of fisher.test() is _______ test for contingency table.
a) Chisq
b) Fisher
c) Prop
d) None of the mentioned
Answer
Answer: b [Reason:] prop.test() is used to inference for 1 proportion using normal approx.
Synopsis and Project Report
You can buy synopsis and project from distpub.com. Just visit https://distpub.com/product-category/projects/ and buy your university/institute project from distpub.com