Skip to main content
Ctrl+K
GAUSS 24 documentation | Aptech - Home
  • Command Reference
  • Learning Resources
  • Applications
  • Change Log
    • Command Reference
    • F
    • fred_search
  • Command Reference
  • Learning Resources
  • Applications
  • Change Log

Section Navigation

Commands by Category:

  • Data types
  • Data Import and Export
  • Data cleaning
  • Descriptive statistics and computation
  • Estimation methods
  • Graphics
  • Optimization and Solution
  • Mathematical functions
  • Operators
  • Statistical distributions and sampling
  • Time and Date
  • String handling
  • Programming
  • Multithreading and parallelization
  • Web
  • Workspace, files, folders and paths

Index:

  • _
    • __FILE_DIR
  • A
    • abs
    • acf
    • aconcat
    • aeye
    • aggregate
    • amax
    • amean
    • AmericanBinomCall_Greeks
    • AmericanBinomCall
    • AmericanBinomCall_ImpVol
    • AmericanBinomPut_Greeks
    • AmericanBinomPut
    • AmericanBinomPut_ImpVol
    • AmericanBSCall_Greeks
    • AmericanBSCall
    • AmericanBSCall_ImpVol
    • AmericanBSPut_Greeks
    • AmericanBSPut
    • AmericanBSPut_ImpVol
    • amin
    • amult
    • annotationGetDefaults
    • annotationSetBkd
    • annotationSetFont
    • annotationSetLineColor
    • annotationSetLinePen
    • annotationSetLineStyle
    • annotationSetLineThickness
    • annotationSetTextAlign
    • annualTradingDays
    • arccos
    • arcsin
    • areshape
    • arrayalloc
    • arrayindex
    • arrayinit
    • arraytomat
    • asciiload
    • asclabel
    • asDate
    • asdf
    • asMatrix
    • astd
    • astds
    • asum
    • atan2
    • atan
    • atranspose
    • axmargin
  • B
    • balance
    • bandchol
    • bandcholsol
    • bandltsol
    • band
    • bandrv
    • bandsolpd
    • bar
    • base10
    • begwind
    • besselj
    • besselk
    • bessely
    • beta
    • between
    • blendColorPalette
    • blockDiag
    • boxcox
    • box
    • break
  • C
    • call
    • cdfBetaInv
    • cdfBeta
    • cdfBinomialInv
    • cdfBinomial
    • cdfBvn2e
    • cdfBvn2
    • cdfBvn
    • cdfCauchyInv
    • cdfCauchy
    • cdfChic
    • cdfChii
    • cdfChincInv
    • cdfChinc
    • cdfEmpirical
    • cdfExpInv
    • cdfExp
    • cdfFc
    • cdfFncInv
    • cdfFnc
    • cdfGam
    • cdfGenPareto
    • cdfHyperGeo
    • cdfLaplaceInv
    • cdfLaplace
    • cdfLogisticInv
    • cdfLogistic
    • cdfLogNorm
    • cdfMvn2e
    • cdfMvnce
    • cdfMvne
    • cdfMvn
    • cdfMvt2e
    • cdfMvtce
    • cdfMvte
    • cdfN2
    • cdfn, cdfnc
    • cdfNegBinomialInv
    • cdfNegBinomial
    • cdfni
    • cdfPoissonInv
    • cdfPoisson
    • cdfRayleighInv
    • cdfRayleigh
    • cdfTci
    • cdfTc
    • cdfTnc
    • cdfTruncNorm
    • cdfTvn
    • cdfWeibullInv
    • cdfWeibull
    • cdir
    • ceil
    • changeDir
    • chdir
    • chiBarSquare
    • choldn
    • chol
    • cholsol
    • cholup
    • chrs
    • clearg
    • clear
    • closeall
    • close
    • cls
    • clusterSE
    • code (dataloop)
    • code
    • colsf
    • cols
    • combinated
    • combinate
    • comlog
    • compile
    • complex
    • cond
    • conj
    • con
    • cons
    • ConScore
    • contains
    • continue
    • contour
    • convertsatostr
    • convertstrtosa
    • conv
    • copyMetadata
    • corrm, corrvc, corrx
    • corrms, corrxs
    • cosh
    • cos
    • counts
    • countwts
    • create
    • crossprd
    • croutp
    • crout
    • csrcol, csrlin
    • csvReadM
    • csvReadSA
    • csvWriteM
    • cumprodc
    • cumsumc
    • curve
    • cvtosa
    • cvtos
  • D
    • datacreatecomplex
    • datacreate
    • datalist
    • dataload
    • dataloop (dataloop)
    • dataopen
    • datasave
    • date
    • datestring
    • datestr
    • datestrymd
    • dayinyr
    • dayofweek
    • dbAddDatabase
    • dbClose
    • dbCommit
    • dbCreateQuery
    • dbExecQueries
    • dbExecQuery
    • dbGetConnectOptions
    • dbGetDatabaseName
    • dbGetDriverName
    • dbGetDrivers
    • dbGetHostName
    • dbGetLastErrorNum
    • dbGetLastErrorText
    • dbGetNumericalPrecPolicy
    • dbGetPassword
    • dbGetPort
    • dbGetPrimaryIndex
    • dbGetTableHeaders
    • dbGetTables
    • dbGetUserName
    • dbHasFeature
    • dbIsDriverAvailable
    • dbIsOpenError
    • dbIsOpen
    • dbIsValid
    • dbnomics_series
    • dbnomics_set
    • dbOpen
    • dbQueryBindValue
    • dbQueryClear
    • dbQueryCols
    • dbQueryExecPrepared
    • dbQueryFetchAllM
    • dbQueryFetchAllSA
    • dbQueryFetchOneM
    • dbQueryFetchOneSA
    • dbQueryFinish
    • dbQueryGetBoundValue
    • dbQueryGetBoundValues
    • dbQueryGetField
    • dbQueryGetLastErrorNum
    • dbQueryGetLastErrorText
    • dbQueryGetLastInsertID
    • dbQueryGetLastQuery
    • dbQueryGetNumRowsAffected
    • dbQueryGetPosition
    • dbQueryIsActive
    • dbQueryIsForwardOnly
    • dbQueryIsNull
    • dbQueryIsSelect
    • dbQueryIsValid
    • dbQueryPrepare
    • dbQueryRows
    • dbQuerySeekFirst
    • dbQuerySeekLast
    • dbQuerySeekNext
    • dbQuerySeekPrevious
    • dbQuerySeek
    • dbQuerySetForwardOnly
    • dbRemoveDatabase
    • dbRollback
    • dbSetConnectOptions
    • dbSetDatabaseName
    • dbSetHostName
    • dbSetNumericalPrecPolicy
    • dbSetPassword
    • dbSetPort
    • dbSetUserName
    • dbTransaction
    • debug
    • declare
    • delcols
    • delete (dataloop)
    • delete
    • deleteFile
    • delif
    • delrows
    • denseToSpRE
    • denseToSp
    • denToZero
    • design
    • detl
    • det
    • dfappend
    • dfLonger
    • dfWider
    • dffti
    • dfft
    • dfname
    • dftype
    • diag
    • diagrv
    • digamma
    • dlibrary
    • dllcall
    • dos
    • doswin
    • DOSWinCloseall
    • DOSWinOpen
    • dotfeq, dotfge, dotfgt, dotfle, dotflt, dotfne
    • dotfeqmt, dotfgemt, dotfgtmt, dotflemt, dotfltmt, dotfnemt
    • dot
    • do while, do until
    • draw
    • dropCategories
    • drop (dataloop)
    • dropduplicates
    • dropUnusedCategories
    • dsCreate
    • dstatmtControlCreate
    • dstatmt
    • dstat
    • dtdate
    • dtday
    • dtDayName
    • dtDayofMonth
    • dtDayofWeek
    • dtDayofYear
    • dtHour
    • dtMinute
    • dtMonth
    • dtMonthName
    • dtQuarter
    • dtSecond
    • dttime
    • dttodtv
    • dttoposix
    • dttostrc
    • dttostr
    • dttoutc
    • dtvnormal
    • dtvtodt
    • dtvtoutc
    • dtWeek
    • dtYear
    • dummybr
    • dummydn
    • dummy
    • dwstat
    • dynargsCount
    • dynargsGet
    • dynargsTypes
  • E
    • edit
    • ed
    • eigh
    • eighv
    • eig
    • eigv
    • elapsedTradingDays
    • endp
    • end
    • endwind
    • envget
    • eof
    • eqSolvemtControlCreate
    • eqSolvemt
    • eqSolve
    • eqSolveSet
    • erfcplx, erfccplx
    • erf, erfc
    • erfInv,erfCInv
    • errorlogat
    • errorlog
    • error
    • etdays
    • ethsec
    • etstr
    • EuropeanBinomCall_Greeks
    • EuropeanBinomCall_ImpVol
    • EuropeanBinomCall
    • EuropeanBinomPut_Greeks
    • EuropeanBinomPut_ImpVol
    • EuropeanBinomPut
    • EuropeanBSCall_Greeks
    • EuropeanBSCall_ImpVol
    • EuropeanBSCall
    • EuropeanBSPut_Greeks
    • EuropeanBSPut_ImpVol
    • EuropeanBSPut
    • exctsmpl
    • execbg
    • exec
    • exp
    • external
    • extern (dataloop)
    • eye
  • F
    • fcheckerr
    • fclearerr
    • feq, fge, fgt, fle, flt, fne
    • feqmt, fgemt, fgtmt, flemt, fltmt, fnemt
    • fflush
    • ffti
    • fftmi
    • fftm
    • fftn
    • fft
    • fgetsa
    • fgetsat
    • fgets
    • fgetst
    • fgls
    • fileinfo
    • filesa
    • fix
    • floor
    • fmod
    • fn
    • fonts
    • fopen
    • formatcv
    • formatnv
    • format(keyword)
    • for
    • fputs
    • fputst
    • fred_search
    • fred_set
    • fred_load
    • frequency
    • fseek
    • fstrerror
    • ftell
    • ftocv
    • ftos
    • ftostrC
  • G
    • gammacplx
    • gammaii
    • gamma
    • gausset
    • gdaAppend
    • gdaCreate
    • gdaDStatMat
    • gdaDStat
    • gdaGetIndex
    • gdaGetName
    • gdaGetNames
    • gdaGetOrders
    • gdaGetType
    • gdaGetTypes
    • gdaGetVarInfo
    • gdaIsCplx
    • gdaLoad
    • gdaPack
    • gdaReadByIndex
    • gdaRead
    • gdaReadSome
    • gdaReadSparse
    • gdaReadStruct
    • gdaReportVarInfo
    • gdaSave
    • gdaUpdateAndPack
    • gdaUpdate
    • gdaVars
    • gdaWrite32
    • gdaWrite
    • gdaWriteSome
    • getarray
    • getCategories
    • getColDateFormats
    • getcollabels
    • getcollabelvalues
    • getcolnames
    • getColorPalette
    • getColTypes
    • getdims
    • getduplicates
    • getf
    • getGAUSSHome
    • getHeaders
    • getHSLPalette
    • getHSLuvPalette
    • getmatrix4D
    • getmatrix
    • getnamef
    • getname
    • getNextTradingDay
    • getNextWeekDay
    • getnrmt
    • getnr
    • getorders
    • getpath
    • getPreviousTradingDay
    • getPreviousWeekDay
    • getRow
    • getscalar3D
    • getscalar4D
    • getTrRow
    • getwind
    • glm
    • gmmControlCreate
    • gmmFitIV
    • gmmFit
    • gosub
    • goto
    • gradMTm
    • gradMT
    • gradMTTm
    • gradMTT
    • gradp, gradcplx
    • graphprt
    • graphset
  • H
    • h5create
    • h5open
    • h5readAttribute
    • h5read
    • h5writeAttribute
    • h5write
    • hasimag
    • hasMetaData
    • head
    • headermt
    • header
    • hessMTg
    • hessMTgw
    • hessMTm
    • hessMTmw
    • hessMT
    • hessMTTg
    • hessMTTgw
    • hessMTTm
    • hessMTT
    • hessMTw
    • hessp, hesscplx
    • hess
    • histf
    • histp
    • hist
    • hsec
  • I
    • if, else, elseif, endif
    • imag
    • impute
    • #include
    • #includedir
    • indcv
    • indexcat
    • indices2
    • indicesfn
    • indicesf
    • indices
    • indnv
    • indsav
    • innerJoin
    • insertcols
    • integrate1d
    • integrateControlCreate
    • intgrat2
    • intgrat3
    • inthp1
    • inthp2
    • inthp3
    • inthp4
    • inthpControlCreate
    • intquad1
    • intquad2
    • intquad3
    • intrleav
    • intrleavsa
    • intrsect
    • intrsectsa
    • intsimp
    • inv, invpd
    • invswp
    • iscplxf
    • iscplx
    • isden
    • isempty
    • isinfnanmiss
    • ismember
    • ismiss
    • isrowunique
    • isstring
    • isstructype
    • isunique
    • itos
  • J
    • JarqueBera
  • K
    • keep (dataloop)
    • kernelDensity
    • keyav
    • key
    • keyword
    • keyw
    • kurtosis
  • L
    • lag1
    • lag (dataloop)
    • lagn
    • lagTrim
    • lapeighb
    • lapeighi
    • lapeighvb
    • lapeighvi
    • lapgeigh
    • lapgeighv
    • lapgeig
    • lapgeigv
    • lapgschur
    • lapgsvdcst
    • lapgsvds
    • lapgsvdst
    • lapsvdcusv
    • lapsvds
    • lapsvdusv
    • ldlp
    • ldl
    • ldlsol
    • let
    • library
    • lib
    • #lineson, #linesoff
    • linsolve
    • listColorPalettes
    • listwise (dataloop)
    • lncdfbvn2
    • lncdfbvn
    • lncdfn2
    • lncdfnc
    • lncdfn
    • lncdfmvn
    • lnfact
    • lngamma
    • lngammacplx
    • lnpdfmvn
    • lnpdfmvt
    • lnpdfn
    • lnpdft
    • ln
    • loadarray
    • loadd
    • loaddSA
    • loadFileControlCreate
    • load, loadf, loadk, loadm, loadp, loads
    • loadstruct
    • loadwind
    • local
    • locate
    • loessmtControlCreate
    • loessmt
    • loess
    • loglog
    • log
    • logx
    • logy
    • loopnextindex
    • lower
    • lowmat, lowmat1
    • ltrisol
    • lu
    • lusol
  • M
    • machEpsilon
    • make (dataloop)
    • makevars
    • makewind
    • margin
    • matalloc
    • matinit
    • mattoarray
    • maxbytes
    • maxc
    • maxindc
    • maxvec
    • maxv
    • mbesseli
    • meanc
    • median
    • mergeby
    • mergevar
    • minc
    • minindc
    • minv
    • missex
    • miss, missrv
    • modec
    • momentd
    • moment
    • movingaveExpwgt
    • movingave
    • movingaveWgt
    • msym
  • N
    • new
    • nextindex
    • nextn, nextnevn
    • nextwind
    • norm
    • normalizecollabels
    • ntos
    • null1
    • null
    • numCombinations
  • O
    • olsmtControlCreate
    • olsmt
    • olsqr2
    • olsqrmt
    • olsqr
    • ols
    • ones
    • open
    • optn, optnevn
    • order
    • orth
    • outerJoin
    • output
    • outtyp (dataloop)
    • outwidth
  • P
    • pacf
    • packedToSp
    • packr
    • parse
    • pause
    • pdfBinomial
    • pdfCauchy
    • pdfexp
    • pdfGenPareto
    • pdfHyperGeo
    • pdfLaplace
    • pdflogistic
    • pdfLogNorm
    • pdfn
    • pdfPoisson
    • pdfRayleigh
    • pdfTruncNorm
    • pdfWeibull
    • pdfWishartInv
    • pinvmt
    • pinv
    • pi
    • plotACF
    • plotAddArea
    • plotAddArrow
    • plotAddBar
    • plotAddBarH
    • plotAddBox
    • plotAddErrorBar
    • plotAddHBar
    • plotAddHistF
    • plotAddHistP
    • plotAddHist
    • plotAddHLine
    • plotAddPolar
    • plotAddScatter
    • plotAddShape
    • plotAddSurface
    • plotAddTextbox
    • plotAddTS
    • plotAddTSHF
    • plotAddVBar
    • plotAddVLine
    • plotAddXY
    • plotAddXYFill
    • plotArea
    • plotBar
    • plotBarH
    • plotBox
    • plotCanvasSize
    • plotCDFEmpirical
    • plotClearLayout
    • plotCloseAll
    • plotContour
    • plotCustomLayout
    • plotFreq
    • plotGetDefaults
    • plotHistF
    • plotHistP
    • plotHist
    • plotLayout
    • plotLogLog
    • plotLogX
    • plotLogY
    • plotOpenWindow
    • plotPACF
    • plotPolar
    • plotSave
    • plotScatter
    • plotSetActiveX
    • plotSetActiveY
    • plotSetAxesPen
    • plotSetBar
    • plotSetBarWidth
    • plotSetBkdColor
    • plotSetBoxWidth
    • plotSetColorMap
    • plotSetContourLabels
    • plotSetFill
    • plotSetFonts
    • plotSetGrid
    • plotSetGridPen
    • plotSetJitterRange
    • plotSetLegend
    • plotSetLegendBkd
    • plotSetLegendBorder
    • plotSetLegendFont
    • plotSetLegendTitle
    • plotSetLineColor
    • plotSetLinePen
    • plotSetLineStyle
    • plotSetLineSymbol
    • plotSetLineThickness
    • plotSetMissGap
    • plotSetNewWindow
    • plotSetOutlineEnabled
    • plotSetTextInterpreter
    • plotSetTicLabelFont
    • plotSetTicPosition
    • plotSetTitle
    • plotSetWhichXAxis
    • plotSetWhichYAxis
    • plotSetXGrid
    • plotSetXGridPen
    • plotSetXLabel
    • plotSetXMinorTicCount
    • plotSetXPen
    • plotSetXRange
    • plotSetXShow
    • plotSetXTicCount
    • plotSetXTicInterval
    • plotSetXTicLabel
    • plotSetXTicPosition
    • plotSetYGrid
    • plotSetYGridPen
    • plotSetYLabel
    • plotSetYMinorTicCount
    • plotSetYPen
    • plotSetYRange
    • plotSetYShow
    • plotSetYTicCount
    • plotSetYTicInterval
    • plotSetYticLabel
    • plotSetYTicPosition
    • plotSetZLabel
    • plotSetZLevels
    • plotSetZPen
    • plotSetZRange
    • plotSetZShow
    • plotSurface
    • plotTSHF
    • plotTSLog
    • plotTS
    • plotXY
    • plotXYFill
    • polar
    • polychar
    • polyeval
    • polygamma
    • polyint
    • polymake
    • polymat
    • polymroot
    • polymult
    • polyroot
    • pop
    • posixtostrc
    • powerM
    • pqgwin
    • previousindex
    • princomp
    • printdos
    • printfm
    • printfmt
    • print
    • proc
    • prodc
    • prodr
    • psi
    • putarray
    • putf
    • putvals
    • pvCreate
    • pvGetIndex
    • pvGetParNames
    • pvGetParVector
    • pvLength
    • pvList
    • pvPacki
    • pvPackmi
    • pvPackm
    • pvPack
    • pvPacksi
    • pvPacksmi
    • pvPacksm
    • pvPacks
    • pvPutParVector
    • pvTest
    • pvUnpack
  • Q
    • qfitControlCreate
    • QNewton
    • QNewtonmtControlCreate
    • QNewtonmt
    • QNewtonmtOutCreate
    • QNewtonSet
    • QProg
    • QProgmt
    • QProgmtInCreate
    • qqrep
    • qqre
    • qqr
    • qrep
    • qre
    • qr
    • qrsol
    • qrtsol
    • qtyrep
    • qtyre
    • qtyr
    • quantiled
    • quantileFitLoc
    • quantileFit
    • quantile
    • qyrep
    • qyre
    • qyr
    • qz
  • R
    • rankindx
    • rank
    • readr
    • real
    • reclassifyCuts
    • reclassify
    • recodeCatLabels
    • recode (dataloop)
    • recode
    • recserar
    • recsercp
    • recserrc
    • recserVAR
    • renamefile
    • reorderCatLabels
    • rerun
    • resetsourcepaths
    • rescale
    • reshape
    • retp
    • return
    • rev
    • rfftip
    • rffti
    • rfftnp
    • rfftn
    • rfftp
    • rfft
    • rndBernoulli
    • rndBeta
    • rndBinomial
    • rndCauchy
    • rndChiSquare
    • rndseed
    • rndcon, rndmult, rndseed
    • rndCreateState
    • rndExp
    • rndGamma
    • rndgam
    • rndGeo
    • rndGumbel
    • rndHyperGeo
    • rndi
    • rndKMbeta
    • rndKMgam
    • rndKMi
    • rndKMnb
    • rndKMn
    • rndKMp
    • rndKMu
    • rndKMvm
    • rndLaplace
    • rndLCbeta
    • rndLCgam
    • rndLCi
    • rndLCnb
    • rndLCn
    • rndLCp
    • rndLCu
    • rndLCvm
    • rndLogNorm
    • rndMVn
    • rndMVt
    • rndnb
    • rndNegBinomial
    • rndn
    • rndPoisson
    • rndp
    • rndRayleigh
    • rndStateSkip
    • rndu
    • rndvm
    • rndWeibull
    • rndWishartInv
    • rndWishart
    • robustSE
    • rotater
    • round
    • rowcontains
    • rowsf
    • rows
    • rref
    • run
  • S
    • sampleData
    • satostrC
    • saveall
    • saved
    • save
    • savestruct
    • savewind
    • scale3d
    • scalerr
    • scale
    • scalinfnanmiss
    • scalmiss
    • schtoc
    • schur
    • screen
    • searchsourcepath
    • seekr
    • select (dataloop)
    • selif
    • seqaDT
    • seqaPosix
    • seqa, seqm
    • setarray
    • setBaseCat
    • setBlockSize
    • setColDateFormats
    • setcollabels
    • setcolmetadata
    • setcolnames
    • setcoltypes
    • setdif
    • setdifsa
    • setvars
    • setvwrmode
    • setwind
    • shell
    • shiftc
    • shiftr
    • show
    • singleindex
    • sinh
    • sin
    • skewness
    • sleep
    • solpd
    • sortc
    • sortcc
    • sortd
    • sorthc, sorthcc
    • sortind, sortindc
    • sortmc
    • sortr, sortrc
    • spBiconjGradSol
    • spChol
    • spConjGradSol
    • spCreate
    • spDenseSubmat
    • spDiagRvMat
    • spEigv
    • spEye
    • spGetNZE
    • spLDL
    • spline
    • spLU
    • spNumNZE
    • spOnes
    • spreadSheetReadM
    • spreadSheetReadSA
    • spreadSheetWrite
    • sprintf
    • spScale
    • spSubmat
    • spToDense
    • spTrTDense
    • spTScalar
    • spZeros
    • sqpSolveMTControlCreate
    • sqpSolveMTlagrangeCreate
    • sqpSolveMToutCreate
    • sqpSolveMT
    • sqpSolve
    • sqpSolveSet
    • sqrt
    • squeeze
    • startsWith
    • stdc
    • stdsc
    • stocv
    • stof
    • stop
    • strcombine
    • strctodt
    • strctoposix
    • strjoin
    • strlen
    • strput
    • strreplace
    • strindx
    • strrindx
    • strsect
    • strsplitPad
    • strsplit
    • strtodt
    • strtofcplx
    • strtof
    • strtriml
    • strtrimr
    • strtrim
    • strtruncl
    • strtruncpad
    • strtruncr
    • strtrunc
    • submat
    • subscat
    • substute
    • subvec
    • sumc
    • sumr
    • surface
    • svd1
    • svd2
    • svdcusv
    • svd
    • svds
    • svdusv
    • sylvester
    • sysstate
    • system
  • T
    • tab
    • tabulate
    • tail
    • tanh
    • tan
    • tempname
    • threadBegin
    • threadEnd
    • threadfor, threadendfor
    • threadJoin
    • threadStat
    • timeDeltaDT
    • timeDeltaPosix
    • timeDiffDT
    • timediffposix
    • timedt
    • time
    • timestr
    • timeutc
    • title
    • tkf2eps
    • tkf2ps
    • tocart
    • todaydt
    • toeplitz
    • token
    • topolar
    • trace
    • tracem
    • trapchk
    • trap
    • trigamma
    • trimr
    • trunc
    • typecv
    • typef
    • type
  • U
    • union
    • unionsa
    • uniqindx
    • uniqindxsa
    • unique
    • uniquesa
    • upmat, upmat1
    • upper
    • use
    • utctodt
    • utctodtv
    • utrisol
  • V
    • vals
    • varCovMS, varCovXS
    • varCovM, varCovX
    • vargetl
    • varget
    • varmall
    • varmares
    • varputl
    • varput
    • vartypef
    • vcms, vcxs
    • vcm, vcx
    • vech
    • vector (dataloop)
    • vec, vecr
    • vget
    • view
    • viewxyz
    • vlist
    • vnamecv
    • volume
    • vput
    • vread
    • vtypecv
  • W
    • wait, waitc
    • walkindex
    • warninglog
    • warninglogat
    • where
    • window
    • writer
  • X
    • xlabel
    • xlsGetSheetCount
    • xlsGetSheetSize
    • xlsGetSheetTypes
    • xlsMakeRange
    • xlsReadM
    • xlsReadSA
    • xlsWriteM
    • xlsWrite
    • xlsWriteSA
    • xpnd
    • xtics
    • xy
    • xyz
  • Y
    • ylabel
    • ytics
  • Z
    • zeros
    • zeta
    • zlabel
    • ztics

fred_search#

Purpose#

Get economic data series that match search text.

Format#

x = fred_search(search_text[, ...])#
Parameters:
  • search_text (String) – The words to match against economic data series. required.

  • options (key, value pairs) –

    Options to pass to the API. See below. These can be set directly when calling the function in the form of consecutive (key, value) pairs or via a dataframe constructed with fred_set(). All arguments can be specified in any order. For example:

    /* Do a search on 'unemployment' with the following arguments:
    **   limit      = 10
    **   sort_order = desc
    */
    
    fred_search("unemployment", "limit", 10, "sort_order", "desc")
    

    This function supports the following options:

    search_type

    String. Determines the type of search to perform. One of the following strings: ‘full_text’, ‘series_id’. optional, default: full_text.

    • ’full_text’ searches series attributes title, units, frequency, and tags by parsing words into stems. This makes it possible for searches like ‘Industry’ to match series containing related words such as ‘Industries’. Of course, you can search for multiple words like ‘money’ and ‘stock’. Text will be url encoded automatically.

    • ’series_id’ performs a substring search on series IDs. Searching for ‘ex’ will find series containing ‘ex’ anywhere in a series ID. ‘*’ can be used to anchor searches and match 0 or more of any character. Searching for ‘ex*’ will find series containing ‘ex’ at the beginning of a series ID. Searching for ‘*ex’ will find series containing ‘ex’ at the end of a series ID. It’s also possible to put an ‘*’ in the middle of a string. ‘m*sl’ finds any series starting with ‘m’ and ending with ‘sl’.

    realtime_start

    YYYY-MM-DD formatted string. The start of the real-time period. For more information, see Remarks. optional, default: today’s date

    realtime_end

    YYYY-MM-DD formatted string. The end of the real-time period. For more information, see Remarks. optional, default: today’s date

    limit

    integer between 1 and 1000. The maximum number of results to return. optional, default: 1000

    offset

    non-negative integer. Order results by values of the specified attribute. optional, default: 0

    order_by

    String. Order results by values of the specified attribute.

    One of the following strings: ‘search_rank’, ‘series_id’, ‘title’, ‘units’, ‘frequency’, ‘seasonal_adjustment’, ‘realtime_start’, ‘realtime_end’, ‘last_updated’, ‘observation_start’, ‘observation_end’, ‘popularity’, ‘group_popularity’. optional, default:

    • If the value of search_type is ‘full_text’ then the default value of order_by is ‘search_rank’.

    • If the value of search_type is ‘series_id’ then the default value of order_by is ‘series_id’.

    sort_order

    String. Sort results in ascending or descending order for attribute values specified by order_by. One of the following strings: ‘asc’, ‘desc’. optional, default: If order_by is equal to ‘search_rank’ or ‘popularity’, then the default value of sort_order is ‘desc’. Otherwise, the default sort order is ‘asc’.

    filter_variable

    One of the following strings: ‘frequency’. The attribute to filter results by. ‘units’, ‘seasonal_adjustment’. optional, no filter by default

    filter_value

    String. The value of the filter_variable attribute to filter results by. optional, no filter by default

    tag_names

    String. A semicolon delimited list of tag names that series match all of. optional, no filtering by tags by default

    Example value: ‘usa;m2’. Filter results to series having both tags ‘usa’ and ‘m2’. See the related request fred_tags().

    exclude_tag_names

    String. A semicolon delimited list of tag names that series match none of. optional, no filtering by tags by default.

    Example value: ‘discontinued;m1’. Filter results to series having neither tag ‘discontinued’ nor tag ‘m1’. Parameter exclude_tag_names requires that parameter tag_names also be set to limit the number of matching series.

Returns:

x (Dataframe) – Results.

Examples#

fred_search("monetary service index");
frequency  frequency_short group_popularity               id     last_updated            notes  observation_end observation_star       popularity     realtime_end   realtime_start seasonal_adjustm seasonal_adjustm            title            units      units_short
  Monthly                M        22.000000            MSIM2 2014-01-17 07:16 The MSI measure        2013-12-01       1967-01-01        22.000000       2022-10-31       2022-10-31 Seasonally Adjus               SA Monetary Service Billions of Doll        Bil. of $
  Monthly                M        18.000000          MSIMZMP 2014-01-17 07:16 The MSI measure        2013-12-01       1967-01-01        18.000000       2022-10-31       2022-10-31 Seasonally Adjus               SA Monetary Service Billions of Doll        Bil. of $
  Monthly                M        14.000000            OCM2P 2014-01-17 07:16 Preferred benchm       2013-12-01       1967-01-01        14.000000       2022-10-31       2022-10-31 Not Seasonally A              NSA Real User Cost I          Percent                %
  Monthly                M        13.000000          MSIALLP 2014-01-17 07:16 The MSI measure        2013-12-01       1967-01-01        13.000000       2022-10-31       2022-10-31 Seasonally Adjus               SA Monetary Service Billions of Doll        Bil. of $
  Monthly                M        10.000000           MSIM2A 2014-01-17 07:16 The MSI measure        2013-12-01       1967-01-01        10.000000       2022-10-31       2022-10-31 Seasonally Adjus               SA Monetary Service Billions of Doll        Bil. of $

Remarks#

API Key#

This function requires a valid API key. Please visit https://fred.stlouisfed.org/docs/api/api_key.html to find out more on how to obtain one.

Set your API key using any of the following methods in GAUSS:

  1. Set the API key directly at the top of your program:

    FRED_API_KEY = "your_api_key"
    
  2. Set the environment variable FRED_API_KEY to your API key.

  3. Edit your gauss.cfg file and modify the fred_api_key value:

    fred_api_key = your_api_key
    

Disclaimer#

Note

This product uses the FRED® API but is not endorsed or certified by the Federal Reserve Bank of St. Louis.

Real-Time Periods#

You can read extensively about the real-time period parameters directly on the FRED Website at https://fred.stlouisfed.org/docs/api/fred/realtime_period.html

Per the FRED website:

The real-time period marks when facts were true or when information was known until it changed. Economic data sources, releases, series, and observations are all assigned a real-time period. Sources, releases, and series can change their names, and observation data values can be revised.

On almost all URLs, the default real-time period is today. This can be thought of as FRED® mode- what information about the past is available today. ALFRED® users can change the real-time period to retrieve information that was known as of a past period of history.

The real-time period can be specified by setting the realtime_start and realtime_end variables. Variables realtime_start and realtime_end are optional YYYY-MM-DD formatted dates that default to today’s date. The real-time period set by realtime_start and realtime_end is a (closed, closed) period. This means that the real-time period includes the dates or boundaries set by realtime_start and realtime_end.

See also

fred_load(), fred_set()

previous

fputst

next

fred_set

On this page
  • Purpose
  • Format
  • Examples
  • Remarks
    • API Key
    • Disclaimer
    • Real-Time Periods
Show Source

© Copyright 2024, Aptech Systems, Inc.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.4.