Package: BMisc 1.4.9

BMisc: Miscellaneous Functions for Panel Data, Quantiles, and Printing Results

These are miscellaneous functions for working with panel data, quantiles, and printing results. For panel data, the package includes functions for making a panel data balanced (that is, dropping missing individuals that have missing observations in any time period), converting id numbers to row numbers, and to treat repeated cross sections as panel data under the assumption of rank invariance. For quantiles, there are functions to make distribution functions from a set of data points (this is particularly useful when a distribution function is created in several steps), to combine distribution functions based on some external weights, and to invert distribution functions. Finally, there are several other miscellaneous functions for obtaining weighted means, weighted distribution functions, and weighted quantiles; to generate summary statistics and their differences for two groups; and to add or drop covariates from formulas. Additional utilities support staggered treatment adoption settings, including functions for identifying treatment groups, recovering pre-treatment outcomes and covariate averages, and computing lagged outcomes and first differences in panel data.

Authors:Brantly Callaway [aut, cre]

BMisc_1.4.9.tar.gz
BMisc_1.4.9.zip(r-4.7-x86_64)BMisc_1.4.9.zip(r-4.6-x86_64)BMisc_1.4.9.zip(r-4.5-x86_64)
BMisc_1.4.9.tgz(r-4.6-x86_64)BMisc_1.4.9.tgz(r-4.6-arm64)BMisc_1.4.9.tgz(r-4.5-x86_64)BMisc_1.4.9.tgz(r-4.5-arm64)
BMisc_1.4.9.tar.gz(r-4.7-arm64)BMisc_1.4.9.tar.gz(r-4.7-x86_64)BMisc_1.4.9.tar.gz(r-4.6-arm64)BMisc_1.4.9.tar.gz(r-4.6-x86_64)
BMisc_1.4.9.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
BMisc/json (API)

# Install 'BMisc' in R:
install.packages('BMisc', repos = c('https://bcallaway11.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/bcallaway11/bmisc/issues

Pkgdown/docs site:https://bcallaway11.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

7.82 score 7 stars 11 packages 148 scripts 9.7k downloads 70 exports 23 dependencies

Last updated from:eb5164b703. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK131
linux-devel-x86_64OK164
source / vignettesOK221
linux-release-arm64OK137
linux-release-x86_64OK139
macos-release-arm64OK99
macos-release-x86_64OK163
macos-oldrel-arm64OK95
macos-oldrel-x86_64OK239
windows-devel-x86_64OK110
windows-release-x86_64OK139
windows-oldrel-x86_64OK151
wasm-releaseOK142

Exports:add_cov_to_formulaaddCovToFormlablock_boot_sampleblockBootSamplecheck_staggeredcheck_staggered_innercheckfuncombine_ecdfscombineDfscompare_binarycompare_binary_innercompareBinarycs2paneldrop_collineardrop_cov_from_formuladropCovFromFormlaelement_wise_multget_first_differenceget_groupget_group_innerget_lagYiget_list_elementget_principal_componentsget_Yi1get_Yi1_innerget_Yibarget_Yibar_innerget_Yibar_preget_Yibar_pre_innerget_YiGmin1get_YiGmin1_innerget_Yitget_Yit_innergetListElementgetWeightedDfgetWeightedMeangetWeightedQuantilesid2rownumids2rownuminvert_ecdfinvertEcdflhs_varslhs.varsmake_balanced_panelmake_distmakeBalancedPanelmakeDistmultiplier_bootstrapmv_multorig2torig2t_innerpanel2cspanel2cs2rhsrhs_varsrhs.varssource_allsubsamplet2origt2orig_innertime_invariant_to_paneltoformulaTorFweighted_checkfunweighted_combine_listweighted_ecdfweighted_meanweighted_quantileweighted_quantile_innerweighted.checkfun

Dependencies:clicpp11data.tabledplyrgenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6RcppRcppArmadillorlangstringistringrtibbletidyrtidyselectutf8vctrswithr