BMisc1.4.7 package

Miscellaneous Functions for Panel Data, Quantiles, and Printing Results

addCovToFormla

Add a Covariate to a Formula

blockBootSample

Block Bootstrap

BMisc

BMisc

check_staggered_inner

check_staggered_inner

check_staggered

check_staggered

checkfun

Check Function

combineDfs

Combine Two Distribution Functions

compareBinary

Compare Variables across Groups

compareSingleBinary

Compare a single variable across two groups

cs2panel

Cross Section to Panel

drop_collinear

drop_collinear

dropCovFromFormla

Drop a Covariate from a Formula

element_wise_mult

element_wise_mult

get_first_difference

get_first_difference

get_group_inner

get_group_inner

get_group

get_group

get_lagYi

get_lagYi

get_principal_components

get_principal_components

get_Yi1_inner

get_Yi1_inner

get_Yi1

get_Yi1

get_Yibar_inner

get_Yibar_inner

get_Yibar_pre_inner

get_Yibar_pre_inner

get_Yibar_pre

get_Yibar_pre

get_Yibar

get_Yibar

get_YiGmin1_inner

get_YiGmin1_inner

get_YiGmin1

get_YiGmin1

get_Yit_inner

get_Yit_inner

get_Yit

get_Yit

getListElement

Return Particular Element from Each Element in a List

getWeightedDf

Weighted Distribution Function

getWeightedMean

Weighted Mean

getWeightedQuantile

Quantile of a Weighted Check Function

getWeightedQuantiles

Get Weighted Quantiles

id2rownum

Take particular id and convert to row number

ids2rownum

Convert Vector of ids into Vector of Row Numbers

invertEcdf

Invert Ecdf

lhs.vars

Left-hand Side Variables

makeBalancedPanel

Balance a Panel Data Set

makeDist

Make a Distribution Function

multiplier_bootstrap

multiplier_bootstrap

mv_mult

Matrix-Vector Multiplication

orig2t_inner

orig2t_inner

orig2t

orig2t

panel2cs

Panel Data to Repeated Cross Sections

panel2cs2

Panel Data to Repeated Cross Sections

rhs

Right-hand Side of Formula

rhs.vars

Right-hand Side Variables

source_all

source_all

subsample

Subsample of Observations from Panel Data

t2orig_inner

t2orig_inner

t2orig

t2orig

time_invariant_to_panel

time_invariant_to_panel

toformula

Variable Names to Formula

TorF

TorF

weighted.checkfun

Weighted Check Function

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.

  • Maintainer: Brantly Callaway
  • License: GPL-2
  • Last published: 2025-01-10