Usage: |
gplmout(code,x,t,y,h,b,bv,m,stat{,opt})
|
Input: |
| code | text string, the short code for the model (e.g.
"bilo" for logit or "noid" for ordinary PLM).
|
| x | n x p matrix, the predictor variables.
|
| t | n x q matrix, the continuous predictor variables.
|
| y | n x 1 vector, the response variables.
|
| h | q x 1 vector, the bandwith.
|
| b | p x 1, estimated coefficients.
|
| bv | p x p matrix, estimated covariance matrix for coeff.
|
| m | n x 1 vector, estimated nonparametric part.
|
| stat | list, containing statistics produced by gplm
macros.
|
| opt | optional, a list with optional input. The macro
"gplmopt" can be used to set up this parameter.
The order of the list elements is not important.
Parameters which are not given are replaced by
defaults (see below).
|
| opt.wx | scalar or n x 1 vector, prior weights. If not given,
all weights are set to 1.
|
| opt.off | scalar or n x 1 vector, offset in linear predictor.
If not given, set to 0.
|
| opt.pow | scalar, power for power link. If not given, set
to 0 (logarithm).
|
| opt.nbk | scalar, extra parameter k for negative binomial
distribution. If not given, set to 1 (geometric
distribution).
|
| opt.nopic | integer, if exists and =1, the output display
is not produced.
|
| opt.name | string, name for the output. If not given, "gplmout"
is used.
|
| opt.xvars | p x 1 string vector, variable names for the output.
Note, that only up to 15 characters are used.
|
| opt.title | string, title for the output. If not given, a default
is set.
|
Output: |
| gplmOutput | or opt.name+"Output",
display, containing estimation result in the left
panel and a plot of the index x*b{+off} vs. y
(vs. y./wx for binomials) and a plot of the index
vs. the link function.
|
| gplmout | or opt.name+"out",
string vector, global, containing estimation result
in the left panel as text.
|