Description Usage Value Author(s) References Examples
View source: R/ffy_opt_dtgch.R
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.
1 |
a list with two tibble with guatemala and cebu dataset only some columns and A and alpha lin loglin
df_raw - Dataframe from Guat/Cebu subsetted Ceb only, 4 categories
df_esti - A dataframe with 5 columns, lin and loglin A, alpha and beta.
Fan Wang, http://fanwangecon.github.io
https://fanwangecon.github.io/PrjOptiAlloc/reference/ffy_opt_dtgch_cbem4.html https://fanwangecon.github.io/PrjOptiAlloc/articles/ffv_opt_dtgch_cbem4.html
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.