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
Mandarinka [93]
3 years ago
7

Univariate linear regression Note: Solutions to this problem must follow the method described in class and the linear regression

handout. There is some flexibility in how your solution is coded, but you may not use special functions that automatically perform linear regression for you. Load in the BodyBrain Weight.csv dataset. Perform linear regression using two different models: M1: brain_weight = w0 + w1 x body_weight M2: brain_weight = w0 + w1 x body_weight + w2 x body_weight2
a. For each model, follow the steps shown in class to solve for w. Report the model, including w values and variable names for both models.
b. Use subplots to display two graphs, one for each model. In each graph, include: • Labeled x and y axes • Title • Scatterplot of the dataset • A smooth line representing the model
c. For each model, calculate the sum squared error (SSE). Show your 2 SSE values together in a bar plot.
d. Which model do you think is better? Why? Is there a different model that you think would better represent the data?
Body weight (kg) Brain weight (g)
0.023 0.4
0.048 0.33
0.075 1.2
0.12 1
0.122 3
0.2 5
0.28 1.9
0.55 2.4
0.75 12.3
0.785 3.5
0.93 3.5
1.04 5.5
1.35 8.1
1.41 17.5
2.5 12.1
3 25
3.3 25.6
3.6 21
4.288 39.2
5.3 41.6
6.8 179
10 115
10.55 179.5
27.66 115
35 56
36.33 119.5
52.16 440
55.5 175
60 81
62 1320
85 325
93 225
100 157
110 288
110 442
187.1 419
192 180
207 406
250 334
465 423
480 712
521 655
529 680
1400 590
2547 4603
6654 5712

Computers and Technology
1 answer:
salantis [7]3 years ago
4 0

Answer:

regression line is  Y  =    124.9281    +    0.9370    *x

SSE=    (SSxx * SSyy - SS²xy)/SSxx =     7317401.270      

Explanation:

See the attached image file

You might be interested in
I need help with the code practice 9.2 Edhesive.<br><br> Thank you
antiseptic1488 [7]

Answer:

you talking about anaconda navigation? i would love to help!

Explanation:

3 0
3 years ago
Read 2 more answers
A customer has a new laptop with wireless WAN capabilities; however, the software does not connect to the Internet. What would y
LUCKY_DIMON [66]

Answer:

Check below for the explanation

Explanation:

The following suggestions will be given to the customers:

  • Go to network settings and check the WIFI settings to confirm whether the WIFI connection is on. Switch the WIFI to the on position if it is off.
  • The customer should check if the wireless driver is installed on the computer, if the driver is not installed, he should try to install it
  • The customer should check all the available access points and confirm if their signal strengths are strong enough to allow for any connections. Restart the access point to enhance proper connection.
  • Check to see if your operating system is updated to support your internet connection. You can update your operating system to the latest version
  • Run a Network Diagnostics on your computer. This will run a couple of tests to see what’s possibly causing your Wi-Fi issues.
5 0
3 years ago
Discussion Topic:
hodyreva [135]

Answer:

Prevents lagging

Explanation:

This prevents the website from being slow and upto shape so those who access it dont have difficulties

7 0
2 years ago
You should see the following code in your programming
Karo-lina-s [1.5K]

Answer:

import simplegui

import random

def draw_handler(canvas):

for x in range(1000):

colorList = ["Yellow", "Red", "Purple", "White", "Green", "Blue", "Pink", "Orange"]

c = random.choice(colorList)

x = random.randint(1,600)

y = random.randint(1,600)

canvas.draw_point([x, y], c)

frame = simplegui.create_frame('Testing', 600, 600)

frame.set_canvas_background("Black")

frame.set_draw_handler(draw_handler)

frame.start()

Explanation:

I used a for loop, setting my range to 1000 which is how you create exactly 1000 points. Next, I defined my color array, my x randint value, and my y randint value. I set both the x and y randint values to 1 - 600 since the frame is 600x600. The rest is pretty self explanatory.

4 0
2 years ago
News video for cable does not need to be reformatted before being placed online.
vladimir2022 [97]

Answer:

True

Explanation:

5 0
2 years ago
Read 2 more answers
Other questions:
  • Write a Java method to delete a record from a B-tree of order n.
    13·1 answer
  • During the past decade ocean levels have been rising faster than in the past, an average of approximately 3.1 millimeters per ye
    14·1 answer
  • Which is an example of an input device?
    15·2 answers
  • JavaScript uses which property to change the current content of HTML elements?
    6·1 answer
  • Which is a good plan for backing up data?
    6·1 answer
  • How to find how much storage is left on pc?
    6·1 answer
  • Write a program with total change amount as an integer input that outputs the change using the fewest coins, one coin type per l
    14·1 answer
  • Consider an array inarr containing atleast two non-zero unique positive integers. Identify and print, outnum, the number of uniq
    10·1 answer
  • Question 19
    9·2 answers
  • A small square at the right corner of the table is what?​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!