Skip to contents

# Exponential Values after One-Sided Response Integer Variable Forecasting

Source: `R/invscaledlogit.R`
`invscaledlogit.Rd`

This function is used to estimate exponential lower (80% and 95%) and upper (80% and 95%) values from the outcome of the `scaledlogit` function. The exponentiation ensures that the forecast does not go beyond the upper and lower limits of the base data.

## Usage

    invscaledlogit(x, lower, upper)

## Arguments

x

  The forecast values from constrained forecast package. Please specify the appropriate column containing the forecast values.

lower

  Lower limits of the forecast values

upper

  Upper limits of the forecast values

## Examples

    x <- 1:35
    lower <- 1
    upper <- 35
    invscaledlogit(x = x, lower = lower, upper = upper)
    #>  [1] 26 31 33 34 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35
    #> [26] 35 35 35 35 35 35 35 35 35 35