Package: propertee 1.0.6

Josh Wasserman

propertee: Standardization-Based Effect Estimation with Optional Prior Covariance Adjustment

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.

Authors:Josh Errickson [aut], Josh Wasserman [cre, aut], Mark Fredrickson [ctb], Adam Sales [ctb], Xinhe Wang [ctb], Ben Hansen [aut]

propertee_1.0.6.tar.gz
propertee_1.0.6.zip(r-4.7)propertee_1.0.6.zip(r-4.6)propertee_1.0.6.zip(r-4.5)
propertee_1.0.6.tgz(r-4.6-any)propertee_1.0.6.tgz(r-4.5-any)
propertee_1.0.6.tar.gz(r-4.7-any)propertee_1.0.6.tar.gz(r-4.6-any)
propertee_1.0.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
propertee/json (API)

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

Bug tracker:https://github.com/benbhansen-stats/propertee/issues

Datasets:

On CRAN:

Conda:

6.92 score 2 stars 16 scripts 224 downloads 62 exports 3 dependencies

Last updated from:c7c46f375f. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK218
source / vignettesOK205
linux-release-x86_64OK199
macos-release-arm64OK121
macos-oldrel-arm64OK110
windows-develOK132
windows-releaseOK145
windows-oldrelOK138
wasm-releaseOK106

Exports:a.adoptersas_obs_specas_rct_specas_rd_specas.lmittas.SandwichLayeras.teeModassignedatcateatoattblockblocksblocks<-clusterclustersclusters<-cov_adjdefaultetcettforcingforcingsforcings<-get_structurehas_binary_treatmenthas_blocksidentical_StudySpecificationsidentify_small_blockslmittobs_specobs_specificationobsstudy_specobsstudy_specificationolwowtpwtrct_specrct_specificationrd_specrd_specificationshowspecification_data_concordancespecification_tablestablesubsettreatmenttreatment<-unit_of_assignmentunitidunitidsunitids<-units_of_assignmentunits_of_assignment<-uoavar_namesvar_tablevcov_teeweightsz.

Dependencies:latticesandwichzoo

Introduction to propertee
Main Features | Example Data | A Basic Example | Defining the StudySpecification | Estimating the treatment effect | Including specification weights | Covariance Adjustment models | Absorbing Blocks

Last update: 2026-06-26
Started: 2023-08-01

Regression Discontinuity Design
Data and StudySpecification | Background | Analyzing RD Design with ANCOVA | The propertee Approach to RD Design | Analyzing an RD design in propertee | Determining the window of analysis | Initializing the RD Design Object | Modeling $Y_C$ as a function of $R$ | Estimating Effects

Last update: 2025-01-14
Started: 2021-09-10

Non-binary Treatment Specification
Binary Treatment | Missing treatment status | Non-binary Treatment | Dichotomzing a Non-binary Treatment | An Example

Last update: 2024-11-13
Started: 2024-03-23

Readme and manuals

Help Manual

Help pageTopics
'WeightedStudySpecification' Operations*,numeric,WeightedStudySpecification-method *,WeightedStudySpecification,numeric-method +,numeric,WeightedStudySpecification-method +,WeightedStudySpecification,numeric-method -,numeric,WeightedStudySpecification-method -,WeightedStudySpecification,numeric-method /,numeric,WeightedStudySpecification-method /,WeightedStudySpecification,numeric-method
Convert 'StudySpecification' between typesas_obs_spec as_rct_spec as_rd_spec
Convert 'lm' object into 'teeMod'as.lmitt as.teeMod
Convert a 'PreSandwichLayer' to a 'SandwichLayer' with a 'StudySpecification' objectas.SandwichLayer
Obtain Treatment from StudySpecificationa. adopters assigned z.
Extract bread matrix from a 'teeMod' model fitbread.teeMod
Concatenate weightsc,WeightedStudySpecification-method
Confidence intervals with standard errors provided by 'vcov.teeMod()'confint.teeMod
Prepare prognostic regression offset for 'lmitt()' or 'lm()'cov_adj
Instruct 'cov_adj()' to find a default reference value for columns in a covariance adjustment modeldefault
Extract empirical estimating equations from a 'glmbrob' model fitbread.glmrob estfun.glmrob
Generate matrix of estimating equations for 'lmrob()' fitbread.lmrob estfun.lmrob
Extract empirical estimating equations from a 'teeMod' model fitestfun.teeMod
Generate Direct Adjusted Weights for Treatment Effect Estimationatc ate ato att etc ett olw owt pwt
'StudySpecification' Structure Informationget_structure show,StudySpecificationStructure-method
Cluster-randomized experiment data on voter turnout in cable system marketsGV_data
Check whether treatment stored in a 'StudySpecification' object is binaryhas_binary_treatment
Test equality of two 'StudySpecification' objectsidentical_StudySpecifications
Identify fine strataidentify_small_blocks
Linear Model for Intention To Treatlmitt lmitt.formula lmitt.lm
Synthethic Regression Discontinuity DatalsoSynth
Intervention data from a pair-matched study of schools in Michiganmichigan_school_pairs
Generates a 'StudySpecification' object with the given specifications.obsstudy_spec obsstudy_specification obs_spec obs_specification rct_spec rct_specification rd_spec rd_specification
Student dataschooldata studentdata
Show a 'PreSandwichLayer' or 'SandwichLayer'show,PreSandwichLayer-method
Show a 'StudySpecification'show,StudySpecification-method
Show a 'teeMod'show,teeMod-method
Show a 'WeightedStudySpecification'show,WeightedStudySpecification-method
Simulated datasimdata
Check for variable agreement within units of assignmentspecification_data_concordance
Table of elements from a 'StudySpecification'specification_table stable
STAR participants plus nonexperimental controlsSTARplus
'PreSandwichLayer' and 'SandwichLayer' subsettingsubset,PreSandwichLayer-method [,PreSandwichLayer-method
'WeightedStudySpecification' subsettingsubset,WeightedStudySpecification-method [,WeightedStudySpecification-method
Summarizing 'StudySpecification' objectsprint.summary.StudySpecification summary.StudySpecification
Summarizing 'teeMod' objectsprint.summary.teeMod summary.teeMod
Accessors and Replacers for 'StudySpecification' objectsblocks blocks,StudySpecification-method blocks<- blocks<-,StudySpecification-method clusters clusters,StudySpecification-method clusters<- clusters<-,StudySpecification-method forcings forcings,StudySpecification-method forcings<- forcings<-,StudySpecification-method has_blocks treatment treatment,StudySpecification-method treatment<- treatment<-,StudySpecification-method unitids unitids,StudySpecification-method unitids<- unitids<-,StudySpecification-method units_of_assignment units_of_assignment,StudySpecification-method units_of_assignment<- units_of_assignment<-,StudySpecification-method
Special terms in 'StudySpecification' creation formulablock cluster forcing unitid unit_of_assignment uoa
Extract Variable Names from 'StudySpecification'var_names var_table
Compute variance-covariance matrix for fitted 'teeMod' modelvcov.teeMod
Extract Weights from 'WeightedStudySpecification'weights,WeightedStudySpecification-method