Top |
int | panel_diagnostics () |
MODEL | real_panel_model () |
MODEL | panel_wls_by_unit () |
int | panel_autocorr_test () |
int | panel_xdepend_test () |
int | groupwise_hetero_test () |
int | panel_DW_pval_ok () |
double | BFN_panel_DW_pvalue () |
int | panel_tsls_robust_vcv () |
int | set_panel_structure_from_vars () |
int | set_panel_structure_from_varnames () |
int | set_panel_group_strings () |
int | switch_panel_orientation () |
int | balanced_panel () |
int | undo_panel_padding () |
int * | panel_list_omit () |
int * | panel_list_add () |
int | panel_variance_info () |
int | plausible_panel_time_var () |
int | panel_isconst () |
int | series_is_group_invariant () |
int | panel_padding_rows () |
int | time_series_from_panel () |
int | obs_index_from_aqm () |
int | usable_group_names_series_id () |
MODEL real_panel_model (const int *list
,DATASET *dset
,gretlopt opt
,PRN *prn
);
Estimates a panel model, by default the fixed effects model.
list |
list containing model specification. |
|
dset |
dataset struct. |
|
opt |
may include |
|
prn |
printing struct. |
MODEL panel_wls_by_unit (const int *list
,DATASET *dset
,gretlopt opt
,PRN *prn
);
Performs weighted least squares (possibly iterated) on a panel model, allowing for groupwise heteroskedasticity.
int panel_autocorr_test (MODEL *pmod
,DATASET *dset
,gretlopt opt
,PRN *prn
);
int groupwise_hetero_test (MODEL *pmod
,DATASET *dset
,gretlopt opt
,PRN *prn
);
Performs a Wald test for the null hypothesis that the error variance is uniform across the units.
pmod |
panel model to be tested. |
|
dset |
information on the (panel) data set. |
|
opt |
may contain OPT_S to attach the test result
to |
|
prn |
for printing details of iterations (or |
int set_panel_structure_from_vars (int uv
,int tv
,DATASET *dset
);
Sets the panel structure of dset
based on the information
in the series with indices uv
and tv
, if possible.
int set_panel_structure_from_varnames (const char *uname
,const char *tname
,DATASET *dset
);
int set_panel_group_strings (const char *vname
,const char *grpnames
,DATASET *dset
);
int
switch_panel_orientation (DATASET *dset
);
Reorganizes dset
, transforming from stacked cross sections to
stacked time series or vice versa. If the transformation is from
stacked time series to stacked cross section, the dataset will
no longer be acceptable as a panel for gretl's purposes; it
may be useful for export purposes, though.
int * panel_list_omit (const MODEL *orig
,const int *drop
,int *err
);
Creates a new panel regression list, by first reconstructing
the regression specification from orig
then deleting from
the reconstruction the variables found in drop
.
int * panel_list_add (const MODEL *orig
,const int *add
,int *err
);
Creates a new panel regression list, by first reconstructing
the regression specification from orig
then adding to
the reconstruction the variables found in add
.
int panel_variance_info (const double *x
,const DATASET *dset
,double xbar
,double *psw
,double *psb
);
int panel_isconst (int t1
,int t2
,int pd
,const double *x
,int bygroup
);
Check whether series x
is constant (either over time or
across groups) in a panel dataset. Missing values are
ignored.