get_stan_terminal_ebit: Get the posterior distribution of terminal year EBIT (LEGACY)

View source: R/stan_funcs_legacy.R

get_stan_terminal_ebitR Documentation

Get the posterior distribution of terminal year EBIT (LEGACY)

Description

This function calculates terminal year EBIT posterior

Usage

get_stan_terminal_ebit(
  N,
  growth_roic_reinv_sigma,
  ebit_flow_5,
  sigma_ebit,
  roic,
  growth
)

Arguments

N

Number Length of sigma_ebit and sigma_reinvestment_rate, both should be same length companies, which similar with the current firm of interest

ebit_flow_5

EBIT Y5 value

sigma_ebit

Vector Y2Y EBIT numeric differences across

roic

Number Company ROIC

growth

Number Company growth

Value

Tibble Terminal EBIT posterior

Examples

# get_terminal_ebit(N=5, growth_roic_reinv_sigma=c(0.2,0.5,0.25,0.3,0.4),
 #  ebit_flow_5=as.numeric(tidy_ebits_flows$parameters[5]),
 #  sigma_ebit = c(400,299,376,420,500),
 #  roic=0.25,
 #  growth=0.045)

TracyRage/fun_valuation documentation built on Jan. 29, 2023, 8:41 a.m.