nag_full_step_regsn_monit (g02ewc) (PDF version)
g02 Chapter Contents
g02 Chapter Introduction
NAG Library Manual

NAG Library Function Document

nag_full_step_regsn_monit (g02ewc)

+ Contents

    1  Purpose
    7  Accuracy
    10  Example

1  Purpose

An example monitor function for nag_full_step_regsn (g02efc).

2  Specification

#include <nag.h>
#include <nagg02.h>
void  nag_full_step_regsn_monit (Nag_FullStepwise flag, Integer var, double val, Nag_Comm *comm)

3  Description

Prints the progress of full stepwise selection of variables in a multiple regression to stdout.

4  References

None.

5  Arguments

1:     flagNag_FullStepwiseInput
On entry: the value of flag indicates the stage of the stepwise selection of explanatory variables.
flag=Nag_AddVar
Variable var was added to the current model.
flag=Nag_BeginBackward
Beginning the backward elimination step.
flag=Nag_ColinearVar
Variable var failed the collinearity test and is excluded from the model.
flag=Nag_DropVar
Variable var was dropped from the current model.
flag=Nag_BeginForward
Beginning the forward selection step
flag=Nag_NoRemoveVar
Backward elimination did not remove any variables from the current model.
flag=Nag_BeginStepwise
Starting stepwise selection procedure.
flag=Nag_VarianceRatio
The variance ratio for variable var takes the value val.
flag=Nag_FinishStepwise
Finished stepwise selection procedure.
Constraint: flag=Nag_AddVar, Nag_BeginBackward, Nag_ColinearVar, Nag_DropVar, Nag_BeginForward, Nag_NoRemoveVar, Nag_BeginStepwise, Nag_VarianceRatio or Nag_FinishStepwise.
2:     varIntegerInput
On entry: the index of the explanatory variable in the design matrix Z to which flag pertains.
3:     valdoubleInput
On entry: if flag=Nag_VarianceRatio, val is the variance ratio value for the coefficient associated with explanatory variable index var.
4:     commNag_Comm *Communication Structure
The NAG communication argument (see Section 3.2.1.1 in the Essential Introduction).

6  Error Indicators and Warnings

None.

7  Accuracy

Not applicable.

8  Parallelism and Performance

Not applicable.

9  Further Comments

None.

10  Example

See Section 10 in nag_full_step_regsn (g02efc).

nag_full_step_regsn_monit (g02ewc) (PDF version)
g02 Chapter Contents
g02 Chapter Introduction
NAG Library Manual

© The Numerical Algorithms Group Ltd, Oxford, UK. 2014