https://hal.science/hal-04318163>, this package allows allocating variable input costs among crops produced by farmers based on panel data including information on input expenditure aggregated at the farm level and acreage shares. It also considers in fairly way the weighting data and can allow integrating time-varying and time-constant control variables.">

winputall: Variable Input Allocation Among Crops (original) (raw)

Using a time-varying random parameters model developed in Koutchade et al., (2024) <https://hal.science/hal-04318163>, this package allows allocating variable input costs among crops produced by farmers based on panel data including information on input expenditure aggregated at the farm level and acreage shares. It also considers in fairly way the weighting data and can allow integrating time-varying and time-constant control variables.

Version:

1.0.1

Depends:

R (≥ 3.4.0)

Imports:

dplyr, future, future.apply, graphics, ks, LearnBayes, MASS, Matrix, matrixcalc, matrixStats, methods, plm, Rcpp (≥ 0.12.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), rstantools (≥ 2.4.0), stats, utils

LinkingTo:

BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), StanHeaders (≥ 2.18.0)

Suggests:

spelling, testthat (≥ 3.0.0)

Published:

2024-06-07

DOI:

10.32614/CRAN.package.winputall

Author:

Obafèmi Philippe KoutchadeORCID iD [aut, cre, cph], Fabienne Femenia [aut], Alain Carpentier [aut]

Maintainer:

Obafèmi Philippe Koutchade <obafemi-philippe.koutchade at inrae.fr>

License:

GPL (≥ 3)

NeedsCompilation:

yes

SystemRequirements:

GNU make

Language:

en-US

Materials:

README

CRAN checks:

winputall results