Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2557
| From | richard i pelletier <bitbucket@comcast.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Question about DurbinWatsonD |
| Date | 2011-05-21 10:46 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <ir856q$bdj$1@smc.vnet.net> (permalink) |
| References | <ir5g8t$t1m$1@smc.vnet.net> |
In article <ir5g8t$t1m$1@smc.vnet.net>,
Gilmar Rodriguez-pierluissi <peacenova@yahoo.com> wrote:
> when I evaluate:
>
> data = {{0.05, 90}, {0.09, 95}, {0.14, 110}, {0.17, 125}, {0.2, 140}, {0.21,
> 150}, {0.23, 175}, {0.25, 190}, {0.3, 210}, {0.35, 255}};
>
> LinearModelFit[data, {1, x^2}, x, RegressionReport -> {DurbinWatsonD}]
>
> the above line will not produce the DurbinWatsonD value of 1.14 shown in the
> example on that web page.
The correct syntax for LinearModelFit is
LinearModelFit[data,{1,x^2},x]["DurbinWatsonD"]
Vale,
rip
--
email address is r i p 1 AT c o m c a s t DOT n e t
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Question about DurbinWatsonD Gilmar Rodriguez-pierluissi <peacenova@yahoo.com> - 2011-05-20 10:37 +0000 Re: Question about DurbinWatsonD richard i pelletier <bitbucket@comcast.net> - 2011-05-21 10:46 +0000 Re: Question about DurbinWatsonD Peter Pein <petsie@dordos.net> - 2011-05-21 10:49 +0000
csiph-web