93.7k views
2 votes
Let us start by building a logistic regression model. I) First, randomly split the dataset into a training set and a testing set. Put 70% of the data in the training set. True or False?

User Kooskoos
by
7.0k points

1 Answer

5 votes

Final answer:

The problem involves calculating the probability of a student passing a true-false quiz by guessing, which requires using the binomial distribution formula considering 10 questions and needing at least 7 correct for a 70 percent passing grade.

Step-by-step explanation:

The question you've asked relates to finding out the probability that a student who guesses on a true-false quiz will get at least 70 percent of the answers correct. This is a typical binomial distribution problem because the outcome of each question is a binary decision - true or false, or alternatively, correct or incorrect - and we assume each guess is independent from the others. To pass with at least 70 percent, the student needs to get at least 7 out of 10 questions right.

To calculate the probability, sum up the probabilities of getting exactly 7, 8, 9, and 10 questions correct. Use the binomial probability formula P(X=k) = (n choose k) * p^k * (1-p)^(n-k), where 'n' is the number of trials (in this case, 10 questions), 'k' is the number of successes desired, and 'p' is the probability of success on any individual trial (for guessing randomly, p=0.5).

Note that this question statement regarding the student's success probability is incorrect - the probability of success for each trial is 0.50, not 0.70 when guessing.

User Bryanmac
by
6.8k points