R/ffd_opt_dtgch_cbem4_rrlop.R

#' Optimal Linear Allocation based on dtgch cbem4 solved by solin relow
#'
#' Generated by *\url{https://fanwangecon.github.io/PrjOptiAlloc/articles/ffv_opt_solin_relow.html}*, opti allocate and expected outcome.
#' solin, linear solution. relow, relative to lowest
#'
#' @docType data
#'
#' @usage data(df_opt_dtgch_cbem4_rrlop)
#'
#' @format csv
#'
#' @keywords datasets
#'
#' @references “Early life height and weight production functions with endogenous energy and protein inputs”, September 2016, 65-81, Economics & Human Biology, 22, Esteban Puentes, Fan Wang, Jere R. Behrman, Flavio Cunha, John Hoddinott, John A. Maluccio, Linda S. Adair, Judith Borja and Reynaldo Martorell
#'
#' @source \url{https://www.sciencedirect.com/science/article/pii/S1570677X16300107}
#'
#' @examples
#' data(df_opt_dtgch_cbem4_rrlop)
#' ar_opti_inpalc <- df_opt_dtgch_cbem4_rrlop[['opti_allocate']]
#' ar_opti_expout <- df_opt_dtgch_cbem4_rrlop[['opti_exp_outcome']]
#' ar_opti_inpalc_cv <- (ar_opti_inpalc - mean(ar_opti_inpalc))/sd(ar_opti_inpalc)
#' ar_opti_expout_cv <- (ar_opti_expout - mean(ar_opti_expout))/sd(ar_opti_expout)
#' # Print
#' head(df_opt_dtgch_cbem4_rrlop, 10)
#' summary(df_opt_dtgch_cbem4_rrlop)
#' print('opti allocation and outcomes rescaled:')
#' print(cbind(ar_opti_expout_cv, ar_opti_inpalc_cv))
"df_opt_dtgch_cbem4_rrlop"
FanWangEcon/PrjOptiAlloc documentation built on Jan. 25, 2022, 6:55 a.m.