steady_state: Solve for the Deterministic Steady State

View source: R/steady-state.R

steady_stateR Documentation

Solve for the Deterministic Steady State

Description

Finds the steady-state values of all model variables by solving the system of nonlinear equations with all leads set equal to current values.

Usage

steady_state(model, ...)

## S3 method for class 'dsgenl_model'
steady_state(
  model,
  params = NULL,
  guess = NULL,
  maxiter = 200L,
  tol = 1e-10,
  ...
)

Arguments

model

A dsgenl_model object.

...

Additional arguments (currently unused).

params

Named numeric vector of parameter values. If NULL, uses the model's fixed and start values.

guess

Named numeric vector of initial guesses for variable values. Overrides the model's ss_guess.

maxiter

Maximum Newton-Raphson iterations. Default is 200.

tol

Convergence tolerance. Default is 1e-10.

Value

An object of class "dsgenl_steady_state" with:

values

Named numeric vector of steady-state values.

residuals

Equation residuals at the solution.

params

Parameter values used.

converged

Logical: did the solver converge?

iterations

Number of iterations used.


dsge documentation built on Sept. 25, 2026, 5:08 p.m.