<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 19/12/2015 11:17, kumaden ikpambese
a écrit :<br>
</div>
<blockquote
cite="mid:1564244150.841312.1450520264933.JavaMail.yahoo@mail.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:14px">
<div id="yui_3_16_0_1_1450517620958_25742">Yes. I also wish to
predict .i.e ypred and errors associated with the ypred and
the y-experimental</div>
<div id="yui_3_16_0_1_1450517620958_25743">thanks.<br>
</div>
<div id="yui_3_16_0_1_1450517620958_25270"><span></span></div>
<div class="qtdSeparateBR"><br>
<br>
</div>
<div style="display: block;" class="yahoo_quoted">
<div style="font-family: HelveticaNeue, Helvetica Neue,
Helvetica, Arial, Lucida Grande, sans-serif; font-size:
14px;">
<div style="font-family: HelveticaNeue, Helvetica Neue,
Helvetica, Arial, Lucida Grande, sans-serif; font-size:
16px;">
<div dir="ltr"><font size="2" face="Arial"> On Saturday,
December 19, 2015 11:10 AM, Samuel Gougeon
<a class="moz-txt-link-rfc2396E" href="mailto:sgougeon@free.fr"><sgougeon@free.fr></a> wrote:<br>
</font></div>
<br>
<div class="y_msg_container">
<div id="yiv9923092179">
<div>
<div class="yiv9923092179moz-cite-prefix">Le
19/12/2015 10:40, kumaden ikpambese a écrit :<br
clear="none">
</div>
<div class="yiv9923092179yqt3615362235"
id="yiv9923092179yqt16607">
<blockquote type="cite">
<div
style="color:#000;background-color:#fff;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande, sans-serif;font-size:14px;">
<div
id="yiv9923092179yui_3_16_0_1_1450517620958_3373">Please,
can you assist me perform multiple
regression using reglin function for
following varibles;</div>
<div
id="yiv9923092179yui_3_16_0_1_1450517620958_3811">Input
variables;</div>
<div> </div>
<div class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4112"
style="text-align:justify;line-height:200%;"><span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4114"
style="font-size:12.0pt;line-height:200%;"> x<sub
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4116">1</sub>=
[5.82 <span class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4118"
style=""> </span>5.20 <span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4120"
style=""> </span>4.80 <span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4122"
style=""> </span>2.81 <span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4124"
style=""> </span>2.64];</span></div>
<div class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4126"
style="text-align:justify;line-height:200%;"><span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4128"
style="font-size:12.0pt;line-height:200%;"> <sub
id="yiv9923092179yui_3_16_0_1_1450517620958_4486">x</sub><sub
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4130">2</sub>=
[8.18 <span class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4132"
style=""> </span>6.8 <span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4134"
style=""> </span>6.2 <span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4136"
style=""> </span>6.19 <span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4138"
style=""> </span>7.36];</span></div>
<span class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4142"
style="font-size:12.0pt;line-height:200%;"><sub
id="yiv9923092179yui_3_16_0_1_1450517620958_4502">x</sub><sub
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4144">3</sub>
= [40 <span class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4146"
style=""> </span>36 <span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4148"
style=""> </span>32 <span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4150"
style=""> </span>32 <span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4152"
style=""> </span>28]; and</span>
<div class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4154"
style="text-align:justify;line-height:200%;"><span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4156"
style="font-size:12.0pt;line-height:200%;">x<sub
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4158">4</sub>
= [1.5 <span class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4160"
style=""> </span>1.2 <span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4162"
style=""> </span>0.87 <span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4164"
style=""> </span>0.75 <span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4166"
style=""> </span>0.63].</span></div>
<div class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4463"
style="text-align:justify;line-height:200%;">ouput<br
clear="none">
<span class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4465"
style="font-size:12.0pt;line-height:200%;">y
= [1.5 <span class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4467"
style=""> </span>1.2 <span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4469"
style=""> </span>0.87 <span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4471"
style=""> </span>0.75 <span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4473"
style=""> </span>0.63]</span></div>
<div class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4505"
style="text-align:justify;line-height:200%;"><span
class="yiv9923092179"
id="yiv9923092179yui_3_16_0_1_1450517620958_4465"
style="font-size:12.0pt;line-height:200%;">Thanks.<br
clear="none">
</span></div>
</div>
</blockquote>
</div>
Do you mean that you are searching for the best
{a,b,c,d} such that y ~ a.x1 + b.x2 +c.x3 + d.x4 ?<br
clear="none">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<br>
Just do <br>
<tt>--> [ x1.' x2.' x3.' x4.'] \ y.'</tt><tt><br>
</tt><tt> ans =</tt><tt><br>
</tt><tt> - 1.976D-16</tt><tt><br>
</tt><tt> 1.308D-16</tt><tt><br>
</tt><tt> 0.</tt><tt><br>
</tt><tt> 1.</tt><tt><br>
</tt><br>
Which means: y = x4 // that is triviously observable on data.<br>
The fitting error is null, since the match between y and x4 is
perfect.<br>
<br>
S. Gougeon<br>
<br>
</body>
</html>