Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: stats
See also: linregbs linregfs2 linregstep

Quantlet: linregopt
Description: sets optional parameters for linregbs, linregfs2 and linregstep.

Usage: opt = linregopt (s1 {, s2{, s3, ... {,s10} }})
Input:
s1, s3, s5, s7, s9 strings containing keywords, e.g. "mode", "Fin", "Fout" (see Notes for further explanations)
s4, s2, s6, s8, s10 numerical values corresponding to the preceding keyword
Output:
opt list of optional parameters

Note:

Example:
;loads the libraries stats
library("stats")
; load the boston housing data
x = read("bostonh")
y = x[,14]
x = x[,1:13]
;choose name for independent variables
colname=string("X %2.0f",1:rows(x))
; generate some optional parameters
opt = linregopt("Fin", 4.0, "Fout", 3.9)
; set F values
{b,bse,bstan,bpval}=linregstep(x,y,colname,opt)

Result:
produces optional parameters and uses them in linregstep



Author: S. Klinke, K. Zanter, W. Haerdle, 19980331 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006