libset

libset —

Synopsis




enum        VcvType;
enum        HACKernel;
int         libset_init                     (void);
void        libset_cleanup                  (void);
int         libset_restore_state_zero       (DATAINFO *pdinfo);
int         push_program_state              (void);
int         pop_program_state               (void);
void        set_use_qr                      (int set);
int         get_use_qr                      (void);
void        set_use_cwd                     (int set);
int         get_use_cwd                     (void);
void        set_shell_ok                    (int set);
int         get_shell_ok                    (void);
void        set_xsect_hccme                 (const char *s);
void        set_tseries_hccme               (const char *s);
void        set_panel_hccme                 (const char *s);
void        set_garch_robust_vcv            (const char *s);
int         get_garch_vcv_version           (void);
int         get_garch_robust_vcv_version    (void);
int         get_force_hc                    (void);
int         get_hc_version                  (void);
int         get_hac_lag                     (int T);
int         get_hac_kernel                  (void);
void        set_hac_kernel                  (int k);
int         get_hac_prewhiten               (void);
void        set_hac_prewhiten               (int w);
int         get_panel_beck_katz             (void);
void        set_panel_beck_katz             (int b);
double      get_qs_bandwidth                (void);
void        set_qs_bandwidth                (double w);
int         data_based_hac_bandwidth        (void);
int         get_halt_on_error               (void);
double      get_hp_lambda                   (void);
int         set_hp_lambda                   (double d);
int         get_bkbp_k                      (const DATAINFO *pdinfo);
void        get_bkbp_periods                (const DATAINFO *pdinfo,
                                             int *l,
                                             int *u);
int         set_bkbp_k                      (int k);
int         set_bkbp_periods                (int bkl,
                                             int bku);
void        unset_bkbp_k                    (void);
void        unset_bkbp_periods              (void);
int         gretl_get_text_pause            (void);
double      get_bhhh_toler                  (void);
int         get_bhhh_maxiter                (void);
int         set_bhhh_toler                  (double tol);
int         set_bhhh_maxiter                (int n);
double      get_bfgs_toler                  (void);
int         get_bfgs_maxiter                (void);
int         set_bfgs_toler                  (double tol);
int         set_bfgs_maxiter                (int n);
const gretl_matrix* get_init_vals           (void);
int         get_VAR_horizon                 (void);
int         get_bootstrap_replications      (void);
double      get_nls_toler                   (void);
int         set_nls_toler                   (double tol);
void        set_loop_on                     (void);
void        set_loop_off                    (void);
int         gretl_looping                   (void);
void        gretl_set_batch_mode            (int b);
int         gretl_in_batch_mode             (void);
void        gretl_set_gui_mode              (int g);
int         gretl_in_gui_mode               (void);
void        set_gretl_echo                  (int e);
int         gretl_echo_on                   (void);
void        set_gretl_messages              (int e);
int         gretl_messages_on               (void);
int         set_long_digits                 (int n);
int         get_long_digits                 (void);
int         set_max_verbose                 (int n);
int         get_max_verbose                 (void);
void        shelldir_init                   (void);
char*       get_shelldir                    (void);
char        get_csv_delim                   (const DATAINFO *pdinfo);
int         execute_set_line                (const char *line,
                                             double **Z,
                                             DATAINFO *pdinfo,
                                             PRN *prn);

Description

Details

enum VcvType

typedef enum {
    VCV_UNSET,
    VCV_HESSIAN,
    VCV_IM,
    VCV_OP,
    VCV_QML,
    VCV_BW
} VcvType;


enum HACKernel

typedef enum {
    KERNEL_BARTLETT = 1,
    KERNEL_PARZEN,
    KERNEL_QS
} HACKernel;


libset_init ()

int         libset_init                     (void);

Returns :

libset_cleanup ()

void        libset_cleanup                  (void);


libset_restore_state_zero ()

int         libset_restore_state_zero       (DATAINFO *pdinfo);

pdinfo :
Returns :

push_program_state ()

int         push_program_state              (void);

Returns :

pop_program_state ()

int         pop_program_state               (void);

Returns :

set_use_qr ()

void        set_use_qr                      (int set);

set :

get_use_qr ()

int         get_use_qr                      (void);

Returns :

set_use_cwd ()

void        set_use_cwd                     (int set);

set :

get_use_cwd ()

int         get_use_cwd                     (void);

Returns :

set_shell_ok ()

void        set_shell_ok                    (int set);

set :

get_shell_ok ()

int         get_shell_ok                    (void);

Returns :

set_xsect_hccme ()

void        set_xsect_hccme                 (const char *s);

s :

set_tseries_hccme ()

void        set_tseries_hccme               (const char *s);

s :

set_panel_hccme ()

void        set_panel_hccme                 (const char *s);

s :

set_garch_robust_vcv ()

void        set_garch_robust_vcv            (const char *s);

s :

get_garch_vcv_version ()

int         get_garch_vcv_version           (void);

Returns :

get_garch_robust_vcv_version ()

int         get_garch_robust_vcv_version    (void);

Returns :

get_force_hc ()

int         get_force_hc                    (void);

Returns :

get_hc_version ()

int         get_hc_version                  (void);

Returns :

get_hac_lag ()

int         get_hac_lag                     (int T);

T :
Returns :

get_hac_kernel ()

int         get_hac_kernel                  (void);

Returns :

set_hac_kernel ()

void        set_hac_kernel                  (int k);

k :

get_hac_prewhiten ()

int         get_hac_prewhiten               (void);

Returns :

set_hac_prewhiten ()

void        set_hac_prewhiten               (int w);

w :

get_panel_beck_katz ()

int         get_panel_beck_katz             (void);

Returns :

set_panel_beck_katz ()

void        set_panel_beck_katz             (int b);

b :

get_qs_bandwidth ()

double      get_qs_bandwidth                (void);

Returns :

set_qs_bandwidth ()

void        set_qs_bandwidth                (double w);

w :

data_based_hac_bandwidth ()

int         data_based_hac_bandwidth        (void);

Returns :

get_halt_on_error ()

int         get_halt_on_error               (void);

Returns :

get_hp_lambda ()

double      get_hp_lambda                   (void);

Returns :

set_hp_lambda ()

int         set_hp_lambda                   (double d);

d :
Returns :

get_bkbp_k ()

int         get_bkbp_k                      (const DATAINFO *pdinfo);

pdinfo :
Returns :

get_bkbp_periods ()

void        get_bkbp_periods                (const DATAINFO *pdinfo,
                                             int *l,
                                             int *u);

pdinfo :
l :
u :

set_bkbp_k ()

int         set_bkbp_k                      (int k);

k :
Returns :

set_bkbp_periods ()

int         set_bkbp_periods                (int bkl,
                                             int bku);

bkl :
bku :
Returns :

unset_bkbp_k ()

void        unset_bkbp_k                    (void);


unset_bkbp_periods ()

void        unset_bkbp_periods              (void);


gretl_get_text_pause ()

int         gretl_get_text_pause            (void);

Returns :

get_bhhh_toler ()

double      get_bhhh_toler                  (void);

Returns :

get_bhhh_maxiter ()

int         get_bhhh_maxiter                (void);

Returns :

set_bhhh_toler ()

int         set_bhhh_toler                  (double tol);

tol :
Returns :

set_bhhh_maxiter ()

int         set_bhhh_maxiter                (int n);

n :
Returns :

get_bfgs_toler ()

double      get_bfgs_toler                  (void);

Returns :

get_bfgs_maxiter ()

int         get_bfgs_maxiter                (void);

Returns :

set_bfgs_toler ()

int         set_bfgs_toler                  (double tol);

tol :
Returns :

set_bfgs_maxiter ()

int         set_bfgs_maxiter                (int n);

n :
Returns :

get_init_vals ()

const gretl_matrix* get_init_vals           (void);

Returns :

get_VAR_horizon ()

int         get_VAR_horizon                 (void);

Returns :

get_bootstrap_replications ()

int         get_bootstrap_replications      (void);

Returns :

get_nls_toler ()

double      get_nls_toler                   (void);

Returns :

set_nls_toler ()

int         set_nls_toler                   (double tol);

tol :
Returns :

set_loop_on ()

void        set_loop_on                     (void);


set_loop_off ()

void        set_loop_off                    (void);


gretl_looping ()

int         gretl_looping                   (void);

Returns :

gretl_set_batch_mode ()

void        gretl_set_batch_mode            (int b);

b :

gretl_in_batch_mode ()

int         gretl_in_batch_mode             (void);

Returns :

gretl_set_gui_mode ()

void        gretl_set_gui_mode              (int g);

g :

gretl_in_gui_mode ()

int         gretl_in_gui_mode               (void);

Returns :

set_gretl_echo ()

void        set_gretl_echo                  (int e);

e :

gretl_echo_on ()

int         gretl_echo_on                   (void);

Returns :

set_gretl_messages ()

void        set_gretl_messages              (int e);

e :

gretl_messages_on ()

int         gretl_messages_on               (void);

Returns :

set_long_digits ()

int         set_long_digits                 (int n);

n :
Returns :

get_long_digits ()

int         get_long_digits                 (void);

Returns :

set_max_verbose ()

int         set_max_verbose                 (int n);

n :
Returns :

get_max_verbose ()

int         get_max_verbose                 (void);

Returns :

shelldir_init ()

void        shelldir_init                   (void);


get_shelldir ()

char*       get_shelldir                    (void);

Returns :

get_csv_delim ()

char        get_csv_delim                   (const DATAINFO *pdinfo);

pdinfo :
Returns :

execute_set_line ()

int         execute_set_line                (const char *line,
                                             double **Z,
                                             DATAINFO *pdinfo,
                                             PRN *prn);

line :
Z :
pdinfo :
prn :
Returns :