Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Finding Regression Coefficient

  • To: mathgroup at
  • Subject: [mg1157] Re: Finding Regression Coefficient
  • From: william.oliver at (Bill Oliver)
  • Date: Sat, 20 May 1995 01:23:21 -0400
  • Organization: University of Colorado

In article <3pc25e$o0m at>
tesch at (Ralf Tesch) writes:

> Hi there,
> being one of the many people having questions about NonlinearFit[], mine 
> is about finding the regression coefficient r^2 of the solution given by 
> Mma. 
> There is no hint in the Standard Packages Manual (at least I didn't find 
> any...)
> Is there a way implemented in Mma or is that coefficient to be calculated 
> seperately - how???
> Thanks for help
> Ralf

The following should work for you, although you may need to manipulate
your data into the correct matrix form.
data = Table[{Random[],Random[]},{100}];
RSquared -> 0.0712578


  • Prev by Date: Re: Piecewise function generator
  • Next by Date: "Topographical" Coloring?
  • Previous by thread: Finding Regression Coefficient
  • Next by thread: Re: Finding Regression Coefficient