1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
cestrela7 [59]
4 years ago
5

a) LOOCV is not random because you fit all n possible models that leave out a single observation. k-fold CV is random because we

randomly split the data into k chunks. How many models would we need to fit to exhaustively obtain MSPE for every excluded chunk of size n/k? b) For the data-set "Puromycin", manually carry out LOOCV to compare two models predicting rate, one with conc and one with conc and state. (Don't forget that you can subset data via something like data[1,] to only look at the first row, or data(-1,] to remove the first row. You may find a loop (help(for)) useful but not necessary.) Submit the output of your R.Markdown. You should clearly report the RMSPELOO for both models and determine which model LOOCV chooses.
Mathematics
1 answer:
Daniel [21]4 years ago
5 0

Answer:

1. Randomly divide the available set of observations into two

parts, a training set and a validation set or hold-out set.

2. Fit the model on the training set.

3. Use the resulting fitted model to predict the responses for the

observations in the validation set.

4. The resulting validation set error rate is typically assessed using

the MSE in the case of a quantitative response. This provides

an estimate of the test error rate.

You might be interested in
Decrease an integer by 20 w/the correct algebraic expression <br> 2x-20<br> 20-2x<br> X-20<br> 20-x
lubasha [3.4K]

Answer:31200

Step-by-step explanation:

8 0
3 years ago
Abby is surveying people in the city about their interest in a new shopping mall. She found that 180 people, or 37.5% of those s
Harlamova29_29 [7]

Step-by-step explanation:

37.5% = 180people

100% = 180/37.5 x 100 = 480

answer: 480 people

Topic: percentage

If you like to venture further, do check out my insta (learntionary) where I regularly post useful math tips! Thank you!

6 0
3 years ago
A deposit $400 into an account that pays simple interest ta a rate of 3% per year how much interest will be paid in the first 5
ValentinkaMS [17]

Answer:

$60

Step-by-step explanation:

This is because 400 times 0.03 is 12 and 12 times 5 is 60

6 0
4 years ago
The janitor at a school discovered a leak in a pipe. The janitor found out that it was leaking at a rate of 14 oz per hour. How
umka2103 [35]

2.625 gallons a day

14 oz x 24 hours = 336 oz per day

336 oz converted to gallons is 2.625 gallons


7 0
3 years ago
Hey plsss help meeeeee
nalin [4]

Answer:

The first, third, and fourth answer choices represent a function.

Step-by-step explanation:

A relation is a relationship between sets of values. The two quantities that are being related to each other are the input (x-variable) and the output (y-variable). But relations in general aren't always a good way to relate between x and y.

Say that I have situation where I want to give <em>x </em>dollars to the cashier so he can change them to <em>y</em> quarters. Here is a "example" of the relation:

Dollars (x) | Quarters (y)            

----------------------------------              

       0       |          0                      

        1       |          4                      

       2       |          8

       2       |          12

Do you see something wrong here? Yes! We all know that you can't exchange 2 dollars for 12 quarters. You can only exchange 2 dollars for 8 quarters and only 8 quarters. This is a general reason why we don't rely on general relations for real-life situations. One x-variable does not exactly map to one and only one y-variable.

However, a relation that can map one x-variable to one and only one y-variable is known as a function. Let's make the above example an actual function to prove a point:

Dollars (x) | Quarters (y)            

----------------------------------              

       0       |          0                      

        1       |          4                      

       2       |          8

       3       |          12

Now, the 3 dollars make 12 quarters as it should. This is how a function should look like.

There are two ways to check if a relation is a function. On a relation, table, or a set of ordered pairs, you have to make sure there is no "x-variable" that repeats. All x-values of a relation have to be unique in order to be a function. On a graph, you can also perform the Vertical Line Test. If you draw vertical lines over a relation and if the lines cross only once, then it is a function. If not, it fails the Vertical Line Test.

So to answer you're question, the first, third, and fourth choices are functions because they all have unique x-variables. The second choice is not a function because it fails the Vertical Line Test.

7 0
3 years ago
Other questions:
  • Operating on the triangle. using a straightedge, draw a random triangle. now carefully cut it out. next amputate the angles by s
    9·1 answer
  • How to write 17 tens in unit form
    8·2 answers
  • Janice has 12 sugar cubes, and Jeremy has 16 sugar cubes. Which sentence correctly compares the numbers of sugar cubes Janice an
    12·2 answers
  • I HAVE NO IDEA - Please show your work and full explanation! <br><br> Thanks !
    5·2 answers
  • Uncle drew scored 28 points in 5 5/6 minutes. How many points did he average per minute
    9·2 answers
  • AABC is a right triangle. If AC = 15 and BC = 17, find AB.
    5·1 answer
  • -6x+13=25 what is X
    10·2 answers
  • Solve for x. 4(7x−3)−6=6−4(3x−7) Enter your answer in the box.
    9·1 answer
  • If x2 = 64and y2 = 121, what is the value of x - y
    13·1 answer
  • A line passes through the point (12,–4) and is perpendicular to the line with the equation y = 6x + 3. What's the equation of th
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!