There may be times that you wish to turn off the output printing of
quantileFit. This tutorial teaches how to do this using the
qFit.verbose member. After this tutorial you should understand:
- How to use the
qFit.verbosemember of the
The qCtl.verbose member
qCtl.verbose structure member can be used to control the output printing of
- Scalar, indicating whether to the print results, 0 = no printing, 1 = print results. Default = 1.
qCtl.verbose member is an indicator member. Indicator inputs are similar to TRUE/FALSE parameters, is set to 0 for one case and 1 for the other case.
qCtl.verbose member is set to 0 for the case of no output printing and 1 for the case where printing occurs.
Consider our earlier example :
$$ln(wage) = \alpha + \beta_1 * age + \beta_2 * age^2 + \beta_3 * tenure$$
To turn off the printing of the output table, we can change the default value of
qCtl.verbose from 1 to 0.
// Create string with full path to dataset dataset = getGAUSSHome() $+ "examples/regsmpl.dta"; // Declare and fill control structure struct qFitControl qCtl; // Fill 'qCtl' with default settings qCtl = qFitControlCreate(); // Turn off printing qCtl.verbose = 0; // Estimate the model with matrix inputs struct qFitOut qOut; qOut = quantileFit(dataset, "ln_wage ~ age + age:age + tenure", qCtl);
Congratulations! After this tutorial you should know how to use the
qFit.verbose member of the
qFitControl structure to turn off the printing of results from the
The next tutorial teaches how to compute standard errors and confidence intervals for quantile regressions.