Skip to content

Commit

Permalink
version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kolesarm authored and cran-robot committed Feb 15, 2024
0 parents commit 464feb5
Show file tree
Hide file tree
Showing 25 changed files with 2,320 additions and 0 deletions.
40 changes: 40 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Package: multe
Title: Multiple Treatment Effects Regression
Version: 1.0.0
Authors@R:
c(person(given = "Michal",
family = "Kolesár",
role = c("aut", "cre"),
email = "kolesarmi@googlemail.com",
comment = c(ORCID = "0000-0002-2482-7796")),
person(given= "Paul",
family = "Goldsmith-Pinkham",
role = "ctb",
email = "paulgp@gmail.com"),
person(given = "Peter",
family = "Hull",
role = "ctb",
email = "peter_hull@brown.edu"))
Description: Implements contamination bias diagnostics and alternative
estimators for regressions with multiple treatments. The implementation is
based on Goldsmith-Pinkham, Hull, and Kolesár (2022) <arXiv:2106.05024>.
Depends: R (>= 4.3.0)
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Imports: stats, nnet
Suggests: spelling, knitr, formatR, rmarkdown, testthat (>= 3.0.0)
Config/testthat/edition: 3
Language: en-US
URL: https://github.com/kolesarm/multe
BugReports: https://github.com/kolesarm/multe/issues
RoxygenNote: 7.3.1
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2024-02-13 18:22:24 UTC; kolesarm
Author: Michal Kolesár [aut, cre] (<https://orcid.org/0000-0002-2482-7796>),
Paul Goldsmith-Pinkham [ctb],
Peter Hull [ctb]
Maintainer: Michal Kolesár <kolesarmi@googlemail.com>
Repository: CRAN
Date/Publication: 2024-02-14 17:30:12 UTC
2 changes: 2 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
YEAR: 2023
COPYRIGHT HOLDER: Michal Kolesár
24 changes: 24 additions & 0 deletions MD5
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
9b1bcd149314f3381f96d91777987a61 *DESCRIPTION
cd20ec508921930c8e9918ea824859a3 *LICENSE
12d3d1f827156e84388e2a8af5027a36 *NAMESPACE
c966851924248cde6f0637a38c7ef7a7 *NEWS.md
45d992118e8378e529e9d9210aaca1ba *R/docs.R
f343e00edec7dbf6af37fb4d222a728c *R/functions.R
18e3faa759312d2b9bc3f13fd4e7bc92 *R/multe.R
7080893e02c49cd296d4424b9be55069 *build/partial.rdb
62e83d480ebbd402d1e7353c608b5f87 *build/vignette.rds
cb9559dc0c8d310db0b554d4bc138f5b *data/fl.rda
b1145daefd8eaa24ef816d608c733a94 *inst/WORDLIST
bd6c22b24262a07aa9994af3bc3b60e0 *inst/doc/multe.R
a145847fc618d1586aec8fe9db6c4656 *inst/doc/multe.Rmd
bfec53c61faa89cf675c628dbd6e973d *inst/doc/multe.pdf
4a900ead7d2640e156c127fb0ec6f944 *man/fl.Rd
942915d4b09ee72a02cea96837be791d *man/multe.Rd
cfd29e708c87a72ad33acf76570706ba *tests/spelling.R
c305255f998a691917b28e17b5065ed1 *tests/testthat.R
1a549f3e1ef0f8b18d1847f2725059cb *tests/testthat/test-EHW-check.R
a5a73e1f0b8e7480cf44522c07a745c3 *tests/testthat/test-hessian.R
899023efa44859120c7cde6788af5d7d *vignettes/auto/library.el
470c38614f40e576bcba9b6e037620c2 *vignettes/library.bib
a145847fc618d1586aec8fe9db6c4656 *vignettes/multe.Rmd
811ad5909d019277f6ab3d06ed76cd81 *vignettes/vignette_head.tex
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Generated by roxygen2: do not edit by hand

S3method(print,multe)
export(multe)
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# multe 1.0.0

## New Features

- The function `multe` computes contamination bias decomposition and alternative
estimators using method developed in [Goldsmith-Pinkham, Hull, and Kolesár
(2022)](https://arxiv.org/abs/2106.05024).
63 changes: 63 additions & 0 deletions R/docs.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
#' ECLS data from Fryer and Levitt (2013)
#'
#' This dataset contains a subset of the publicly available Early Childhood
#' Longitudinal Study Birth Cohort data from Fryer and Levitt (2013).
#' @format A data frame with 8806 rows corresponding to children and
#' 21 columns corresponding to the variables:
#'
#' \describe{
#'
#' \item{W1C0}{Sampling weights (first interview)}
#'
#' \item{W2C0}{Sampling weights (second interview)}
#'
#' \item{multiple_birth}{Multiple birth status}
#'
#' \item{parent_score}{Interviewer rating of the effectiveness of the `parent as
#' a teacher', Nursing Child Assessment Teaching Scale (total score).}
#'
#' \item{SES_quintile}{Quintile of socioeconomic status}
#'
#' \item{region}{US region}
#'
#' \item{interviewer_ID_9}{Interviewer ID (first interview)}
#'
#' \item{interviewer_ID_24}{Interviewer ID (second interview)}
#'
#' \item{mom_age}{Age of mother}
#'
#' \item{days_premature}{Days premature}
#'
#' \item{siblings}{Number of siblings}
#'
#' \item{family_structure}{Family structure}
#'
#' \item{birthweight}{Birthweight category}
#'
#' \item{female}{Female}
#'
#' \item{mom_age_NA}{Age of mother missing}
#'
#' \item{age_9}{Age at first interview}
#'
#' \item{age_24}{Age at second interview}
#'
#' \item{std_iq_9}{Standardized IQ at first interview}
#'
#' \item{std_iq_24}{Standardized IQ at second interview}
#'
#' \item{parent_score_NA}{\code{parent_score} missing}
#'
#' \item{race}{Race}
#'
#' }
#' @source \doi{10.3886/E112609V1}

#' @references{
#'
#' \cite{Roland G Fryer and Steven D Levitt. Testing for racial differences in
#' the mental ability of young children. American Economic Review,
#' 103(2):981–1005, April 2013. \doi{10.1093/qje/qjy006}}
#'
#' }
"fl"

0 comments on commit 464feb5

Please sign in to comment.