| Top |
| DATASET * | fetch_full_dataset () |
| void | sync_dataset_shared_members () |
| void | free_subsample_mask () |
| char * | copy_subsample_mask () |
| char * | copy_dataset_submask () |
| int | write_dataset_submask () |
| int | write_model_submask () |
| int | get_dataset_submask_size () |
| int | get_model_submask_size () |
| int | subsample_check_model () |
| int | remove_model_subsample_info () |
| int | submask_cmp () |
| int | attach_subsample_to_model () |
| int | add_dataset_to_model () |
| int | restrict_sample () |
| int | restrict_sample_from_mask () |
| int | perma_sample () |
| int | recode_strvals () |
| int | complex_subsampled () |
| int | dataset_is_subsampled () |
| int | get_full_length_n () |
| void | set_dataset_resampled () |
| int | dataset_is_resampled () |
| int | set_sample () |
| int | set_panel_sample () |
| int | restore_full_sample () |
| int | backup_full_dataset () |
| int | count_missing_values () |
| void | maybe_free_full_dataset () |
| int | model_sample_problem () |
| int | fcast_not_feasible () |
| int | same_dataset () |
| void | print_sample_obs () |
| void | print_sample_status () |
| int | data_report () |
int restrict_sample (const char *param,const int *list,DATASET *dset,ExecState *state,gretlopt opt,PRN *prn,int *n_dropped);
int restrict_sample_from_mask (char *mask,DATASET *dset,gretlopt opt);
int set_sample (const char *start,const char *stop,DATASET *dset,gretlopt opt);
Sets the current sample range for dset
to that specified by
start
and stop
, if possible.
If opt
contains OPT_T, make the sub-sampling permanent,
or in other words shrink the dataset to the selected range.
int set_panel_sample (const char *start,const char *stop,gretlopt opt,DATASET *dset,ExecState *s,PRN *prn);
int count_missing_values (const DATASET *dset,gretlopt opt,PRN *prn,int *err);
Prints a count of missing values (if any) in the current
dataset over the currently defined sample range (or the
entire data range if OPT_A is given). If OPT_V is given
this includes a count of missing values at each observation;
otherwise it just includes global and per-variable counts.