Question

least squares

The table below lists the height h (in cm), the age a (in years), the gender g (1=”Male”, 0=”Female”), and the weight w (in kg) of some college students.
Height Age Gender Weight
173 18 1 79
183 20 1 87
157 23 0 49
163 20 0 57
167 19 0 60
We wish to fit a linear function of the form w(t) = c0+c1h+c2a+c3g which predicts the weight from the rest of the data. Find the best approximation of this function,using least squares.
c0 = ? c1 = ? c2 = ? c3? computer program is fine....
0 0
Add a comment Improve this question Transcribed image text
Answer #1
Dear student, please refer to the question below.
Question:

I have a linear algebra quetion. THe quetion is in the homework section regarding Least Squares.

The table below lists the height h (in cm), the age a (in years), the gender g (1="Male", 0="Female"), and the weight w (in kg) of some college students.

Height Age Gender Weight

183 20 1 83

160 20 0 55

170 19 1 69

157 23 0 52

178 20 1 77

We wish to fit a linear function of the form

f(t)=c0+c1h+c2a+c3g

to these data. Find the best approximation of this form, using least squares.

c0=

c1=

c2=

c3=

Ans:

Add a comment
Know the answer?
Add Answer to:
least squares
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • (1 point) The table below lists the height h (in cm), the age a (in years),...

    (1 point) The table below lists the height h (in cm), the age a (in years), the gender g (0-"Female", 1-"Male"), and the weight w (in kg) of some college students Height Age Gender|Weight 86 80 60 64. 75 183 20 176 20 164 21 169 19 172 18 0 0 We wish to fit a linear function of the form which predicts the weight from the rest of the data. Find the best approximation of this function, using least...

  • Section 5.3 Least Squares: Problem 11 Previous Problem Problem List Next Problem (1 point) The table...

    Section 5.3 Least Squares: Problem 11 Previous Problem Problem List Next Problem (1 point) The table below lists the height h (in cm), the age a (in years), the gender 9 (1="Male", O="Female"), and the weight w (in kg) of some college students. Height Age Gender Weight 164 21 182 20 1 84 177 20 1 78 158 210 50 165 20 0 57 We wish to fit a linear function of the form f(t) = Co+ h+ Cza +...

  • (1 point) The table below lists the height h (in cm), the age a (in years),...

    (1 point) The table below lists the height h (in cm), the age a (in years), the gender g (1="Male", O="Female"), and the weight w (in kg) of some college students. 0 Height Age Gender Weight 162 21 61 165 19 64 171 19 156 23 0 184 221 95 80 55 We wish to fit a linear function of the form f(t) = co+ch + c2a + c39 to these data. Find the best approximation of this form, using...

  • The data from data95.dat contains information on 78 seventh-grade students. We want to know how well each of IQ score and self-concept score predicts GPA using least-squares regression. We also want t...

    The data from data95.dat contains information on 78 seventh-grade students. We want to know how well each of IQ score and self-concept score predicts GPA using least-squares regression. We also want to know which of these explanatory variables predicts GPA better. Give numerical measures that answer these questions. (Round your answers to three decimal places.) (Regressor: IQ) R 2 : (Regressor: Self-Concept) R 2 : Which variable is the better predictor? IQSelf Concept     obs gpa iq gender concept 1 7.94...

  • anyone who understands advanced math, please help! 13 The graph below approximates the rate of change...

    anyone who understands advanced math, please help! 13 The graph below approximates the rate of change of the price of tomatoes over a 60-month period, where p(t) is the price of a pound of tomatoes and is time (in months). 14 15 16 17 18 19 20 21 22 23 0.07 0.06 p'(t) 0.05 0 15 24 0.04 30 0.06 0 -0.02 0 0.06 25 26 27 0.03 45 p'(t) (dollars per month) 0.02 60 0.01 28 0 0 10...

  • Hi it's python I imported a data which are so many words in txt and I arranged and reshaped with ...

    Hi it's python I imported a data which are so many words in txt and I arranged and reshaped with alphabetically both rows and columns I was successful with these steps but I am stuck with next step below is my code and screenshot import numpy as np import pandas as pd data=pd.read_csv("/Users/superman/Downloads/words_file2.txt",header=None) df_input=pd.DataFrame(data) df_output=pd.DataFrame(np.arange(676).reshape((26,26)), index = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'], columns = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']) df_output.index.name="Start" df_output.columns.name="End" df_output This below screen shot is what I have to find I have to find each word...

  • Need help with b,c and d. A30 fx III. A B с 78 79 TOTAL LIABILITIES...

    Need help with b,c and d. A30 fx III. A B с 78 79 TOTAL LIABILITIES 80 81 b) In the next 3 months the following accounting events happened to the company (the VAT is 25% in each 82 event wherever it is possible). Record the accounting events in the books! (24p) 83 84 85 86 1. The owners opened a bank account and paid 300.000 K HUF in as a startup capital to launch the business. 87 88 2....

  • 33 On May 6, Jim Ryan borrowed $14,000 from Lane Bank at 7 % interest. Jim...

    33 On May 6, Jim Ryan borrowed $14,000 from Lane Bank at 7 % interest. Jim plans to repay the loan on March 11. Assume the loan is on ordinary interest. How much will Jim repay on March 11? (Use Days in a year table) (Round your answer to the nearest cent.) Jm repay etbook 7-1 TABLE Exact days-in-a-year calendar (excluding leap year)" Day of month 30 31 30 31 28 31 30 31 31 30 31 31 Dec Mar...

  • the first and 4th page is the answer page( the qurstions that has to be answered....

    the first and 4th page is the answer page( the qurstions that has to be answered. ) my height is 5’9” i weigh 150 pounds. if you can kindly use this information and do this assignment for me that will be helpful Introductory to Nutrition Assignment - Due Monday, October 21, 2019 Assignment #1 - My Personal Anthropometric and Nutritional Profile Purpose: To assess individual's personal profile to include BMI risk factors, physical activity, estimated daily calories, and daily amounts...

  • data: (copy and paste in excel to view columns in alignment) Sample   Repair Time (days) 1  ...

    data: (copy and paste in excel to view columns in alignment) Sample   Repair Time (days) 1   12 2   17 3   9 4   16 5   10 6   18 7   12 8   14 9   15 10   14 11   14 12   8 13   11 14   10 15   8 16   8 17   14 18   12 19   14 20   13 21   12 22   15 23   15 24   10 25   24 26   17 27   13 28   15 29   13 30   15 31   36 32   40 33  ...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT