You are on page 1of 20
Linear Regression Questions r eae Raoul pr nee Start Complete Exam Preparation Latest Linear Regression MCQ Objective Quest A) Dally Live Practice Pear parce reece os Sores tee D- Download App P od Question 1: Asset of observations of independent variable (x) and the corresponding dependent variable (y) is given below. xf 5[ 274 [3 yliefiofi3 fi Based on the data, the coefficient a of the linear regression model y =a + bxis estimated as6.1 The coefficient b is . (round off to one decimal place) Answer: Below) 1.9 reer Tol as) India’s Super Teachers for all govt. exams Under One Roof re Linear Regression Question 1 Detailed Solution Concept: The normal equation for Fitting a straight line by the least square method is: By =na + b3x ny =a Bx + b Ex? Where n= Total number of observations, a and b are the coefficients» By solving the above two equations coefficients a and b’tan be obtained. Given Data and Calculation: =z) \ n=4So 51 =4a+ 14b 188 = 14a + 54> Solving the above two equations a = 6.1 and b=1.9 India's #1 Learning Platform Coe et Start Complete Exam Preparation o Question 2: View this Question Online > For a bivariate date set on (x, y), if the means, standard deviations and correlation coefficient are # ag Re 2. y=2 + 027@-1) 3. y=2+24K-1) 4. y=1+0.27«- 2) Answer (Detailed Solution Below) Option 3: y= 2 + 2.4(K- 1) Linear Regression Question 2 Detailed Solution Formula The regression line of y on x is given as “VA ex Ole - Diy Calculation a According to the question y-2=08 x 9x- 1/3 =y-2=24«-1) aY=24+24(x-1) og c ieee aR uu Bec tly Start Complete Exam Preparation ees preresee Cod|pcories Download App Question 3: View this Question Online > CRE DR Eoin In the regression model (y = a + bx) where X = 2.50, 7 = 5.50 anda = 1.50 (Kandy denote mean of variables x and y and a is a constant), which one of the following values of parameter 'b’ of the model is correct? 1.1.75 M go? Jer (Detailed Solution Below) Option 2: 1.60 Linear Regression Question 3 Detailed Solution © Key Points Linear regression model: + Linear regression is a way to model the relationship between two variables. * You might also recognize the equation as the slope formula. + The equation has the form Y= a + bX, + where = Yis the dependent variable (that's the variable that goes on the Y-axis), = X is the independent variable (je. itis plotted on the X-axis), = bis the slope of the line and ° ais the y-intercept. * = Ler) -09) Oxy) 2x") -(2x9" __N(dy) = (2x) ay) n(x") -(2%)" cow Y-axis: Body weight 430] (pounds) roll. e 2 noe X-axis: Height (i Calculation: ~~ (y=a+bx) where, + %=250 + ¥ = 5.50 sa=1.50 + (andy denate mean of variables x and y and ais a constant) Putting values in the formula: 550 = 1.50 + b*2.50 b*2.50 =4 b=4/2.6= 1.60 Therefore, ‘B’ is the correct answer. eee eee) Start Complete Exam Preparation CREB not ns oe [or] Mock Tests es a Coes a eo Download App Question 4: View this Question Online > There is no value of x that can simultaneously satisfy both the given equations. Therefore, find the ‘least squares error’ solution to the two€quations, i.e, find the value of x that minimizes the sum of squares of the errors in the two equiations. fen % iled Solution Below) 0.6 Linear Regression Question 4 Detailed Solution Concepts: Least Square Method: Itis an approximation method to minimize the error. In this method, the distance between the estimated value and the actual value is minimized. ‘According to the least square method, 8 = y (% —*)” where ¥i are the estimated (or guessed value) and x is the actual values. By minimizing this distance R the least-squares ercor €anybe found out. e@ tions: Given the functions are2* = 3—> 2x—3=Oand 4x=1 = 4x R= (2x—3)?+ (4x4 Hence, to minimize the valueot Gr = 0 aR — 2 x 2(2x—3) 44x 2(4x—1)=0 2 2 2 & Raw = (2% 2-3)? + (4x 2-1)? = -. The value of x that minimizes the sum of squares of the errors in the two equations is 1/2. India’s #1 Learning Platform Start Complete Exam Preparation eee oem Wei oe Dao cia Or Cres ieaoag Exec) Download App Question 5: View this Question Online > Consider the following learning algorithms: (@) Logistic regression (b) Back propagation (¢ Linear repression Which of the following Option represents classification algorithms? z and (b) 2. Only (a) and (9) 3. Only (b) and (¢) 4. (@), (b), and () Answer (Detailed Solution Below) Option 1: Only (a) and (b) Linear Regression Question 5 Detailed Solution Concept: Learning algorithms: These algorithms are used in machine leaming to help technology in human learning process. Itis used to process data to extiaét pattertis appropriate for application in a new system. Explanation: ~a From above given options, only a) and b) are learning algorithms. a) Logistic regression: It is used for binary classification problems. It is used to examine and describe the relationship between a binary variable and set of predicator variables. The primary objective of logistic regression is to model the mean of the response variables, given a set or predicator variables. b) Back propagation: It is the essence of neural net training. It is the method of fine tuning the weights of a neural net based on the error rate obtained in the previous iteration. It is a standard method of training artificial neural networks. Top Linear Regression MGQ Objective Questions a & India’s #1 Learning Platform CaCoo mE cst Start Complete Exam Pre, MasterClasses Question Bank Download App ‘Question 6 View this Question Online > Asset of observations of independent variable (x) and the corresponding dependent variable (y) is given below. ‘ Df s[2]4[3 a Based on the data, the coefficient a of the linear regression model y =a + bxis estimated as 6.1 The coefficient b is . (round off to one decimal place) Answer (Detailed Solution Below) 1.9 Linear Regression Question 6 Detailed Solution Concept: The normal equation for Fitting a straight line by the least square method is: By =na +b Ex By =a lx + b be Where n= Total number of observations, a and b are the coefficients. By solving the ebove two equations coefficients a and b can be obtained. Given Data and Calculation: ets pfs |rofur} > n=4So0 51 =4a+ 14b 188 = 14a + 54b Solving the above two equations a = 6.1 and b= 1.9 eRe amen Peete eee Start Complete Exam Preparation (eid Dos cieerry Download App ose aco Byte Question Bank Question 7 View this Question Online > In the regression model (y = a + bx) where X = 2.50, 7 = 5.50 anda = 1.50 Randy denote mean of variables x and y and a is a constant), which one of the following values of parameter 'b' of the model is correct? 1. 1.75 2. 1.60 4, 2.50 Wier cates Solution Below) Option 2: 1.60 Linear Regression Question 7 Detailed Solution © Key Points Linear regression model: + Linear regression is a way to model the relationship between two variables. + You might also recognize the equation as the slope formula, + The equation has the form Y= a + bX, + where * Y is the dependent variable (thet's the variable that goes on the Y-axis), © Xis the independent variable (ie. it is plotted on the X-axis), the slope of the line and ° ais the y-intercept. __@y) 0%) -() Oy) ar 2, 2 n(x") -(2x) 1n(2xy) = (2x) (Bay) n(x?) -(Sx) 160) Y-axis: 150 140 Body weight 130 (pounds) — 499 80 +bX 80 + 2 (hat) 50 60 70 80, X-axis: Height (iriches)" Calculation: a (y=a+bx) where, + %=250 + ¥ = 5.50 sa=1.50 + (Gandy denote mean of variables x and y and a is a constant) Putting values in the formula: 5.50 = 1.50 + b°2.50 b?2.50 =4 b=4/2.5= 1.60 Therefore, ‘B’ is the correct answer. Se India’s #1 Learning Platform Start Complete Exam Preparation Ceca coe Bone oes Mock Tests Peete! Question Bank Petes Download App Question 8 View this Question Online > For a bivariate data set on (x,y), if the means, standard deviations and correlation coefficient are K= 10, 7 = 2.0, 5.= 3.0, sy= 90, r=0.8 Then the regression line of yon x is: 2. y=2+0.27(K-1) 3. y=2+24K-1) A, y=1+0.27(x-2) Answer (Detailed Solution Below) Option 3: y = 2 + 2.4(k- 1) Linear Regression Question 8 Detailed Solution Formula The regression line of y on x is given && Y-P=Tx GK - Noy ~ Calculation According to the question y-2=08 x 9-1/3 sy -2= 24-1) ay =2424(x-1) India's #1 Learning Platform RCO RRO eros Pray foes Mock Tests a col resieacid Exeter) Download App Question 3 » View this Question Online > There is no value of x that can simultaneously satisfy bth the given equations. Therefore, find the ‘least squares error’ solution to the two equations i.e, find the value of x that minimizes the sum of squares of the errors in the two equations. 2x = 3 4x=1 ans ailed’Solution Below) 0.5 Linear Regression Question 9 Detailed Solution Concepts: Least Square Method: Itis an approximation method to minimize the error. In this method, the distance between the estimated value and the actual value is minimizedy 2 where *i are the estimated (or. guessed According to the least square method, & = XC i value) and x is the actual values. By minimizing this distance R the least-squares error can be found out. Calculations: Given the functions are:* — 3 2x— LR= (2x-3)?+(4e-17 aR Hence, to minimize the valueof ar ae ms = aR = 2 x 2(2x—3) +4 x 2(4x—1) =0 2 2 4 & Ram = (2x 2-3)? + (4x 2-1)? =5 ete aia ge Tan nies of Baia Whe ta ORT, & CR ABR UT Rell Start Complete Exam Preparation Bien ered Mock Tests occa Cres ea ext Download App Question 10 Consider the following learning algorithms: (a) Logistic regression (b) Back propagation (q Linear repression Which of the following option represents classification algorithms? 1 ~ and\(b) 2. Only (a) and (9 3. Only (b) and (¢) 4. @), (), and () Answer (Detailed Solution Below) Option 1 : Only (a) and (b} Linear Regression Question 10 Detailed Solution Concept: int Son \\ View this Question Online > Learning algorithms: These algorithms are used in me¢hine'leaming to help technology in human. learning process. It is used to process data to extract patterns appropriate for application in a new system. Explanation: From above given options, SD. b) are learning algorithms. a) Logistic regression: It is used for binary classification problems. It is used to examine and describe the relationship between a binary variable and set of predicator variables. The primary objective of logistic regression is to model the mean of the response variables, given a set or predicator variables, b) Back propagation: It is the essence of neural net training. It is the method of fine tuning the weights of a neural net based on the error rate obtained in the previous iteration. Itis a standard method of training artificial neural networks. ro ieee amu Rey Start Complete Exam Preparation Coyebau Practice praca ip een jee DB Download App Question 11: View this Question Online > Asset of observations of independent variable (x) and the corresponding dependent variable (y) is given below. s[2]4 76/10] 13 [12 Based on the data, the Coefficient a of the linear regression model y = a+ bx is estimatedias 6.1 The nt bis (round off to one decimal place) Answer (Detailed Solution Below) 1.9 Linear Regression Question 11 Detailed Solution Concept: The normal equation for Fitting a straight line by the least square method is: ty =na+bix Dy =a lx + bb? Where n= Total number of observations, a and b are the coefficients. By solving the ebove two equations coefficients a and b can be obtairiéd, Given Data and Calculation: Pasay = Ted n=4So 51 =4a+ 1b 188 = 14a + 54> Solving the above two equations a = 6.1 and b=1.9 SR ABR Rell Start Complete Exam Preparation Pos cre iets renee ote Download App Question 12: View this Question Online > In the regression model (y = a + bx) where X = 2.50, y = 5.50 anda = 1.50 Randy denote mean of variables x and y and a is a constant), which one of the following values of parameter 'b' of the model is correct? 1,175 2. 1.60 3. 2.00 oO“ vd 4. 2.50 NO er (Detailed Solution Below) Option 2: 1.60 Linear Regression Question 12 Detailed Solution its © Key P: Linear regression model: + Linear regression is a way to model the relationship between two variables. + You might also recognize the equation as the slope formula. + The equation has the form Y= a + bX, * where * Y is the dependent variable (that's the variable that goes on the Y-axis), = X is the independent variable (ie. plotted on the X-axis), » bis the slope of the line and = ais the y-intercept. 7 i @y) 2x) -(E0 Oy) (ox!) =x)" Pay) = x) ry) ae 2, 2 n(x") - (Ex) oO es) c Yaris: 150 ape Nee 140 Body weight 130} y YeatbX O (pounds) gq] vigt = 80 +2 (ngt 1° 60 70 80 ali Height 2) Calculation: (y=a+bx) where, sa + (andy denote mean of variables x and y and a is a constant) Putting values in the formula: 5.50 = 1.50 + b*2.50 b’2.50 =4 b=4/2.5= 1.60 Therefore, 'B’ is the correct answer. India's #1 Learning Platform CRC Roto Start Complete Exam Preparation Panes oe Mock Tests Cietes ae pees Download App Question 13: View this Question Online > For a bivariate data set on (x, y), if the means, standard deviations end correlation coefficient are K= 10,7 = 2.0, = 30, 5,-9.0, 08 Then the regression line of y on xis: 2. y=2 + 0.27(K-1) 3. y=2+24K-1) 4. y=1+40.27«-2) ‘Answer (Detailed Solution Below) Option 3: y = 2 + 2.4(x- 1) Linear Regression Question 13 Detailed Solution Formula The regression line of y on x is given.as ee eee Calculation ~a According to the question y-2=08 x 9x- 1/3 sy -2=2.4(-1) aY=24+24(x-1) es Ce ane Reco) Rea ot Start Complete Exam Preparation Pan ford Mock oes col Question Bank Gas ete Download App Question 14: View this Question Online > There is no value of x that can simultaneously satisfy both the given equations. Therefore, find the ‘least squares error’ solution to the two equations i.e, find the value of x that minimizes the sum of squares of the errors in the two equations, 2x=3 axa a. lod Solution Below) 0.6 Linear Regression Question 14 Detailed Solution Concepts: Least Square Method: It is an approximation method to minimize the error. In this method, the distance between the estimated value and the actual value is minimized. Accotding to the least square method, ® = 2. (1 ~ *)° where *! aréithetestimated (or guessed value) and xis the actual values. —_ in mae hy | meee Calculations: Given the functions are2* = 3 2x—3=Oand4x=1 > 4x—1=0 LR= (2x—3)?+ (4x7 rn aR = Q Hence, to minimize the velueof ! tr = aR — _ BR 52x 2(2x-3) 44x 2(4x- 1) =0 2®= 2 & Rye = (2 2-3)? + (4x 2-1)? =5 = The value of x that minimizes the sum of squares of the errors in the two equations is 1/2. Ra eae Pec) Start Complete Exam Preparation aCe cm MasterCl restating PYeliye Download App len ones Parag Question 15: View this Question Online > Consider the following learning algorithms: (a) Logistic regression (b) Back propagation (c Linear repression Which of the:following option represents classification algorithms? ™ 2. Only (a) and () nd (b) 3. Only (b) and () 4. @), (b), and () Answer (Detailed Solution Below) Option 1: Only (a) and (b) «ty Linear Regression Question 15 Detailed Solution Concept: Learning algorithms: These algorithms are used in 0 0" technology in human learning process. Itis used to process data to extr propriate for application in a new system. Explanation: From above given options, o: b) are learning algorithms. a) Logistic regression: It is used for binary classification problems. It is used to examine and describe the relationship between a binary variable and set of predicator variables. The primary objective of logistic regression is to model the mean of the response variables, given @ set or predicator variables, b) Back propagation: It is the essence of neural net training. It is the method of fine tuning the weights of a neural net based on the error rate obtained in the previous iteration. It is a standard method of training artificial neural networks.

You might also like