home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / fish / applications / xlispstat / man.lzh / Manual / Mac / techreport.tex / node53_ct.html < prev    next >
LaTeX Document  |  1990-10-12  |  4.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file LaTeX document text default
98% file exported SGML document text default
97% file Lisp/Scheme program text default
96% file exported SGML document, ASCII text default
80% TrID HyperText Markup Language with DOCTYPE default
19% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 4e 6f | 6e 6c 69 6e 65 61 72 20 |ts of No|nlinear |
|000000b0| 52 65 67 72 65 73 73 69 | 6f 6e 3c 2f 54 49 54 4c |Regressi|on</TITL|
|000000c0| 45 3e 0a 0a 3c 4d 45 54 | 41 20 48 54 54 50 2d 45 |E>..<MET|A HTTP-E|
|000000d0| 51 55 49 56 3d 22 43 6f | 6e 74 65 6e 74 2d 54 79 |QUIV="Co|ntent-Ty|
|000000e0| 70 65 22 20 43 4f 4e 54 | 45 4e 54 3d 22 74 65 78 |pe" CONT|ENT="tex|
|000000f0| 74 2f 68 74 6d 6c 3b 20 | 63 68 61 72 73 65 74 3d |t/html; |charset=|
|00000100| 75 74 66 2d 38 22 3e 0a | 3c 4d 45 54 41 20 4e 41 |utf-8">.|<META NA|
|00000110| 4d 45 3d 22 76 69 65 77 | 70 6f 72 74 22 20 43 4f |ME="view|port" CO|
|00000120| 4e 54 45 4e 54 3d 22 77 | 69 64 74 68 3d 64 65 76 |NTENT="w|idth=dev|
|00000130| 69 63 65 2d 77 69 64 74 | 68 2c 20 69 6e 69 74 69 |ice-widt|h, initi|
|00000140| 61 6c 2d 73 63 61 6c 65 | 3d 31 2e 30 22 3e 0a 3c |al-scale|=1.0">.<|
|00000150| 4d 45 54 41 20 4e 41 4d | 45 3d 22 47 65 6e 65 72 |META NAM|E="Gener|
|00000160| 61 74 6f 72 22 20 43 4f | 4e 54 45 4e 54 3d 22 4c |ator" CO|NTENT="L|
|00000170| 61 54 65 58 32 48 54 4d | 4c 20 76 32 30 32 32 22 |aTeX2HTM|L v2022"|
|00000180| 3e 0a 0a 3c 4c 49 4e 4b | 20 52 45 4c 3d 22 53 54 |>..<LINK| REL="ST|
|00000190| 59 4c 45 53 48 45 45 54 | 22 20 48 52 45 46 3d 22 |YLESHEET|" HREF="|
|000001a0| 74 65 63 68 72 65 70 6f | 72 74 2e 63 73 73 22 3e |techrepo|rt.css">|
|000001b0| 0a 0a 3c 4c 49 4e 4b 20 | 52 45 4c 3d 22 6e 65 78 |..<LINK |REL="nex|
|000001c0| 74 22 20 48 52 45 46 3d | 22 6e 6f 64 65 35 34 5f |t" HREF=|"node54_|
|000001d0| 6d 6e 2e 68 74 6d 6c 22 | 3e 0a 3c 4c 49 4e 4b 20 |mn.html"|>.<LINK |
|000001e0| 52 45 4c 3d 22 70 72 65 | 76 69 6f 75 73 22 20 48 |REL="pre|vious" H|
|000001f0| 52 45 46 3d 22 6e 6f 64 | 65 34 37 5f 6d 6e 2e 68 |REF="nod|e47_mn.h|
|00000200| 74 6d 6c 22 3e 0a 3c 4c | 49 4e 4b 20 52 45 4c 3d |tml">.<L|INK REL=|
|00000210| 22 75 70 22 20 48 52 45 | 46 3d 22 74 65 63 68 72 |"up" HRE|F="techr|
|00000220| 65 70 6f 72 74 5f 6d 6e | 2e 68 74 6d 6c 22 3e 0a |eport_mn|.html">.|
|00000230| 3c 4c 49 4e 4b 20 52 45 | 4c 3d 22 6e 65 78 74 22 |<LINK RE|L="next"|
|00000240| 20 48 52 45 46 3d 22 6e | 6f 64 65 35 34 5f 6d 6e | HREF="n|ode54_mn|
|00000250| 2e 68 74 6d 6c 22 3e 0a | 3c 2f 48 45 41 44 3e 0a |.html">.|</HEAD>.|
|00000260| 20 0a 3c 42 4f 44 59 20 | 62 67 63 6f 6c 6f 72 3d | .<BODY |bgcolor=|
|00000270| 22 23 66 66 66 66 66 66 | 22 20 74 65 78 74 3d 22 |"#ffffff|" text="|
|00000280| 23 30 30 30 30 30 30 22 | 20 6c 69 6e 6b 3d 22 23 |#000000"| link="#|
|00000290| 39 39 34 34 45 45 22 20 | 76 6c 69 6e 6b 3d 22 23 |9944EE" |vlink="#|
|000002a0| 30 30 30 30 66 66 22 20 | 61 6c 69 6e 6b 3d 22 23 |0000ff" |alink="#|
|000002b0| 30 30 66 66 30 30 22 3e | 0a 0a 3c 48 31 3e 3c 41 |00ff00">|..<H1><A|
|000002c0| 20 49 44 3d 22 53 45 43 | 54 49 4f 4e 30 30 30 31 | ID="SEC|TION0001|
|000002d0| 31 30 30 30 30 30 30 30 | 30 30 30 30 30 30 30 30 |10000000|00000000|
|000002e0| 30 22 3e 0a 4e 6f 6e 6c | 69 6e 65 61 72 20 52 65 |0">.Nonl|inear Re|
|000002f0| 67 72 65 73 73 69 6f 6e | 3c 2f 41 3e 0a 3c 2f 48 |gression|</A>.</H|
|00000300| 31 3e 0a 58 4c 49 53 50 | 2d 53 54 41 54 20 61 6c |1>.XLISP|-STAT al|
|00000310| 6c 6f 77 73 20 74 68 65 | 20 63 6f 6e 73 74 72 75 |lows the| constru|
|00000320| 63 74 69 6f 6e 20 6f 66 | 20 6e 6f 6e 6c 69 6e 65 |ction of| nonline|
|00000330| 61 72 2c 20 6e 6f 72 6d | 61 6c 20 72 65 67 72 65 |ar, norm|al regre|
|00000340| 73 73 69 6f 6e 0a 6d 6f | 64 65 6c 73 2e 20 54 68 |ssion.mo|dels. Th|
|00000350| 65 20 70 72 65 73 65 6e | 74 20 69 6d 70 6c 65 6d |e presen|t implem|
|00000360| 65 6e 74 61 74 69 6f 6e | 20 69 73 20 65 78 70 65 |entation| is expe|
|00000370| 72 69 6d 65 6e 74 61 6c | 20 28 65 76 65 6e 20 6d |rimental| (even m|
|00000380| 6f 72 65 0a 65 78 70 65 | 72 69 6d 65 6e 74 61 6c |ore.expe|rimental|
|00000390| 20 74 68 61 6e 20 74 68 | 65 20 72 65 73 74 20 6f | than th|e rest o|
|000003a0| 66 20 74 68 65 20 70 72 | 6f 67 72 61 6d 29 2e 20 |f the pr|ogram). |
|000003b0| 54 68 65 20 64 65 66 69 | 6e 69 74 69 6f 6e 73 20 |The defi|nitions |
|000003c0| 6e 65 65 64 65 64 20 66 | 6f 72 0a 6e 6f 6e 6c 69 |needed f|or.nonli|
|000003d0| 6e 65 61 72 20 72 65 67 | 72 65 73 73 69 6f 6e 20 |near reg|ression |
|000003e0| 61 72 65 20 69 6e 20 74 | 68 65 20 66 69 6c 65 20 |are in t|he file |
|000003f0| 3c 54 54 3e 20 22 32 44 | 20 6e 6f 6e 6c 69 6e 2e |<TT> "2D| nonlin.|
|00000400| 6c 73 70 3c 2f 54 54 3e | 20 6f 6e 20 74 68 65 20 |lsp</TT>| on the |
|00000410| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 0a 64 69 73 |distribu|tion.dis|
|00000420| 6b 2e 20 54 68 69 73 20 | 66 69 6c 65 20 69 73 20 |k. This |file is |
|00000430| 6e 6f 74 20 6c 6f 61 64 | 65 64 20 61 75 74 6f 6d |not load|ed autom|
|00000440| 61 74 69 63 61 6c 6c 79 | 20 61 74 20 73 74 61 72 |atically| at star|
|00000450| 74 20 75 70 3b 20 79 6f | 75 20 73 68 6f 75 6c 64 |t up; yo|u should|
|00000460| 0a 6c 6f 61 64 20 69 74 | 20 6e 6f 77 2c 20 75 73 |.load it| now, us|
|00000470| 69 6e 67 20 74 68 65 20 | 3c 42 3e 4c 6f 61 64 3c |ing the |<B>Load<|
|00000480| 2f 42 3e 20 69 74 65 6d | 20 6f 6e 20 74 68 65 20 |/B> item| on the |
|00000490| 3c 42 3e 46 69 6c 65 3c | 2f 42 3e 20 6d 65 6e 75 |<B>File<|/B> menu|
|000004a0| 20 6f 72 0a 74 68 65 20 | 3c 54 54 3e 20 22 32 44 | or.the |<TT> "2D|
|000004b0| 20 6c 6f 61 64 3c 2f 54 | 54 3e 20 63 6f 6d 6d 61 | load</T|T> comma|
|000004c0| 6e 64 2c 20 74 6f 20 63 | 61 72 72 79 20 6f 75 74 |nd, to c|arry out|
|000004d0| 20 74 68 65 20 63 61 6c | 63 75 6c 61 74 69 6f 6e | the cal|culation|
|000004e0| 73 20 69 6e 20 74 68 69 | 73 20 73 65 63 74 69 6f |s in thi|s sectio|
|000004f0| 6e 2e 0a 0a 3c 50 3e 0a | 41 73 20 61 6e 20 65 78 |n...<P>.|As an ex|
|00000500| 61 6d 70 6c 65 2c 20 73 | 75 70 70 6f 73 65 20 77 |ample, s|uppose w|
|00000510| 65 20 68 61 76 65 20 64 | 61 74 61 20 73 65 74 73 |e have d|ata sets|
|00000520| 20 3c 54 54 3e 20 22 32 | 44 20 78 3c 2f 54 54 3e | <TT> "2|D x</TT>|
|00000530| 20 61 6e 64 20 3c 54 54 | 3e 20 22 32 44 20 79 3c | and <TT|> "2D y<|
|00000540| 2f 54 54 3e 20 67 69 76 | 65 6e 20 62 79 0a 3c 50 |/TT> giv|en by.<P|
|00000550| 52 45 3e 0a 09 28 64 65 | 66 20 78 20 28 6c 69 73 |RE>..(de|f x (lis|
|00000560| 74 20 32 2e 30 30 30 20 | 32 2e 30 30 30 20 30 2e |t 2.000 |2.000 0.|
|00000570| 36 36 37 20 30 2e 36 36 | 37 20 30 2e 34 30 30 20 |667 0.66|7 0.400 |
|00000580| 30 2e 34 30 30 0a 09 20 | 20 20 20 20 20 20 20 20 |0.400.. | |
|00000590| 20 20 20 20 30 2e 32 38 | 36 20 30 2e 32 38 36 20 | 0.28|6 0.286 |
|000005a0| 30 2e 32 32 32 20 30 2e | 32 32 32 20 30 2e 32 30 |0.222 0.|222 0.20|
|000005b0| 30 20 30 2e 32 30 30 29 | 29 0a 09 28 64 65 66 20 |0 0.200)|)..(def |
|000005c0| 79 20 28 6c 69 73 74 20 | 30 2e 30 36 31 35 20 30 |y (list |0.0615 0|
|000005d0| 2e 30 35 32 37 20 30 2e | 30 33 33 34 20 30 2e 30 |.0527 0.|0334 0.0|
|000005e0| 32 35 38 20 30 2e 30 31 | 33 38 20 30 2e 30 32 35 |258 0.01|38 0.025|
|000005f0| 38 0a 09 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |8.. | |
|00000600| 30 2e 30 31 32 39 20 30 | 2e 30 31 38 33 20 30 2e |0.0129 0|.0183 0.|
|00000610| 30 30 38 33 20 30 2e 30 | 31 36 39 20 30 2e 30 31 |0083 0.0|169 0.01|
|00000620| 32 39 20 30 2e 30 30 38 | 37 29 29 0a 3c 2f 50 52 |29 0.008|7)).</PR|
|00000630| 45 3e 0a 61 6e 64 20 77 | 65 20 77 6f 75 6c 64 20 |E>.and w|e would |
|00000640| 6c 69 6b 65 20 74 6f 20 | 66 69 74 20 61 20 6e 6f |like to |fit a no|
|00000650| 72 6d 61 6c 20 6e 6f 6e | 6c 69 6e 65 61 72 20 72 |rmal non|linear r|
|00000660| 65 67 72 65 73 73 69 6f | 6e 0a 3c 41 20 49 44 3d |egressio|n.<A ID=|
|00000670| 22 31 33 30 33 22 3e 3c | 2f 41 3e 20 6d 6f 64 65 |"1303"><|/A> mode|
|00000680| 6c 20 77 69 74 68 20 74 | 68 65 20 4d 69 63 68 61 |l with t|he Micha|
|00000690| 65 6c 69 73 2d 4d 65 6e | 74 65 6e 20 6d 65 61 6e |elis-Men|ten mean|
|000006a0| 0a 66 75 6e 63 74 69 6f | 6e 0a 3c 50 3e 3c 21 2d |.functio|n.<P><!-|
|000006b0| 2d 20 4d 41 54 48 0a 20 | 5c 62 65 67 69 6e 7b 64 |- MATH. |\begin{d|
|000006c0| 69 73 70 6c 61 79 6d 61 | 74 68 7d 0a 5c 65 74 61 |isplayma|th}.\eta|
|000006d0| 28 78 29 20 3d 20 5c 66 | 72 61 63 7b 5c 74 68 65 |(x) = \f|rac{\the|
|000006e0| 74 61 5f 7b 31 7d 78 7d | 7b 5c 74 68 65 74 61 5f |ta_{1}x}|{\theta_|
|000006f0| 7b 32 7d 2b 78 7d 0a 5c | 65 6e 64 7b 64 69 73 70 |{2}+x}.\|end{disp|
|00000700| 6c 61 79 6d 61 74 68 7d | 0a 20 2d 2d 3e 0a 3c 2f |laymath}|. -->.</|
|00000710| 50 3e 0a 3c 44 49 56 20 | 41 4c 49 47 4e 3d 22 43 |P>.<DIV |ALIGN="C|
|00000720| 45 4e 54 45 52 22 3e 0a | 3c 49 3e 26 23 39 35 31 |ENTER">.|<I>&#951|
|00000730| 3b 3c 2f 49 3e 28 3c 49 | 3e 78 3c 2f 49 3e 29 20 |;</I>(<I|>x</I>) |
|00000740| 3d 20 3c 49 4d 47 0a 20 | 53 54 59 4c 45 3d 22 22 |= <IMG. |STYLE=""|
|00000750| 20 53 52 43 3d 22 69 6d | 67 31 30 2e 70 6e 67 22 | SRC="im|g10.png"|
|00000760| 0a 20 41 4c 54 3d 22 24 | 5c 64 69 73 70 6c 61 79 |. ALT="$|\display|
|00000770| 73 74 79 6c 65 20 7b 5c | 66 72 61 63 7b 7b 5c 74 |style {\|frac{{\t|
|00000780| 68 65 74 61 5f 7b 31 7d | 78 7d 7d 7b 7b 5c 74 68 |heta_{1}|x}}{{\th|
|00000790| 65 74 61 5f 7b 32 7d 2b | 78 7d 7d 7d 24 22 3e 0a |eta_{2}+|x}}}$">.|
|000007a0| 3c 2f 44 49 56 3e 3c 50 | 3e 3c 2f 50 3e 0a 74 6f |</DIV><P|></P>.to|
|000007b0| 20 74 68 69 73 20 64 61 | 74 61 2e 20 54 68 65 20 | this da|ta. The |
|000007c0| 66 75 6e 63 74 69 6f 6e | 20 3c 54 54 3e 20 22 32 |function| <TT> "2|
|000007d0| 44 20 66 3c 2f 54 54 3e | 20 64 65 66 69 6e 65 64 |D f</TT>| defined|
|000007e0| 20 62 79 20 0a 3c 50 52 | 45 3e 0a 28 64 65 66 75 | by .<PR|E>.(defu|
|000007f0| 6e 20 66 20 28 62 29 20 | 28 2f 20 28 2a 20 28 73 |n f (b) |(/ (* (s|
|00000800| 65 6c 65 63 74 20 62 20 | 30 29 20 78 29 20 28 2b |elect b |0) x) (+|
|00000810| 20 28 73 65 6c 65 63 74 | 20 62 20 31 29 20 78 29 | (select| b 1) x)|
|00000820| 29 29 0a 3c 2f 50 52 45 | 3e 0a 77 69 6c 6c 20 63 |)).</PRE|>.will c|
|00000830| 6f 6d 70 75 74 65 20 74 | 68 65 20 6c 69 73 74 20 |ompute t|he list |
|00000840| 6f 66 20 6d 65 61 6e 20 | 72 65 73 70 6f 6e 73 65 |of mean |response|
|00000850| 20 76 61 6c 75 65 73 20 | 61 74 20 74 68 65 20 70 | values |at the p|
|00000860| 6f 69 6e 74 73 20 69 6e | 0a 3c 54 54 3e 20 22 32 |oints in|.<TT> "2|
|00000870| 44 20 78 3c 2f 54 54 3e | 20 66 6f 72 20 61 20 70 |D x</TT>| for a p|
|00000880| 61 72 61 6d 65 74 65 72 | 20 6c 69 73 74 20 3c 54 |arameter| list <T|
|00000890| 54 3e 20 22 32 44 20 62 | 3c 2f 54 54 3e 2e 20 55 |T> "2D b|</TT>. U|
|000008a0| 73 69 6e 67 20 74 68 65 | 73 65 20 64 65 66 69 6e |sing the|se defin|
|000008b0| 69 74 69 6f 6e 73 2c 0a | 77 68 69 63 68 20 61 72 |itions,.|which ar|
|000008c0| 65 20 63 6f 6e 74 61 69 | 6e 65 64 20 69 6e 20 74 |e contai|ned in t|
|000008d0| 68 65 20 66 69 6c 65 20 | 3c 54 54 3e 20 22 32 44 |he file |<TT> "2D|
|000008e0| 20 6d 69 6b 65 6d 65 6e | 74 2e 6c 73 70 3c 2f 54 | mikemen|t.lsp</T|
|000008f0| 54 3e 20 69 6e 20 74 68 | 65 0a 3c 54 54 3e 20 22 |T> in th|e.<TT> "|
|00000900| 32 44 20 44 61 74 61 3c | 2f 54 54 3e 20 66 6f 6c |2D Data<|/TT> fol|
|00000910| 64 65 72 20 6f 66 20 74 | 68 65 20 64 69 73 74 72 |der of t|he distr|
|00000920| 69 62 75 74 69 6f 6e 20 | 64 69 73 6b 2c 20 77 65 |ibution |disk, we|
|00000930| 20 63 61 6e 20 63 6f 6e | 73 74 72 75 63 74 20 61 | can con|struct a|
|00000940| 0a 6e 6f 6e 6c 69 6e 65 | 61 72 20 72 65 67 72 65 |.nonline|ar regre|
|00000950| 73 73 69 6f 6e 20 6d 6f | 64 65 6c 20 75 73 69 6e |ssion mo|del usin|
|00000960| 67 20 74 68 65 20 3c 54 | 54 3e 20 22 32 44 20 6e |g the <T|T> "2D n|
|00000970| 72 65 67 2d 6d 6f 64 65 | 6c 3c 2f 54 54 3e 0a 3c |reg-mode|l</TT>.<|
|00000980| 41 20 49 44 3d 22 31 33 | 31 36 22 3e 3c 2f 41 3e |A ID="13|16"></A>|
|00000990| 20 66 75 6e 63 74 69 6f | 6e 3a 0a 3c 41 20 4e 41 | functio|n:.<A NA|
|000009a0| 4d 45 3d 22 74 65 78 32 | 68 74 6d 6c 31 33 33 22 |ME="tex2|html133"|
|000009b0| 20 48 52 45 46 3d 22 66 | 6f 6f 74 6e 6f 64 65 5f | HREF="f|ootnode_|
|000009c0| 6d 6e 2e 68 74 6d 6c 23 | 66 6f 6f 74 31 34 33 35 |mn.html#|foot1435|
|000009d0| 22 20 54 41 52 47 45 54 | 3d 22 66 6f 6f 74 65 72 |" TARGET|="footer|
|000009e0| 22 3e 3c 53 55 50 3e 32 | 33 3c 2f 53 55 50 3e 3c |"><SUP>2|3</SUP><|
|000009f0| 2f 41 3e 3c 50 52 45 3e | 0a 26 67 74 3b 20 28 64 |/A><PRE>|.&gt; (d|
|00000a00| 65 66 20 6d 69 6b 65 6d | 65 6e 74 20 28 6e 72 65 |ef mikem|ent (nre|
|00000a10| 67 2d 6d 6f 64 65 6c 20 | 23 27 66 20 79 20 28 6c |g-model |#'f y (l|
|00000a20| 69 73 74 20 31 20 31 29 | 29 29 0a 0a 4c 65 61 73 |ist 1 1)|))..Leas|
|00000a30| 74 20 53 71 75 61 72 65 | 73 20 45 73 74 69 6d 61 |t Square|s Estima|
|00000a40| 74 65 73 3a 0a 0a 50 61 | 72 61 6d 65 74 65 72 20 |tes:..Pa|rameter |
|00000a50| 20 30 3a 20 20 20 20 20 | 20 20 20 20 20 20 30 2e | 0: | 0.|
|00000a60| 31 30 35 36 34 32 37 20 | 20 20 28 30 2e 30 31 37 |1056427 | (0.017|
|00000a70| 36 30 30 30 35 29 0a 50 | 61 72 61 6d 65 74 65 72 |60005).P|arameter|
|00000a80| 20 20 31 3a 20 20 20 20 | 20 20 20 20 20 20 20 20 | 1: | |
|00000a90| 20 31 2e 37 30 32 36 39 | 20 20 20 28 30 2e 34 37 | 1.70269| (0.47|
|00000aa0| 35 37 37 36 36 29 0a 0a | 52 20 53 71 75 61 72 65 |57766)..|R Square|
|00000ab0| 64 3a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |d: | |
|00000ac0| 30 2e 39 33 37 39 30 36 | 35 0a 53 69 67 6d 61 20 |0.937906|5.Sigma |
|00000ad0| 68 61 74 3a 20 20 20 20 | 20 20 20 20 20 20 20 20 |hat: | |
|00000ae0| 20 30 2e 30 30 34 34 38 | 33 39 33 35 0a 4e 75 6d | 0.00448|3935.Num|
|00000af0| 62 65 72 20 6f 66 20 63 | 61 73 65 73 3a 20 20 20 |ber of c|ases: |
|00000b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 31 32 0a 44 | | 12.D|
|00000b10| 65 67 72 65 65 73 20 6f | 66 20 66 72 65 65 64 6f |egrees o|f freedo|
|00000b20| 6d 3a 20 20 20 20 20 20 | 20 20 20 20 20 20 31 30 |m: | 10|
|00000b30| 0a 0a 4d 49 4b 45 4d 45 | 4e 54 0a 26 67 74 3b 0a |..MIKEME|NT.&gt;.|
|00000b40| 3c 2f 50 52 45 3e 0a 0a | 3c 50 3e 0a 54 68 65 20 |</PRE>..|<P>.The |
|00000b50| 66 75 6e 63 74 69 6f 6e | 20 3c 54 54 3e 20 22 32 |function| <TT> "2|
|00000b60| 44 20 6e 72 65 67 2d 6d | 6f 64 65 6c 3c 2f 54 54 |D nreg-m|odel</TT|
|00000b70| 3e 20 72 65 71 75 69 72 | 65 73 20 74 68 72 65 65 |> requir|es three|
|00000b80| 20 61 72 67 75 6d 65 6e | 74 73 2c 20 61 20 6d 65 | argumen|ts, a me|
|00000b90| 61 6e 20 66 75 6e 63 74 | 69 6f 6e 2c 0a 61 20 6c |an funct|ion,.a l|
|00000ba0| 69 73 74 20 6f 72 20 76 | 65 63 74 6f 72 20 6f 66 |ist or v|ector of|
|00000bb0| 20 6f 62 73 65 72 76 65 | 64 20 72 65 73 70 6f 6e | observe|d respon|
|00000bc0| 73 65 20 76 61 6c 75 65 | 73 2c 20 61 6e 64 20 61 |se value|s, and a|
|00000bd0| 6e 20 69 6e 69 74 69 61 | 6c 20 67 75 65 73 73 20 |n initia|l guess |
|00000be0| 66 6f 72 0a 74 68 65 20 | 70 61 72 61 6d 65 74 65 |for.the |paramete|
|00000bf0| 72 20 76 65 63 74 6f 72 | 2e 20 49 6e 20 61 64 64 |r vector|. In add|
|00000c00| 69 74 69 6f 6e 20 69 74 | 20 63 61 6e 20 74 61 6b |ition it| can tak|
|00000c10| 65 20 74 77 6f 20 6b 65 | 79 77 6f 72 64 20 61 72 |e two ke|yword ar|
|00000c20| 67 75 6d 65 6e 74 73 2c | 0a 3c 54 54 3e 20 22 32 |guments,|.<TT> "2|
|00000c30| 44 20 3a 65 70 73 69 6c | 6f 6e 3c 2f 54 54 3e 20 |D :epsil|on</TT> |
|00000c40| 74 6f 20 73 70 65 63 69 | 66 79 20 61 20 63 6f 6e |to speci|fy a con|
|00000c50| 76 65 72 67 65 6e 63 65 | 20 63 72 69 74 65 72 69 |vergence| criteri|
|00000c60| 6f 6e 20 61 6e 64 0a 3c | 54 54 3e 20 22 32 44 20 |on and.<|TT> "2D |
|00000c70| 3a 63 6f 75 6e 74 2d 6c | 69 6d 69 74 3c 2f 54 54 |:count-l|imit</TT|
|00000c80| 3e 2c 20 61 20 6c 69 6d | 69 74 20 6f 6e 20 74 68 |>, a lim|it on th|
|00000c90| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 69 74 65 72 |e number| of iter|
|00000ca0| 61 74 69 6f 6e 73 2e 20 | 42 79 20 64 65 66 61 75 |ations. |By defau|
|00000cb0| 6c 74 20 74 68 65 73 65 | 0a 76 61 6c 75 65 73 20 |lt these|.values |
|00000cc0| 61 72 65 20 2e 30 30 31 | 20 61 6e 64 20 32 30 2c |are .001| and 20,|
|00000cd0| 20 72 65 73 70 65 63 74 | 69 76 65 6c 79 2e 20 41 | respect|ively. A|
|00000ce0| 20 73 69 6d 70 6c 65 2c | 20 75 6e 6d 6f 64 69 66 | simple,| unmodif|
|00000cf0| 69 65 64 20 47 61 75 73 | 73 2d 4e 65 77 74 6f 6e |ied Gaus|s-Newton|
|00000d00| 0a 61 6c 67 6f 72 69 74 | 68 6d 20 3c 41 20 49 44 |.algorit|hm <A ID|
|00000d10| 3d 22 31 33 32 34 22 3e | 3c 2f 41 3e 20 62 61 73 |="1324">|</A> bas|
|00000d20| 65 64 20 6f 6e 20 6e 75 | 6d 65 72 69 63 61 6c 20 |ed on nu|merical |
|00000d30| 64 65 72 69 76 61 74 69 | 76 65 73 20 69 73 0a 75 |derivati|ves is.u|
|00000d40| 73 65 64 20 66 6f 72 20 | 66 69 74 74 69 6e 67 20 |sed for |fitting |
|00000d50| 74 68 65 20 6d 6f 64 65 | 6c 2e 0a 0a 3c 50 3e 0a |the mode|l...<P>.|
|00000d60| 54 6f 20 73 65 65 20 68 | 6f 77 20 79 6f 75 20 63 |To see h|ow you c|
|00000d70| 61 6e 20 61 6e 61 6c 79 | 7a 65 20 74 68 65 20 6d |an analy|ze the m|
|00000d80| 6f 64 65 6c 20 66 75 72 | 74 68 65 72 20 79 6f 75 |odel fur|ther you|
|00000d90| 20 63 61 6e 20 73 65 6e | 64 20 6d 69 6b 65 6d 65 | can sen|d mikeme|
|00000da0| 6e 74 20 74 68 65 0a 3c | 54 54 3e 20 22 32 44 20 |nt the.<|TT> "2D |
|00000db0| 3a 68 65 6c 70 3c 2f 54 | 54 3e 20 6d 65 73 73 61 |:help</T|T> messa|
|00000dc0| 67 65 2e 20 54 68 65 20 | 72 65 73 75 6c 74 20 69 |ge. The |result i|
|00000dd0| 73 20 76 65 72 79 20 73 | 69 6d 69 6c 61 72 20 74 |s very s|imilar t|
|00000de0| 6f 20 74 68 65 20 68 65 | 6c 70 20 69 6e 66 6f 72 |o the he|lp infor|
|00000df0| 6d 61 74 69 6f 6e 0a 66 | 6f 72 20 61 20 6c 69 6e |mation.f|or a lin|
|00000e00| 65 61 72 20 72 65 67 72 | 65 73 73 69 6f 6e 20 6d |ear regr|ession m|
|00000e10| 6f 64 65 6c 2e 20 54 68 | 65 20 72 65 61 73 6f 6e |odel. Th|e reason|
|00000e20| 20 66 6f 72 20 74 68 69 | 73 20 69 73 20 73 69 6d | for thi|s is sim|
|00000e30| 70 6c 65 2e 20 20 4e 6f | 6e 6c 69 6e 65 61 72 0a |ple. No|nlinear.|
|00000e40| 72 65 67 72 65 73 73 69 | 6f 6e 20 6d 6f 64 65 6c |regressi|on model|
|00000e50| 73 20 68 61 76 65 20 62 | 65 65 6e 20 69 6d 70 6c |s have b|een impl|
|00000e60| 65 6d 65 6e 74 65 64 20 | 61 73 20 6d 6f 64 65 6c |emented |as model|
|00000e70| 20 6f 62 6a 65 63 74 73 | 2e 20 54 68 65 20 69 6e | objects|. The in|
|00000e80| 68 65 72 69 74 61 6e 63 | 65 0a 6d 65 63 68 61 6e |heritanc|e.mechan|
|00000e90| 69 73 6d 20 69 6e 20 58 | 4c 49 53 50 2d 53 54 41 |ism in X|LISP-STA|
|00000ea0| 54 20 61 6c 6c 6f 77 73 | 20 6e 65 77 20 6f 62 6a |T allows| new obj|
|00000eb0| 65 63 74 73 20 74 6f 20 | 62 65 20 64 65 66 69 6e |ects to |be defin|
|00000ec0| 65 64 20 61 73 20 76 61 | 72 69 61 74 69 6f 6e 73 |ed as va|riations|
|00000ed0| 20 6f 6e 0a 6f 6c 64 20 | 6f 62 6a 65 63 74 73 2e | on.old |objects.|
|00000ee0| 20 54 68 65 20 6e 65 77 | 20 6f 62 6a 65 63 74 20 | The new| object |
|00000ef0| 69 6e 68 65 72 69 74 73 | 20 3c 41 20 49 44 3d 22 |inherits| <A ID="|
|00000f00| 31 33 32 36 22 3e 3c 2f | 41 3e 20 61 6c 6c 20 74 |1326"></|A> all t|
|00000f10| 68 65 0a 6d 65 74 68 6f | 64 73 20 64 65 66 69 6e |he.metho|ds defin|
|00000f20| 65 64 20 66 6f 72 20 74 | 68 65 20 6f 6c 64 20 6f |ed for t|he old o|
|00000f30| 62 6a 65 63 74 2e 20 49 | 66 20 73 6f 6d 65 20 6f |bject. I|f some o|
|00000f40| 66 20 74 68 65 73 65 20 | 6d 65 74 68 6f 64 73 20 |f these |methods |
|00000f50| 64 6f 6e 27 74 20 61 70 | 70 6c 79 0a 64 69 72 65 |don't ap|ply.dire|
|00000f60| 63 74 6c 79 20 74 6f 20 | 74 68 65 20 6e 65 77 20 |ctly to |the new |
|00000f70| 6f 62 6a 65 63 74 20 74 | 68 65 79 20 63 61 6e 20 |object t|hey can |
|00000f80| 62 65 20 72 65 64 65 66 | 69 6e 65 64 2c 20 61 6e |be redef|ined, an|
|00000f90| 64 20 6e 65 77 20 6d 65 | 74 68 6f 64 73 20 74 68 |d new me|thods th|
|00000fa0| 61 74 20 6f 6e 6c 79 0a | 6d 61 6b 65 20 73 65 6e |at only.|make sen|
|00000fb0| 73 65 20 66 6f 72 20 74 | 68 65 20 6e 65 77 20 6f |se for t|he new o|
|00000fc0| 62 6a 65 63 74 20 63 61 | 6e 20 62 65 20 61 64 64 |bject ca|n be add|
|00000fd0| 65 64 2e 20 49 20 68 61 | 76 65 20 64 65 66 69 6e |ed. I ha|ve defin|
|00000fe0| 65 64 0a 3c 54 54 3e 20 | 22 32 44 20 6e 72 65 67 |ed.<TT> |"2D nreg|
|00000ff0| 2d 6d 6f 64 65 6c 2d 70 | 72 6f 74 6f 3c 2f 54 54 |-model-p|roto</TT|
|00001000| 3e 2c 20 74 68 65 20 70 | 72 6f 74 6f 74 79 70 65 |>, the p|rototype|
|00001010| 20 66 6f 72 20 6e 6f 6e | 6c 69 6e 65 61 72 20 72 | for non|linear r|
|00001020| 65 67 72 65 73 73 69 6f | 6e 20 6d 6f 64 65 6c 73 |egressio|n models|
|00001030| 2c 20 61 73 0a 61 6e 20 | 6f 62 6a 65 63 74 20 69 |, as.an |object i|
|00001040| 6e 68 65 72 69 74 69 6e | 67 20 66 72 6f 6d 20 6f |nheritin|g from o|
|00001050| 66 20 74 68 65 20 6c 69 | 6e 65 61 72 20 72 65 67 |f the li|near reg|
|00001060| 72 65 73 73 69 6f 6e 20 | 6d 6f 64 65 6c 20 70 72 |ression |model pr|
|00001070| 6f 74 6f 74 79 70 65 2e | 20 54 68 65 0a 69 6e 74 |ototype.| The.int|
|00001080| 65 72 6e 61 6c 20 64 61 | 74 61 2c 20 74 68 65 20 |ernal da|ta, the |
|00001090| 6d 65 74 68 6f 64 20 66 | 6f 72 20 63 6f 6d 70 75 |method f|or compu|
|000010a0| 74 69 6e 67 20 65 73 74 | 69 6d 61 74 65 73 20 61 |ting est|imates a|
|000010b0| 6e 64 20 74 68 65 20 6d | 65 74 68 6f 64 20 6f 66 |nd the m|ethod of|
|000010c0| 0a 63 6f 6d 70 75 74 69 | 6e 67 20 66 69 74 74 65 |.computi|ng fitte|
|000010d0| 64 20 76 61 6c 75 65 73 | 20 68 61 76 65 20 62 65 |d values| have be|
|000010e0| 65 6e 20 6d 6f 64 69 66 | 69 65 64 2c 20 62 75 74 |en modif|ied, but|
|000010f0| 20 74 68 65 20 6f 74 68 | 65 72 20 6d 65 74 68 6f | the oth|er metho|
|00001100| 64 73 20 72 65 6d 61 69 | 6e 0a 75 6e 63 68 61 6e |ds remai|n.unchan|
|00001110| 67 65 64 2e 20 4f 6e 63 | 65 20 74 68 65 20 6d 6f |ged. Onc|e the mo|
|00001120| 64 65 6c 20 68 61 73 20 | 62 65 65 6e 20 66 69 74 |del has |been fit|
|00001130| 20 74 68 65 20 4a 61 63 | 6f 62 69 61 6e 20 6f 66 | the Jac|obian of|
|00001140| 20 74 68 65 20 6d 65 61 | 6e 20 66 75 6e 63 74 69 | the mea|n functi|
|00001150| 6f 6e 20 61 74 0a 74 68 | 65 20 65 73 74 69 6d 61 |on at.th|e estima|
|00001160| 74 65 64 20 70 61 72 61 | 6d 65 74 65 72 20 76 61 |ted para|meter va|
|00001170| 6c 75 65 73 20 69 73 20 | 75 73 65 64 20 61 73 20 |lues is |used as |
|00001180| 74 68 65 20 3c 49 3e 58 | 3c 2f 49 3e 20 6d 61 74 |the <I>X|</I> mat|
|00001190| 72 69 78 2e 20 49 6e 20 | 74 65 72 6d 73 20 6f 66 |rix. In |terms of|
|000011a0| 20 74 68 69 73 0a 64 65 | 66 69 6e 69 74 69 6f 6e | this.de|finition|
|000011b0| 20 6d 6f 73 74 20 6f 66 | 20 74 68 65 20 6d 65 74 | most of| the met|
|000011c0| 68 6f 64 73 20 66 6f 72 | 20 6c 69 6e 65 61 72 20 |hods for| linear |
|000011d0| 72 65 67 72 65 73 73 69 | 6f 6e 2c 20 74 68 65 20 |regressi|on, the |
|000011e0| 6d 65 74 68 6f 64 73 0a | 3c 54 54 3e 20 22 32 44 |methods.|<TT> "2D|
|000011f0| 20 3a 63 6f 65 66 2d 73 | 74 61 6e 64 61 72 64 2d | :coef-s|tandard-|
|00001200| 65 72 72 6f 72 73 3c 2f | 54 54 3e 20 61 6e 64 20 |errors</|TT> and |
|00001210| 3c 54 54 3e 20 22 32 44 | 20 3a 6c 65 76 65 72 61 |<TT> "2D| :levera|
|00001220| 67 65 73 3c 2f 54 54 3e | 20 66 6f 72 20 65 78 61 |ges</TT>| for exa|
|00001230| 6d 70 6c 65 2c 20 73 74 | 69 6c 6c 0a 6d 61 6b 65 |mple, st|ill.make|
|00001240| 20 73 65 6e 73 65 2c 20 | 61 74 20 6c 65 61 73 74 | sense, |at least|
|00001250| 20 61 73 20 66 69 72 73 | 74 20 6f 72 64 65 72 20 | as firs|t order |
|00001260| 61 73 79 6d 70 74 6f 74 | 69 63 20 61 70 70 72 6f |asymptot|ic appro|
|00001270| 78 69 6d 61 74 69 6f 6e | 73 2e 0a 0a 3c 50 3e 0a |ximation|s...<P>.|
|00001280| 0a 0a 3c 48 52 3e 0a 0a | 3c 2f 42 4f 44 59 3e 0a |..<HR>..|</BODY>.|
|00001290| 3c 2f 48 54 4d 4c 3e 0a | |</HTML>.| |
+--------+-------------------------+-------------------------+--------+--------+