0% found this document useful (0 votes)
173 views8 pages

How To Use The Excel "Linest" Function For Linear Regression Models With Multiple Input Variables X

The document provides instructions on how to use Excel's LINEST function to perform linear regression analysis for linear regression models with multiple input variables. The LINEST function is used on a dataset containing 6 input variables (customer age, years at employer, years at address, income, credit card debt, automobile debt) and a target variable (default status). The function returns the coefficients, standard deviation of the errors, R-squared value, and other regression statistics.

Uploaded by

ANIL PAL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
173 views8 pages

How To Use The Excel "Linest" Function For Linear Regression Models With Multiple Input Variables X

The document provides instructions on how to use Excel's LINEST function to perform linear regression analysis for linear regression models with multiple input variables. The LINEST function is used on a dataset containing 6 input variables (customer age, years at employer, years at address, income, credit card debt, automobile debt) and a target variable (default status). The function returns the coefficients, standard deviation of the errors, R-squared value, and other regression statistics.

Uploaded by

ANIL PAL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 8

How to use the Excel "Linest" Function for linear regression models with mu

x(1)
Customer age
1 30.31
2 31.01
3 28.70
4 47.48
5 39.96
6 34.58
7 35.96
8 40.62
9 48.15
10 46.60
11 29.20
12 38.12
13 28.99
14 46.12
15 33.26
16 32.84
17 19.98
18 36.08
19 27.24
20 34.94
21 38.66
22 43.87
23 29.15
24 38.77
25 34.75

=linest(known_ys, known xs, const = true, stats= true)


Enter Column with Y values (H6:H30).
Answer with descriptive stats incuded requires a 5-row by 7-column area.
Select a 5-row by 7 column Area with Linest function already entered in uppe
"Control" + "U"
then "Command" + "return" -
Note: these are instructions for Excel for Mac 2011 - versions will vary - check
0.000
0.000
0.606
4.608
3.489

beta(6)*x(6)
SDev of error
R^2
F-statistic - not applicable
"Regression Sum of Squares"
r linear regression models with multiple input variables

x(2)
years at employer (x2)
2.04
0.28
8.49
16.76
12.86
11.97
4.96
6.55
12.89
11.46
1.25
18.29
1.60
3.31
7.61
10.64
1.47
6.06
1.71
10.21
0.61
9.20
8.09
22.30
8.69

stats= true)
Enter full array with x values (B6:G30).
uires a 5-row by 7-column area.
st function already entered in upper left corner

Mac 2011 - versions will vary - check Excel Help


0.000
0.000
0.355
18.000
2.271

beta(5)*x(5)
SDev of error
SDev(y)
Degrees of Freedom - not applicable
"Residual Sum of Squares"
x(3) x(4) x(5)
years at current address (x3) Income $ Credit Card Debt
0.80 $28,720 -$555
1.05 $67,583 -$7,661
0.62 $28,041 -$319
1.68 $60,661 -$2,923
1.26 $48,339 -$3,857
1.49 $65,765 -$15,598
0.45 $19,912 -$1,345
0.49 $33,336 -$8,985
0.79 $48,722 -$12,345
0.54 $52,869 -$5,046
0.15 $19,100 -$261
0.89 $45,262 -$718
0.90 $14,720 -$392
0.28 $24,146 -$3,116
0.11 $24,083 -$1,325
0.79 $26,949 -$786
0.68 $15,304 -$140
1.09 $40,341 -$5,144
0.42 $18,571 -$1,864
0.65 $101,164 -$9,666
0.13 $30,129 -$1,210
0.64 $27,784 -$3,375
0.04 $20,608 -$1,724
1.27 $55,033 -$1,141
1.78 $45,688 -$2,364
0.000 0.12 -0.03
0.00 0.19 0.02
#N/A #N/A #N/A
#N/A #N/A #N/A
#N/A #N/A #N/A

beta4*x4 beta(3)*x(3) beta(2)*x(2)


SDev of error SDev of error SDev of error
x(6) Target Variable Y
Automobile Debt Default = 1, No Default = 0
-$2,600 0
-$30,676 1
-$1,162 0
-$1,563 0
-$2,555 0
-$17,632 1
-$1,489 0
-$5,664 1
-$19,625 1
-$14,190 1
-$750 0
-$754 0
$718 1
-$8,454 1
-$924 0
-$522 0
-$2,862 0
-$13,244 1
-$8,025 0
-$17,527 0
-$2,707 1
-$4,991 0
-$3,113 0
-$286 0
-$5,004 0
0.03 -0.55
0.01 0.42
#N/A #N/A
#N/A #N/A
#N/A #N/A

beta(1)*x(1) alpha
SDev of error SDev of error

You might also like