You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ext/StatsPlotsExt.jl
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ If occasionally binding constraints are present in the model, they are not taken
131
131
- $PARAMETERS®
132
132
- $ALGORITHM®
133
133
- $FILTER®
134
-
- $VARIABLES®
134
+
- $(VARIABLES®(DEFAULT_VARIABLES_EXCLUDING_OBC))
135
135
- `shocks` [Default: `:all`]: shocks for which to plot the estimates. Inputs can be either a `Symbol` (e.g. `:y`, or `:all`), `Tuple{Symbol, Vararg{Symbol}}`, `Matrix{Symbol}`, or `Vector{Symbol}`.
136
136
- `presample_periods` [Default: `0`, Type: `Int`]: periods at the beginning of the data which are not plotted. Useful if you want to filter for all periods but focus only on a certain period later in the sample.
137
137
- $DATA_IN_LEVELS®
@@ -613,7 +613,7 @@ This function shares most of the signature and functionality of [`plot_model_est
613
613
- $PARAMETERS®
614
614
- $ALGORITHM®
615
615
- $FILTER®
616
-
- $VARIABLES®
616
+
- $(VARIABLES®(DEFAULT_VARIABLES_EXCLUDING_OBC))
617
617
- `shocks` [Default: `:all`]: shocks for which to plot the estimates. Inputs can be either a `Symbol` (e.g. `:y`, or `:all`), `Tuple{Symbol, Vararg{Symbol}}`, `Matrix{Symbol}`, or `Vector{Symbol}`.
618
618
- `presample_periods` [Default: `0`, Type: `Int`]: periods at the beginning of the data which are not plotted. Useful if you want to filter for all periods but focus only on a certain period later in the sample.
619
619
- $DATA_IN_LEVELS®
@@ -1427,7 +1427,7 @@ If the model contains occasionally binding constraints and `ignore_obc = false`
@@ -3147,7 +3147,7 @@ If occasionally binding constraints are present in the model, they are not taken
3147
3147
- $MODEL®
3148
3148
# Keyword Arguments
3149
3149
- $PERIODS®
3150
-
- $VARIABLES®
3150
+
- $(VARIABLES®(DEFAULT_VARIABLE_SELECTION))
3151
3151
- $PARAMETERS®
3152
3152
- $SHOW_PLOTS®
3153
3153
- $SAVE_PLOTS®
@@ -3411,7 +3411,7 @@ If the model contains occasionally binding constraints and `ignore_obc = false`
3411
3411
- $MODEL®
3412
3412
- `state` [Type: `Union{Symbol,String}`]: state variable to be shown on x-axis.
3413
3413
# Keyword Arguments
3414
-
- $VARIABLES®
3414
+
- $(VARIABLES®(DEFAULT_VARIABLE_SELECTION))
3415
3415
- $ALGORITHM®
3416
3416
- `σ` [Default: `2`, Type: `Union{Int64,Float64}`]: defines the range of the state variable around the (non) stochastic steady state in standard deviations. E.g. a value of 2 means that the state variable is plotted for values of the (non) stochastic steady state in standard deviations +/- 2 standard deviations.
3417
3417
- $PARAMETERS®
@@ -4059,7 +4059,7 @@ If the model contains occasionally binding constraints and `ignore_obc = false`
4059
4059
- $MODEL®
4060
4060
- `state` [Type: `Union{Symbol,String}`]: state variable to be shown on x-axis.
4061
4061
# Keyword Arguments
4062
-
- $VARIABLES®
4062
+
- $(VARIABLES®(DEFAULT_VARIABLE_SELECTION))
4063
4063
- $ALGORITHM®
4064
4064
- `σ` [Default: `2`, Type: `Union{Int64,Float64}`]: defines the range of the state variable around the (non) stochastic steady state in standard deviations. E.g. a value of 2 means that the state variable is plotted for values of the (non) stochastic steady state in standard deviations +/- 2 standard deviations.
4065
4065
- $PARAMETERS®
@@ -4318,7 +4318,7 @@ If occasionally binding constraints are present in the model, they are not taken
4318
4318
- $INITIAL_STATE®
4319
4319
- `periods` [Default: `40`, Type: `Int`]: the total number of periods is the sum of the argument provided here and the maximum of periods of the shocks or conditions argument.
4320
4320
- $PARAMETERS®
4321
-
- $VARIABLES®
4321
+
- $(VARIABLES®(DEFAULT_VARIABLES_EXCLUDING_OBC))
4322
4322
- `conditions_in_levels` [Default: `true`, Type: `Bool`]: indicator whether the conditions are provided in levels. If `true` the input to the conditions argument will have the non-stochastic steady state subtracted.
4323
4323
- $ALGORITHM®
4324
4324
- `label` [Default: `1`, Type: `Union{Real, String, Symbol}`]: label to attribute to this function call in the plots.
@@ -4762,7 +4762,7 @@ This function shares most of the signature and functionality of [`plot_condition
4762
4762
- $INITIAL_STATE®
4763
4763
- `periods` [Default: `40`, Type: `Int`]: the total number of periods is the sum of the argument provided here and the maximum of periods of the shocks or conditions argument.
4764
4764
- $PARAMETERS®
4765
-
- $VARIABLES®
4765
+
- $(VARIABLES®(DEFAULT_VARIABLES_EXCLUDING_OBC))
4766
4766
- `conditions_in_levels` [Default: `true`, Type: `Bool`]: indicator whether the conditions are provided in levels. If `true` the input to the conditions argument will have the non-stochastic steady state subtracted.
Copy file name to clipboardExpand all lines: src/common_docstrings.jl
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,8 @@
2
2
const MODEL® ="`𝓂`: object created by [`@model`](@ref) and [`@parameters`](@ref)."
3
3
const PARAMETER_VALUES® ="`parameters` [Type: `Vector`]: Parameter values in alphabetical order (sorted by parameter name)."
4
4
const PARAMETERS® ="`parameters` [Default: `nothing`]: If `nothing` is provided, the solution is calculated for the parameters defined previously. Acceptable inputs are a `Vector` of parameter values, a `Vector` or `Tuple` of `Pair`s of the parameter `Symbol` or `String` and value. If the new parameter values differ from the previously defined the solution will be recalculated."
5
-
const VARIABLES® ="`variables` [Default: `$(DEFAULT_VARIABLES_EXCLUDING_OBC)`]: variables for which to show the results. Inputs can be a variable name passed on as either a `Symbol` or `String` (e.g. `:y` or \"y\"), or `Tuple`, `Matrix` or `Vector` of `String` or `Symbol`. Any variables not part of the model will trigger a warning. `$(DEFAULT_VARIABLES_EXCLUDING_AUX_AND_OBC)` contains all shocks less those related to auxiliary variables and related to occasionally binding constraints (obc). `$(DEFAULT_VARIABLES_EXCLUDING_OBC)` contains all shocks less those related to auxiliary variables. `$(DEFAULT_VARIABLE_SELECTION)` will contain all variables."
5
+
# const VARIABLES® = "`variables` [Default: `$(DEFAULT_VARIABLES_EXCLUDING_OBC)`]: variables for which to show the results. Inputs can be a variable name passed on as either a `Symbol` or `String` (e.g. `:y` or \"y\"), or `Tuple`, `Matrix` or `Vector` of `String` or `Symbol`. Any variables not part of the model will trigger a warning. `$(DEFAULT_VARIABLES_EXCLUDING_AUX_AND_OBC)` contains all shocks less those related to auxiliary variables and related to occasionally binding constraints (obc). `$(DEFAULT_VARIABLES_EXCLUDING_OBC)` contains all shocks less those related to auxiliary variables. `$(DEFAULT_VARIABLE_SELECTION)` will contain all variables."
6
+
VARIABLES® = x ->"`variables` [Default: `$x`]: variables for which to show the results. Inputs can be a variable name passed on as either a `Symbol` or `String` (e.g. `:y` or \"y\"), or `Tuple`, `Matrix` or `Vector` of `String` or `Symbol`. Any variables not part of the model will trigger a warning. `$(DEFAULT_VARIABLES_EXCLUDING_AUX_AND_OBC)` contains all shocks less those related to auxiliary variables and related to occasionally binding constraints (obc). `$(DEFAULT_VARIABLES_EXCLUDING_OBC)` contains all shocks less those related to auxiliary variables. `$(DEFAULT_VARIABLE_SELECTION)` will contain all variables."
6
7
const SHOCKS® = "`shocks` [Default: `$(DEFAULT_SHOCKS_EXCLUDING_OBC)`]: shocks for which to calculate the IRFs. Inputs can be a shock name passed on as either a `Symbol` or `String` (e.g. `:y`, or \"y\"), or `Tuple`, `Matrix` or `Vector` of `String` or `Symbol`. `:simulate` triggers random draws of all shocks (excluding occasionally binding constraints (obc) related shocks). `$(DEFAULT_SHOCKS_EXCLUDING_OBC)` will contain all shocks but not the obc related ones. `$(DEFAULT_SHOCK_SELECTION)` will contain also the obc related shocks. A series of shocks can be passed on using either a `Matrix{Float64}`, or a `KeyedArray{Float64}` as input with shocks (`Symbol` or `String`) in rows and periods in columns. The `KeyedArray` type is provided by the `AxisKeys` package. The period of the simulation will correspond to the length of the input in the period dimension + the number of periods defined in `periods`. If the series of shocks is input as a `KeyedArray{Float64}` make sure to name the rows with valid shock names of type `Symbol`. Any shocks not part of the model will trigger a warning. `:none` in combination with an `initial_state` can be used for deterministic simulations."
7
8
const DERIVATIVES® ="`derivatives` [Default: `$(DEFAULT_DERIVATIVES_FLAG)`, Type: `Bool`]: calculate derivatives with respect to the parameters."
8
9
const PERIODS® ="`periods` [Default: `$(DEFAULT_PERIODS)`, Type: `Int`]: number of periods for which to calculate the output. In case a matrix of shocks was provided, periods defines how many periods after the series of shocks the output continues."
Copy file name to clipboardExpand all lines: src/get_functions.jl
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -645,7 +645,7 @@ If occasionally binding constraints are present in the model, they are not taken
645
645
- $INITIAL_STATE®
646
646
- `periods` [Default: `40`, Type: `Int`]: the total number of periods is the sum of the argument provided here and the maximum of periods of the shocks or conditions argument.
647
647
- $PARAMETERS®
648
-
- $VARIABLES®
648
+
- $(VARIABLES®(DEFAULT_VARIABLES_EXCLUDING_OBC))
649
649
- `conditions_in_levels` [Default: `true`, Type: `Bool`]: indicator whether the conditions are provided in levels. If `true` the input to the conditions argument will have the non-stochastic steady state subtracted.
0 commit comments