modelprint

modelprint —

Synopsis




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);

Description

Details

model_coeff

typedef struct model_coeff_ model_coeff;


struct model_coeff_

struct model_coeff_ {
    double b;
    double se;
    double tval;
    double pval;
    double slope;
    int show_pval;
    int df_pval;
    char name[32];
};


printmodel ()

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.

estimator_string ()

const char* estimator_string                (const MODEL *pmod,
                                             PRN *prn);

pmod :
prn :
Returns :

print_model_vcv_info ()

void        print_model_vcv_info            (const MODEL *pmod,
                                             PRN *prn);

pmod :
prn :

ols_print_anova ()

int         ols_print_anova                 (const MODEL *pmod,
                                             PRN *prn);

pmod :
prn :
Returns :

print_coeff_heading ()

void        print_coeff_heading             (int mode,
                                             PRN *prn);

mode :
prn :

model_coeff_init ()

void        model_coeff_init                (model_coeff *mc);

mc :

print_coeff ()

void        print_coeff                     (const model_coeff *mc,
                                             PRN *prn);

mc :
prn :

print_arch_coeffs ()

void        print_arch_coeffs               (const double *a,
                                             const double *se,
                                             int T,
                                             int order,
                                             PRN *prn,
                                             int aux);

a :
se :
T :
order :
prn :
aux :