| | Append(const mNew, const asNew, ...) |
| | Appends variable(s) to the database. |
| | Create( ...) |
| | Creates the database by setting the sample (the database must be empty to start). |
| | Database() |
| | Constructor, creates an empty database by calling `Database::Empty` and sets selection mode to SAM_ALLVALID. |
| | DeSelect() |
| | Remove the current variable and sample selection. |
| | DeSelectByIndex(const iSel) |
| | Removes variable(s) from the selection. |
| | DeSelectByName(const sVar, const iGroup, const iLag) |
| | Removes variable(s) from the selection. |
| | Deterministic(const fCseason) |
| | Appends constant, trend and seasonals to the database. |
| | Empty() |
| | Empties the database. |
| | FindSelection(const sVar, const iLag) |
| | Returns the selection index of the specified variable with the specified lag, or -1 if it is not selected. |
| | ForceSelSample(const iYear1, const iPeriod1, const iYear2, const iPeriod2) |
| | Force a selection sample (fixed frequency database). |
| | ForceSelSampleByIndex(const iT1, const iT2) |
| | Forces a selection sample by observation indices. |
| | GetAll() |
| | Gets the data matrix m_mData. |
| | GetAllNames() |
| | Gets the variable names as an array of strings. |
| | GetDateByIndex(const iT1) |
| | Gets the date of an observation. |
| | GetDates() |
| | Gets the first column if the database is dated. |
| | GetDbName() |
| | Gets the database name. |
| | GetGroup(const iGroup) |
| | Gets the data matrix for the specified group. |
| | GetGroupLag(const iGroup, const iLag1, const iLag2) |
| | Gets the data matrix for the specified group between specific lag lengths. |
| | GetGroupLagNames(const iGroup, const iLag1, const iLag2, const aasNames) |
| | Gets the variable names for the specified group between specific lag lengths. |
| | GetGroupNames(const iGroup, const aasNames) |
| | Gets the variable names for the specified group. |
| | GetIndexByDate(const dDate1) |
| | returns the index closest to the specified date. |
| | GetIndexByDates(const dDate1, const dDate2) |
| | returns the start and end indices of the specified period as an array of two integers. |
| | GetMaxGroupLag(const iGroup) |
| | Gets the longest lag length in the group. |
| | GetMaxLag() |
| | Use `Database::GetMaxSelLag`. |
| | GetMaxSelLag() |
| | Gets the longest lag length in the selection. |
| | GetObsLabel( sVar, const iT) |
| | Gets the text representation of an observation. |
| | GetSample() |
| | Gets the database sample text. |
| virtual | GetSampleByIndex(const iT1, const iT2) |
| | Gets the subsample text. |
| | GetSelEnd() |
| | Gets the last observation of the selection. |
| | GetSelInfo() |
| | Gets the selection info |
| | GetSelSample() |
| | Gets the text of the selection sample. |
| | GetSelSampleMode() |
| | Get the sample selection mode. |
| | GetSelStart() |
| | Gets the first observation of the selection. |
| | GetVar(const sName) |
| | Gets the named variable(s). |
| | GetVarByIndex(const iVar) |
| | Gets the variable(s) from specified column index (indices). |
| | GetVarChoices(const sVar) |
| | Gets the choice set of a variable by name. |
| | GetVarChoicesByIndex(const iVar) |
| | Gets the choice set of a variable by column index. |
| | GetVarCount() |
| | Get the number of variables in the database. |
| | GetVarIndex(const sName) |
| | Gets index(indices) of variable(s) from specified name or names. |
| | GetVarNameByIndex(const iVar) |
| | Gets the variable(s) names from specified column index (indices). |
| | GetVarType(const sVar) |
| | Gets the variable type. |
| | GetVarTypeByIndex(const iVar) |
| | Gets the variable type. |
| | Grow(const cTadd) |
| | Grows the database sample size. |
| | Info() |
| | Prints database information. |
| | IsDated() |
| | Returns TRUE if the database is dated (the first column is of type DB_DATE. |
| | IsEmpty() |
| | Check if the database is empty. |
| | Load(const file) |
| | Loads a database from the specified file into the object. |
| | LoadCsv(const file) |
| | Use `Database::Load`. |
| | LoadDht(const file, const iYear1, const iPeriod1, const iFreq) |
| | Obsolete format. |
| | LoadDta(const file, const iYear1, const iPeriod1, const iFreq) |
| | Use `Database::Load`. |
| | LoadFmtVar(const file) |
| | Loads a database from a formatted text file into the object. |
| | LoadIn7(const file) |
| | Use `Database::Load`. |
| | LoadObs(const file, const cVar, const cObs, const iYear1, const iPeriod1, const iFreq, const fOffendMis) |
| | Loads a database from a text file into the object, ordered by observation. |
| | LoadVar(const file, const cVar, const cObs, const iYear1, const iPeriod1, const iFreq, const fOffendMis) |
| | Loads a database from a text file into the object, ordered by variable. |
| | LoadXls(const file) |
| | Obsolete format. |
| | LoadXlsx(const file) |
| | Use `Database::Load`. |
| | Recode(const sVar, ...) |
| | Recodes elements of a variable. |
| | Remove(const sName) |
| | Remove variable(s) form the database. |
| | RemoveObsIf(const vRemove) |
| | Remove observation(s) form the database. |
| | Rename(const sNewName, const sOldName) |
| | Renames variable(s). |
| | Renew(const mNew, const asNew, ...) |
| | Renews the observations on the named variable(s). |
| | RenewBlock(const mNew, const iVarIndex) |
| | Changes observations on the specified columns without checking. |
| | Save(const file) |
| | Saves the database to the specified file. |
| | SaveCsv(const file) |
| | Use `Database::Save`. |
| | SaveFmtVar(const file) |
| | Saves the database to a formatted text file. |
| | SaveIn7(const file) |
| | Use `Database::Save`. |
| | SaveObs(const file) |
| | Saves the database to a text file, stored by observation. |
| | SaveVar(const file) |
| | Saves the database to a text file, stored by variable. |
| | SaveXls(const file) |
| | Obsolete format. |
| | SaveXlsx(const file) |
| | Use `Database::Save`. |
| | Select(const iGroup, const aSel) |
| | Select variables by name into a group. |
| | SelectByIndex(const iGroup, const iVar, const iLag0, const iLag1) |
| | Select variables by name into a group. |
| | SetDates(const vDates) |
| | Makes the database dated by setting the first column to DB_DATE |
| | SetDbName(const sName) |
| | Sets the database name. |
| | SetSample(const iYear1, const iPeriod1, const iYear2, const iPeriod2) |
| | Obsolete: use `Database::SetSelSample`. |
| | SetSelDates(const iYear1, const iMonth1, const iDay1, const iYear2, const iMonth2, const iDay2) |
| | Set a selection sample by year, month, day (dated database). |
| | SetSelInfo(const aInfo) |
| | Sets the selection info |
| | SetSelSample(const iYear1, const iPeriod1, const iYear2, const iPeriod2) |
| | Select a selection sample (fixed frequency database). |
| | SetSelSampleByDates(const dDate1, const dDate2) |
| | Set a selection sample by date values (dated database). |
| | SetSelSampleByIndex(const iT1, const iT2) |
| | Set a selection sample by observation indices. |
| | SetSelSampleMode(const iMode) |
| | Set the sample selection mode. |
| | SetVar(const vNew, const sName) |
| | Creates variable(s) in the database. |
| | SetVarChoices(const sVar, const asChoices) |
| | Sets the variable type to DB_CHOICE by name. |
| | SetVarChoicesByIndex(const iVar, const asChoices) |
| | Sets the variable type to DB_CHOICE by column index. |
| | SetVarType(const sVar, const iType) |
| | Sets the variable type by name. |
| | SetVarTypeByIndex(const iVar, const iType) |
| | Sets the variable type by column index. |
| | Shrink(const cTdel) |
| | Shrinks the database sample size. |
| | SortBy(const sX) |
| | Sorts the database by the specified variable(s). |
| | Tabulate(const sX, ...) |
| | Sorts the database by the specified variable(s). |