| Libgretl Reference Manual |
|---|
modelprintmodelprint — |
typedef model_coeff; struct model_coeff_; int printmodel (MODEL *pmod, const DATAINFO *pdinfo, gretlopt opt, PRN *prn); const char* estimator_string (const MODEL *pmod, PRN *prn); void print_model_vcv_info (const MODEL *pmod, PRN *prn); int ols_print_anova (const MODEL *pmod, PRN *prn); void print_coeff_heading (int mode, PRN *prn); void model_coeff_init (model_coeff *mc); void print_coeff (const model_coeff *mc, PRN *prn); void print_arch_coeffs (const double *a, const double *se, int T, int order, PRN *prn, int aux);
struct model_coeff_ {
double b;
double se;
double tval;
double pval;
double slope;
int show_pval;
int df_pval;
char name[32];
};
int printmodel (MODEL *pmod, const DATAINFO *pdinfo, gretlopt opt, PRN *prn);
Print to prn the estimates in pmod plus associated statistics.
pmod : |
pointer to gretl model. |
pdinfo : |
data information struct. |
opt : |
may contain OPT_O to print covariance matrix, OPT_S
to get a "simple" print (just coefficients and standard
errors).
|
prn : |
gretl printing struct. |
| Returns : | 0 on success, 1 if some of the values to print were NaN.
|
const char* estimator_string (const MODEL *pmod, PRN *prn);
pmod : |
|
prn : |
|
| Returns : |
void print_arch_coeffs (const double *a,
const double *se,
int T,
int order,
PRN *prn,
int aux);
a : |
|
se : |
|
T : |
|
order : |
|
prn : |
|
aux : |
| << printout | texprint >> |