Professional Documents
Culture Documents
Mcq-On-Linear-Regression - 5eea6a0b39140f30f369dd1c
Mcq-On-Linear-Regression - 5eea6a0b39140f30f369dd1c
Question 1:
View this Question Online >
A set of observations of independent variable (x) and the corresponding dependent variable (y) is
given below. . '
x 5243 ’ ” ‘
16 10 13 12 ,” ’ .
y = a + bx is estimated as.6.1 .
Concept:
The normal equation for Fitting a straight line by the least square method is:
Zy = na + b Zx
2
Zxy = a Zx + b Zx
Where
n = Total number of observatio ns, a and b are the coefficients.
25 80
10 20
Zxy = 188
n = 4 So
51 = 4a + 14b
188 = 1 4a + 54b
Question 1:
View this Question Online >
Far a bivariate data set on (x, y), if the means, standard deviations and correlation coefficient are
2. y = 2 - 0.27(x — 1)
3. y = 2 + 2.4{K- 1)
4. y = 1 + 0.27(x - 2)
” ''‘ *'
Option 3 : y = 2 + 2.4(x - 1)
“
Linear Regression Question 2 Detailed Solution ,”
Formula ’
Calculation
=> y — 2 = 2.4(x - 1)
-. y = 2 + 2.4(x - 1)
Quesfion 3:
1. 1.75
2. 1.60
3. 2.00
4. 2.50
A
er (Detailed ?o1Lition Below)
Option 2 : 1.60
@l Prei ts
Linear regression model:
• Linear repression is a way to model the relationship between two variables.
• You mipht also recognize the equation as the slope formula.
• The equation has the form Y= a + by
• where
° Y is the dependent variable (that s the variable that poes on the Y-axis),
° X is the independent variable (i.e. it is plotted on the X-axis),
° b is the slope of the line and
° a is the y-intercept.
a-
( ) ( ’-' )- (’ ) (’ y )
" 160
150
140
Body weight 130 bX
(pounds) 100 wgt = 80 + 2 (hgt)
80
50 60 70 80
X- axis. Hr/. !1 t (inches)
Calculation:
!’.=o— bx)
• a = l.5O
e 2.50 = 4
b = 4/2.5 = 1.60
Question 4:
There is no value of x that can simultaneously satis/ both the given equations. Therefore. find the
least squares error’ solution to the t\vo equations, i.e.,. find the value of x that minimizes the sum cf
squares of the errors in the two equations.
2x = 3
4x = 1
Concepts
R
According to the least square method, 1 where ”i are the estimated (or puessed
value) and x is the actual values.
By minimizing this distance R the least-squares error can be found out.
Calculations:
- 2x — 3) -+- 4 x 2 (4x — 1) 0
. The value of x that minimizes the sum of squares of the errors in the two equations is 1/2.
Question 5:
View this Question Online >
0, ,
1 and (b)
2. OnIy (a) and (c)
Concept:
Learning algorithms: These algorithms are used in machine learning to help technology in human
learning process. It is used to process data to extract patterns appropriate for application in a new
system.
Explanation:
a)Logistic regression: It is used for binaQ' classification problems. It is used to examine and describe
the relationship bet\veeiJ a binaQ' 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.
A set of observations of independent variable (x) and the corresponding dependent variable (y) is
piven below.
y = a + bx is estimated as 6.1
Concept:
The normal equation for Fitting a straight line by the least square method is:
Zy = na + b Zx
Zxy = a Zx + bU 2
Where
n = Total number of observatio ns, a and b are the coefficients.
By solving the above two equations coefficients a and b can be obtained.
Given Data and Calculation:
25 80
10 20
Zy = 5l
5l = #a + 14b
In the repi ession moclel ( y = a + bx) where x = 2.50, y" = 5.50 and a = 1 .50 x and y"
denote mean of variables x and y and a is a constant}, which one of the following values
of pal ameter ’b’ of the model is cori ect?
" 1.7?
4. 2.50
Answe
:? ption 2 : 1.GO
O e Points
Linear regression model:
• Linear repression is a way to model the relationship between twa variables.
• You mipht aJso 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 poes on the Y-axis),
° X is the independent variable (i.e. it is pJotted on the X-axis),
° b is the slape of the line and
° a is the y-intercept.
2
( î x ) - (Zx) (sexy)
" 160
150
140
Body weight 130 bX
(pounds) wgt = 80 + 2 (hgt)
100
80 50 60 70 80
X- axis: Height (inçfie¥) ›
Calculation: .
( y = a + bx)
where,
• x= 2.50
• a = 1.50
• x and y denote mean of variables x and y and a is a constant)
Puttinp values in the formuJa:
5.50 = 1.50 + b*2.50
b*2.50 = 4
b = 4/2.5 = 1.60
For a bivariate data set on (x, y), gif.tke, r?iearts, standard deviations and correlation coefficient are
2. y = 2 + 0.27(x — 1)
3. y = 2 + 2.4{K- 1)
4. y = 1 + 0.27(x - 2)
y — y = rs ay(X /o
Calculation ”
w y — 2 = 2.4(x - 1)
-. y = 2 + 2.4(x - 1)
Question 9 Vie'.'v thi° Question inlire
There is no value of x that can simultaneously satisfy bath the piven 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
Concepts:
According to the least square method,R ' Z ( i ) where ”i are the estimated (ar guessed
value) and x is the actual values.
By minimizinp this distance R the least-squares error can be found out.
Calculations”
2 ' 3 2x S 0 aod 4x 1 4x — 1 0
Given the functions are:
R = (2x — 3) —+- {4x — 1) .
=2x —S)+4x2(4x—1)=0
. The value of x that minimizes the sum of squares of the errors in the two equations is 1/2.
Question 1 0
Vie\+’ this Question Online >
(a)and (b)
{c)
Concept:
Learning algorithms: These algorithms are used in machine learning to help technology in human
learning process. It is used to process data to extract patterns appropriate for application in a
new system.
Explanation:
a) Logistic regression: It is used ‹or 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, piven 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.
Download App
Question 11:
View this Oriestion Online >
A set of observations of independent variable (x) and the corresponding dependent variable (y) is
g iven below.
Concept:
The normal equation for Fitting a straight line by the least square method is:
Iy= na + bZx
= a Zx + bU 2 , ’ , ‘•
Where
n = Total number of observations, a and b are the coefficients. ” ’
- By solving
the above two equations coefficients a and b can be obtained. • ”
Given Data and Calculation:
25 80
10
16
Zxy = J'89
n=4So
S1 = 4a + 14b
188 = 14a + S4b
Solving the above two equations 8 - 6.1 and b = 1.9
Quesfion 11:
View this Question Online >
!n the regression model ( y = a + bx) where x = 2.50, y = 5.50 and a = 1.50 x and y
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 ’‹ ’
3. 2.00
4. 2.50
Optio n 2 : 1.60
@ Prei
Linear regression model:
a=
Calculation:
( y = a + bx)
where,
• x=2.50
• a = 1.50
• x and 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
$Download App
Question 13:
Fo r a bivariate data set on (x, y), if the means, standard deviations and co rrelatio n coefficient are
1)
2. y = — fi.27 (x - 1)
3. y = 2 - 2.4(x - 1)
Optio n 3 : y = 2 + 2.4(x - 1)
Formula
=t y — 2 = 2.4(x - 1)
.- y = 2 + 2.4(x - 1)
Download App
Question 14:
\Yiew this Question Online >
There is no value of x that can simultaneously satisfy both the piven 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
Concepts:
According to the least square method,R ' Z ( i ) where i are the estimated (or guessed
value) and x is the actual values.
Calculations
2 ' 2 3 0 aod 4x 1 4x — 1 0
Given the functions are:
R = (2x — 3)’ -I- (fix —
. The value of x that minimizes the sum of squares of the errors in the two equations is 1/2.
Download App
Quesfion 15:
+/iea this Question Online
Concept:
Learning algorithms: These algorithms are used in machine learning to help technology in human
learning process. It is used to process data to extract patterns appropriate for application in a new
system.
Explanation:
a) Logistic regression: It is used for bina classification prob lems. It is used to examine and
clescribe the relationship between a bina variable and set of predicator variables. The primary
objective of logistic regression is to model the mean of the response variah les, 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.