guarantee_rank_condition to
simulateData() to provide option to ensure that final
design matrix has full column rank.fetwfe().twfeCovs() (implementation of two-way fixed effects
with covariates)twfeCovsWithSimulatedData() (analogous to
fetwfeWithSimulatedData())btwfe() (implementation of bridge-penalized extended
two-way fixed effects)btwfeWithSimulatedData() (analogous to
fetwfeWithSimulatedData())etwfe() (implementation of extended two-way fixed
effects)etwfeWithSimulatedData() (analogous to
fetwfeWithSimulatedData())attgtToFetwfeDf() (converts data.frame formatted for
did::att_gt() to format required for fetwfe()
and fewtfe::etwfe()ewtfeToFetwfeDf() (converts data.frame formatted for
etwfe::etwfe() to format required for fetwfe()
and fetwfe::etwfe()fetwfe().genCoefsCore() and
simulateDataCore() for export, and add tests for them.
(Though these more flexible functions are now available, emphasis for
end users will still be on using wrapper functions
genCoefs() and simulateData().)genCoefs() to a wrapper
function that creates an object that can be piped into
simulateData(), itself a new wrapper function for the
function that was previously called genRandomData(). The
output of simulateData() can then be piped into another new
wrapper function, fetwfeWithSimulatedData().add_ridge to fetwfe(),
which adds a ridge regularization term to the (untransformed)
coefficients in estimation, similarly to the elastic net.getTes() to get treatment effects from a
vector of coefficients generated by genCoefs() and/or
estimated on data generated from genRandomData().genRandomData(), for generating random
panel data suitable for fetwfe(), and
genCoefs(), which generates a random vector of coefficients
that is needed as an input to genRandomData().lambda.max_model_sizemessage()
instead of print(), and modified code so that all messages
are suppressed when the argument verbose is FALSE..Rbuildignore to conform with CRAN
requirements.fetwfe package implementing the
Fused Extended Two-Way Fixed Effects estimator.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.