# Stats with Python MCQs Solution | TCS Fresco Play | Fresco Play | TCS

0

Disclaimer: The primary purpose of providing this solution is to assist and support anyone who are unable to complete these courses due to a technical issue or a lack of expertise. This website's information or data are solely for the purpose of knowledge and education.

Make an effort to understand these solutions and apply them to your Hands-On difficulties. (It is not advisable that copy and paste these solutions).

All Question of the MCQs Present Below for Ease Use Ctrl + F with the question name to find the Question. All the Best!

If you found answer for any of the questions is wrong. Please do mention in the comment section, could be useful for others. Thanks!

_______________________________________

1. All outcomes of a sample space are mutually exclusive. State if it is true or false
TRUE

2. Which of the following expression represents a normal distribution with mean 2.0 and variance 4.0? stats is imported from scipy
stats.norm(loc=2.0, scale=2.0)

3. Which of the following method from numpy.random module can be used to select few elements randomly from a population
choice

4. Which of the following function in numpy.random module is used to generate uniformly distributed numbers from range [0, 1]
rand

5. Which of the following method represent cumulative distribution function of a defined distribution available in scipy.stats module
cdf

6. Null hypothesis is accepted if p-value is lower than predetermined significance value. State if it is true or false
FALSE

7. Type I error occurs when
a true null hypothesis is rejected.

8. An alternative hypothesis states there is no effect. State true or false
FALSE

9. Which of the following function is used to test if categorical data occurs with given frequency
stats.chi2

10. Which of the following function is used to test non-correlation between two variables
stats.cov

11. The patsy formula y ~ x1*x2 is equivalent to which of the following expressions?
y ~ x1 + x2 + x1*x2

12. Regression functions in statsmodels library, can just take a patsy formula as input as you compute the respective regression model. State if it is true or false
FALSE

13. How many independent variables are considered in the patsy formula
'y ~ I(x1 + x2) 1

14. Which of the following patsy formula ignores the intercept
y ~ x1 + x2 + x1*x2

15. Which sign separates dependent variable from independent variables, in a patsy formula?
~

**************************************************

If you have any queries, please feel free to ask on the comment section.
If you want MCQs and Hands-On solutions for any courses, Please feel free to ask on the comment section too.

Please share and support our page!