ffy_opt_dtgch_cbem4: Generates A_i and alpha_i for linear and log linear problems...

Description Usage Value Author(s) References Examples

View source: R/ffy_opt_dtgch.R

Description

Given a dataset with Y, x1, xothers. Regress with log linear and linear structures to obtain A and alpha that the linear and log linear optimal allocation problems understand. dtgch = data guatemala cebu height. There discrete groups, allowing for alpha to differ. *ffv_opt_dtgch_cbem4.Rmd* tests the code here and generates rda file that is saved in data folder.

Usage

1

Value

a list with two tibble with guatemala and cebu dataset only some columns and A and alpha lin loglin

Author(s)

Fan Wang, http://fanwangecon.github.io

References

https://fanwangecon.github.io/PrjOptiAlloc/reference/ffy_opt_dtgch_cbem4.html https://fanwangecon.github.io/PrjOptiAlloc/articles/ffv_opt_dtgch_cbem4.html

Examples

1
2
3
ls_opti_alpha_A <- ffy_opt_dtgch_cbem4()
head(ls_opti_alpha_A$df_raw, 10)
head(ls_opti_alpha_A$df_esti, 10)

FanWangEcon/PrjOptiAlloc documentation built on Jan. 25, 2022, 6:55 a.m.