propertee1.0.4 package

Standardization-Based Effect Estimation with Optional Prior Covariance Adjustment

dot-check_df_moderator_estimates

(Internal) Replace standard errors for moderator effect estimates with...

dot-check_spec_formula

(Internal) Perform checks on formula for creation of StudySpecificatio...

dot-expand.model.frame_teeMod

Add new variables to a model frame from a teeMod object

dot-fallback_data_search

(Internal) Fallback brute force method to locate data in the call st...

dot-find_dichotomies

(Internal) Find dichotomy formulas in the call stack

dot-get_appinv_atp

(Internal) Product of App1AτpTA_{pp}^{-1} A_{\tau p}^T

dot-get_col_from_new_data

(Internal) Extract specified type from new data set

dot-get_data_from_model

(Internal) Locate data in call stack

dot-get_DB_covadj_bread

(Internal) Bread matrix of design-based variance

dot-get_DB_covadj_meat

(Internal) Meat matrix of design-based variance

dot-get_DB_covadj_se

(Internal) Design-based variance for models with covariance adjustment

dot-get_DB_wo_covadj_se

(Internal) Design-based variance for models without covariance adjustm...

dot-remove_forcing

(Internal) Removes the forcing column entirely from a `StudySpecificat...

dot-rename_model_frame_columns

(Internal) Rename columns to strip function calls

dot-sanitize_C_ids

(Internal) Return ID's used to order observations in the covariance ad...

dot-sanitize_Q_ids

(Internal) Return ID's used to order observations in the direct adjust...

dot-show_layer

(Internal) show helper for PreSandwichLayer/SandwichLayer

dot-specification_accessors_newdata_validate

(Internal) Checks newdata/by argument for specification accessors

dot-update_by

(Internal) Use by to update StudySpecification with new variable n...

dot-update_ca_model_formula

(Internal) Add columns for merging covariance adjustment and direct ad...

dot-update_call_formula

(Internal) Updates spec@call's formula with the currently defined va...

dot-update_form_to_unit_of_assignment

(Internal) Rename cluster/unitid/uoa in a formula to unit_of_assignmen...

dot-update_structure

(Internal) Replaces type columns in specification with new

dot-validate_dichotomy

(Internal) Validate a dichotomy against other dichotomies found in the...

dot-weights_calc

(Internal) Worker function for weight calculation

teeMod_summary

Summarizing teeMod objects

validWeights

Valid Weights

var_estimators

Variance/Covariance for teeMod objects

vcov.teeMod

Compute variance-covariance matrix for fitted teeMod model

WeightCreators

Generate Direct Adjusted Weights for Treatment Effect Estimation

WeightedStudySpecification-class

(Internal) Modeling weights with an accompanying StudySpecification

WeightedStudySpecification.subset

WeightedStudySpecification subsetting

WeightedStudySpecificationOps

WeightedStudySpecification Operations

weights-WeightedStudySpecification-method

Extract Weights from WeightedStudySpecification

dot-bin_txt

(Internal) Extracts treatment as binary vector

dot-check_by

(Internal) A few checks to ensure by= is valid

dot-apply_dichotomy

(Internal) Applies dichotomy to treatment

areg.center

Group-center akin to Stata's areg

as_lmitt

Convert lm object into teeMod

as.SandwichLayer

Convert a PreSandwichLayer to a SandwichLayer with a `StudySpecifi...

AssignedAliases

Obtain Treatment from StudySpecification

block_center_residuals

Adjust residuals for both-sides absorption

bread.teeMod

Extract bread matrix from a teeMod model fit

c-WeightedStudySpecification-method

Concatenate weights

dot-as_data_frame

Convert object to data.frame or produce meaningful error

dot-base_S3class_estfun

(Internal) Extract empirical estimating equations from a teeMod mode...

cluster_iss

(Internal) Compute (IiHii)1/2(I_{i} - H_{ii})^{-1/2} as part of CR2 variance e...

confint.teeMod

Confidence intervals with standard errors provided by vcov.teeMod()

cov_adj

Covariance adjustment of teeMod model estimates

dot-.uoa..

Return ..uoa.. column

dot-add_mat_diag

(Internal) Helper function for design-based meat matrix calculation

dot-add_mat_sqdif

(Internal) Helper function for design-based meat matrix calculation

dot-add_vec

(Internal) Helper function for design-based meat matrix calculation

dot-aggregate_to_cluster

(Internal) Aggregate weights and outcomes to cluster level

dot-align_and_extend_estfuns

(Internal) Align the dimensions and rows of direct adjustment and cova...

dot-compute_IK_dof

(Internal) Compute the degrees of freedom of a contrast of a sandwich ...

dot-compute_loo_resids

Compute residuals for a teeMod object with leave-one-out estimates o...

dot-confint_lm

Produce confidence intervals for linear models

dot-convert_to_data.frame

(Internal) Ensures replacement column for StudySpecificationis a `da...

dot-cov_mat_est

(Internal) Helper function for design-based meat matrix calculation

dot-cov01_est

(Internal) Helper function for design-based meat matrix calculation

dot-estfun_DB_blockabsorb

Design-based estimating equations contributions

dot-expand_txt

(Internal) Expand treatment variable from a StudySpecificationto a d...

dot-get_dof

(Internal) Compute the degrees of freedom of a contrast of a sandwich ...

dot-get_phi_tilde

(Internal) Calculate grave{phi}

dot-get_spec

(Internal) Locate a StudySpecification in the call stack

dot-join_spec_weights

(Internal) Expand unit of assignment level weights to the level of the...

dot-make_PreSandwichLayer

(Internal) Get covariance adjustments and their gradient with respect ...

dot-make_uoa_cluster_df

Make a dataframe that links units of assignment with clusters

dot-make_uoa_ids

Make ID's to pass to the cluster argument of vcov_tee()

dot-merge_block_id_cols

(Internal) Merge multiple block IDs

dot-merge_preserve_order

(Internal) Merge data.frames ensuring order of first data.frame is...

dot-new_StudySpecification

(Internal) Create a new StudySpecification object.

dot-order_samples

(Internal) Order observations used to fit a teeMod model and a prior...

dot-prepare_spec_matrix

(Internal) Helper function for design-based meat matrix calculation

dot-rcorrect

(Internal) Bias correct residuals contributing to standard errors of a...

estfun.teeMod

Extract empirical estimating equations from a teeMod model fit

glmrob_methods

Extract empirical estimating equations from a glmbrob model fit

has_binary_treatment

Check whether treatment stored in a StudySpecification object is bin...

identical_StudySpecifications

Test equality of two StudySpecification objects

identify_small_blocks

Identify fine strata

lmitt

Linear Model for Intention To Treat

lmrob_methods

Generate matrix of estimating equations for lmrob() fit

PreSandwichLayer-class

(Internal) model predictions with some model artifacts, as S4 object

PreSandwichLayer.show

Show a PreSandwichLayer or SandwichLayer

PreSandwichLayer.subset

PreSandwichLayer and SandwichLayer subsetting

sandwich_elements_calc

(Internal) Estimate components of the sandwich covariance matrix retur...

SandwichLayer-class

(Internal) model predictions with more model artifacts, as S4 object

show-StudySpecification-method

Show a StudySpecification

show-teeMod-method

Show a teeMod

show-WeightedStudySpecification-method

Show a WeightedStudySpecification

specification_data_concordance

Check for variable agreement within units of assignment

specification_table

Table of elements from a StudySpecification

specificationconversion

Convert StudySpecification between types

StudySpecification_extractreplace

Accessors and Replacers for StudySpecification objects

StudySpecification_objects

Generates a StudySpecification object with the given specifications.

StudySpecification_structure

StudySpecification Structure Information

StudySpecification_summary

Summarizing StudySpecification objects

StudySpecification_var_names

Extract Variable Names from StudySpecification

StudySpecificationSpecials

Special terms in StudySpecification creation formula

The Prognostic Regression Offsets with Propagation of ERrors (for Treatment Effect Estimation) package facilitates direct adjustment for experiments and observational studies that is compatible with a range of study designs and covariance adjustment strategies. It uses explicit specification of clusters, blocks and treatment allocations to furnish probability of assignment-based weights targeting any of several average treatment effect parameters, and for standard error calculations reflecting these design parameters. For covariance adjustment of its Hajek and (one-way) fixed effects estimates, it enables offsetting the outcome against predictions from a dedicated covariance model, with standard error calculations propagating error as appropriate from the covariance model.

  • Maintainer: Josh Errickson
  • License: MIT + file LICENSE
  • Last published: 2026-01-23