# Data Science Using R ‘Value Added’ (Quiz 3)

1. ANOVA testing is used to find:*

**Relationship between numerical and categorical variable**- Relationship between 2 categorical variables
- Relationship between 2 numerical variable
- Relationship between 3 numerical varaibles

2. Chi-Square testing is applied to find*

- Relationship between numerical and categorical variable
**Relationship between 2 categorical variables**- Relationship between 2 numerical variable
- Relationship between 3 numerical varaibles

3. suppose p-value returned by chi-square testing applied on two valuables Exercise and Smoke is 0.4382. based on this p-vale both variables are:*

**Independent to each other**- Dependent on each other

4. By default level of significance is:*

- 0.02
**0.05**- 0.01
- 0.1

5. How can we find the geometric mean of vector x?*

- mean(x)
**(prod(x)^(1/length(x))**- (1/mean(1/x))
- median(x)

6. consider a frequency table(y) of vector x, how can you calculate mode*

**names(y)[which(y==max(y))]**- names(y)[which(y==min(y))]
- name(y)[which(y==max(y))]
- names(y)[which(y)]

7. consider frequency table in question 34, what will be the mode of x<-c(33,33,33,22,12,23,44,44,44,23)*

**[1] “33” “44”**- [1] “1”
- [1] “44”
- [1] “33”

8. to calculate variance of vector x, which of the following functions is used:*

**var(x)**- variance(x)
- sqrt(var(x))
- VAR(x)

9. Interquartile range divides the dataset into _____ quarters*

**four**- three
- two
- five

10. if the significance level is set to 0.1 probability, then the sample mean less than 10% will be *

**rejected**- accepted

11. function used to perform chi-square testing is:*

- chi.sq()
**chisq.test()**- chisquare()
- chitest()

12. to perform data analysis of twitter, which package is used*

**rtweet**- tweet
- none of the above

13. Hypothesis is*

**an assumption**- a statement
- true value
- none of the above

14. consider two vectors > x<-c(1,2,3,4)> y<-c(5,6,7,8) what will be the output of code z<-cbind(x,y))*

**Option 1**

- Option 2
- error will be generated

15. in order to write the title of a plot generated by ggplot2 package. which of the following functions is used*

**ggtitle()**- ggwrite()
- ggdesc()
- ggtext()

This content is uploaded for study, general information, and reference purpose only.