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 string
s4, s2, s6, s8, s10 numerical values
Output:
opt list of optional parameters

Note:

Example:

loads the libraries stats and glm

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 an optional parameters and uses them in linregstep 


Library: stats
See also: linregbs linregfs2 linregstep

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

Author: Sigbert Klinke, 980211; Kerstin Zanter 980331
(C) MD*TECH Method and Data Technologies, 21.9.2000