Re: Regression Analysis



Thank you very much for reply and helping me in regression analysis.

But i need your further help as i am not able to include terms you
suggested i.e E and error function. I went to the fuction REGRESS and
i got idea too but i am still not able to include the terms you
suggested and the concept of MSE.

( b=regress(Y,X) %%% i used this function and got 4 constants but
still not all positive and how to calculate errors?? )

Now i understand that my problem is of MULTIPLE REGRESSION and i read
to solve this problem using back slash function in mathematics
funcion.

I request me to suggest in analysis.

Thanks and Regards
Jimmy

Greg Heath wrote:
>
>
> Jimmy wrote:
>> Hi All,
>>
>> I appreciate for your effort for helping me in regression
> analysis.
>> Still i haven't figured out the problem. Here i am gonna
explain
> my
>> problem in detail.
>>
>> Explaination of Regression Analysis:
>>
>> I have exprimental data of the process that means i have ouput
> values
>> for each combination of input values. let say i have input
> Pi,Qi,Ri &
>> Si and corresponding output to those input values is Yi. where
i
>> suggest the no of trial of experiments. So here i have 10 sets
of
>> data for which i have output values.
>
> 10 sets of data. How many observations in each set?
>
>> NOW, i am trying to fit those data in linear relationship that
> can be
>> represented by below equation.
>>
>> Y=A*P + B*Q + C*R + D*S.........where A,B,C,D are constants
>
> You need to add a constant term and an error term to the fit:
>
> Y = E + A*P + B*Q + C*R + D*S + err
>
> You now have 5 parameters to estimate very accurately.
> Depending on the measurement noise levels you may
> need any where from M =10 to 300 measurements (~1 to 30
> per data set). I would feel uneasy if M < ~100.
>
>> Problem:::: I want to find the POSITIVE value of A,B,C,D that
can
> be
>> fit to all the 10 set of trial.....
>
> The positivity constraint requires much more sophisticated
> software than you will want to deal with at this stage.
> I suggest forgetting about that constraint for a while and
> minimize the mean sqrared error
>
> MSE = (1/M)*SUM(i=1,M){erri^2 }
> = (1/M)*SUM(i=1,M){Yi - E -A*Pi -B*Qi -C*Ri -C*Si)^2 }
>
>> this problem seems reverse application of regression analysis
>
> No. It is precisely regression analysis.
>
>> have output values of 10 sets of trial and want to find
constant
> of
>> equation such that every time it satisfy the equation.
>
> If you exclude the error term, every point will not
> satisfy the equation. Only the MSE will be minimized.
>
>> I would greatly appreciate your suggestion for using MATLAB to
> solve
>> this problem.
>
> I have posed the problem so that it can be put in
> matrix form
>
> Y = Y0 + (X-X0)*B1 + e
>
> where X0 and Y0 indicate mean values that are easily
> estimated.
>
> The MSE solution for B1 can be obtained by using
> function REGRESS, the function PINV or the
> slash solution B1 = (X-X0)\(Y-Y0).
>
> help regress
> help pinv
>
> Hope this helps.
>
> Greg
>
> -----SNIP-----
>
>
.



Relevant Pages

  • Re: Regression Analysis
    ... Jimmy wrote: ... > Thank you very much for reply and helping me in regression analysis. ... >> You need to add a constant term and an error term to the fit: ...
    (comp.soft-sys.matlab)
  • Re: CLT and regression
    ... understand its relationship with regression analyis. ... Can I still use linear regression analysis? ... using a Box-Cox transformation to get them normal: ... transformations often gets you close enough to normality. ...
    (sci.stat.consult)
  • Re: CLT and regression
    ... understand its relationship with regression analyis. ... Can I still use linear regression analysis? ... The central limit theorem is not involved. ... distribution of the dependent variable is not directly relevant. ...
    (sci.stat.consult)
  • More (me vs.) multiple regression
    ... This multiple regression business is overwhelming me at the minute and I wonder if any of the writers of the textbooks I've come across so far understand it fully enough to offer a concise, simple, no-nonsense explanation. ... why aren't there any books that say to carry out a regression analysis step by step? ... There are so many variables in regression analysis which also makes things very confusing, to a non numbers oriented person. ... to check for colinearity you can either check the tolerance or VIF values. ...
    (sci.stat.consult)
  • Re: Problem related to a linear regression
    ... give the best fit of the line y = A + B*x to the data points ... finding out that A and B describe a regression line for the data ... I used the word 'scaled' since A and B don't affect the correlation ... In the first case I minimise the sum of (Y- ...
    (sci.math)