| Libgretl Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
typedef gretl_restriction; gretl_restriction * restriction_set_start (const char *line, gretlopt opt, int *err); gretl_restriction * cross_restriction_set_start (const char *line, equation_system *sys); gretl_restriction * var_restriction_set_start (const char *line, GRETL_VAR *var); gretl_restriction * eqn_restriction_set_start (const char *line, MODEL *pmod, const DATAINFO *pdinfo, gretlopt opt); int restriction_set_parse_line (gretl_restriction *rset, const char *line, const DATAINFO *pdinfo); int gretl_restriction_finalize (gretl_restriction *rset, const double **Z, const DATAINFO *pdinfo, gretlopt opt, PRN *prn); GRETL_VAR * gretl_restricted_vecm (gretl_restriction *rset, const double **Z, const DATAINFO *pdinfo, gretlopt opt, PRN *prn, int *err); void print_restriction_from_matrices (const gretl_matrix *R, const gretl_matrix *q, char letter, int npar, PRN *prn); void destroy_restriction_set (gretl_restriction *rset); int gretl_sum_test (const int *list, MODEL *pmod, DATAINFO *pdinfo, PRN *prn); const gretl_matrix * rset_get_R_matrix (const gretl_restriction *rset); const gretl_matrix * rset_get_q_matrix (const gretl_restriction *rset); const gretl_matrix * rset_get_Ra_matrix (const gretl_restriction *rset); const gretl_matrix * rset_get_qa_matrix (const gretl_restriction *rset); int gretl_restriction_set_boot_params (int B, gretlopt opt); void gretl_restriction_get_boot_params (int *pB, gretlopt *popt); gretlopt gretl_restriction_get_options (const gretl_restriction *rset); int rset_VECM_bcols (const gretl_restriction *rset); int rset_VECM_acols (const gretl_restriction *rset); void rset_add_results (gretl_restriction *rset, double test, double pval, double lnl); void rset_record_LR_result (gretl_restriction *rset);
gretl_restriction * restriction_set_start (const char *line, gretlopt opt, int *err);
line : |
|
opt : |
|
err : |
|
| Returns : |
gretl_restriction * cross_restriction_set_start (const char *line, equation_system *sys);
line : |
|
sys : |
|
| Returns : |
gretl_restriction * var_restriction_set_start (const char *line, GRETL_VAR *var);
line : |
|
var : |
|
| Returns : |
gretl_restriction * eqn_restriction_set_start (const char *line, MODEL *pmod, const DATAINFO *pdinfo, gretlopt opt);
line : |
|
pmod : |
|
pdinfo : |
|
opt : |
|
| Returns : |
int restriction_set_parse_line (gretl_restriction *rset, const char *line, const DATAINFO *pdinfo);
rset : |
|
line : |
|
pdinfo : |
|
| Returns : |
int gretl_restriction_finalize (gretl_restriction *rset, const double **Z, const DATAINFO *pdinfo, gretlopt opt, PRN *prn);
rset : |
|
Z : |
|
pdinfo : |
|
opt : |
|
prn : |
|
| Returns : |
GRETL_VAR * gretl_restricted_vecm (gretl_restriction *rset, const double **Z, const DATAINFO *pdinfo, gretlopt opt, PRN *prn, int *err);
rset : |
|
Z : |
|
pdinfo : |
|
opt : |
|
prn : |
|
err : |
|
| Returns : |
void print_restriction_from_matrices (const gretl_matrix *R, const gretl_matrix *q, char letter, int npar, PRN *prn);
R : |
|
q : |
|
letter : |
|
npar : |
|
prn : |
int gretl_sum_test (const int *list,
MODEL *pmod,
DATAINFO *pdinfo,
PRN *prn);
Calculates the sum of the coefficients, relative to the given model,
for the variables given in list. Prints this estimate along
with its standard error.
list : |
list of variables to use. |
pmod : |
pointer to model. |
pdinfo : |
information on the data set. |
prn : |
gretl printing struct. |
| Returns : | 0 on successful completion, error code on error. |
const gretl_matrix * rset_get_R_matrix (const gretl_restriction *rset);
rset : |
|
| Returns : |
const gretl_matrix * rset_get_q_matrix (const gretl_restriction *rset);
rset : |
|
| Returns : |
const gretl_matrix * rset_get_Ra_matrix (const gretl_restriction *rset);
rset : |
|
| Returns : |
const gretl_matrix * rset_get_qa_matrix (const gretl_restriction *rset);
rset : |
|
| Returns : |
int gretl_restriction_set_boot_params (int B,
gretlopt opt);
B : |
|
opt : |
|
| Returns : |
void gretl_restriction_get_boot_params (int *pB,
gretlopt *popt);
pB : |
|
popt : |
gretlopt gretl_restriction_get_options (const gretl_restriction *rset);
rset : |
|
| Returns : |
void rset_add_results (gretl_restriction *rset, double test, double pval, double lnl);
rset : |
|
test : |
|
pval : |
|
lnl : |