GithubHelp home page GithubHelp logo

liulch / bpcausal Goto Github PK

View Code? Open in Web Editor NEW
24.0 24.0 5.0 403 KB

A package for Bayesian causal inference with time-series cross-sectional data

License: GNU General Public License v3.0

R 52.99% C++ 47.01%

bpcausal's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bpcausal's Issues

Population weights?

Hello, is there any way to incorporate population weights so that we can have a weighted average for outcome estimates? Something analogous to the gsynth package option of "weight"?

`BpCausal` with no controls

Hello,

I'm very interested in BpCausal. I'd like to compare my proposed Bayesian approach to synthetic control to BpCausal. However, my approach does not use covariates. I'm struggling in running BpCausal without covariates. I was hoping to do so, similarly to how one can run Y~D with gsynth when no covariates are included.

Is there a workaround for BpCausal? Thanks!

bpCausal install issue

Hi, thanks so much to the team for your very cool work and your dedication to providing open source software! I am able to install the group's other software packages (fect, gsynth, panelView), but when I try to install bpCausal I get the following error message:
Screen Shot 2022-01-18 at 5 08 03 PM

Has this issue been reported before? I am thinking that maybe the most recent github commit may have gone to a branch other than master, and maybe that's what's causing the problem? Please let me know if you have any thoughts about how to resolve it.

Thanks!
Rachel Nethery

Rtudio cloud

Hi I try to install the package using Rtudio cloud but it appears this message

devtools::install_github('liulch/bpCausal')
Downloading GitHub repo liulch/bpCausal@HEAD
✓ checking for file ‘/tmp/RtmpAotsF4/remotesec1e04679c/liulch-bpCausal-532297e/DESCRIPTION’ ...
─ preparing ‘bpCausal’:
✓ checking DESCRIPTION meta-information ...
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ looking to see if a ‘data/datalist’ file should be added
─ building ‘bpCausal_0.0.1.tar.gz’

Installing package into ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)

  • installing source package ‘bpCausal’ ...
    ** using staged installation
    ** libs
    g++ -std=gnu++11 -I"/opt/R/4.0.3/lib/R/include" -DNDEBUG -I'/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o
    g++ -std=gnu++11 -I"/opt/R/4.0.3/lib/R/include" -DNDEBUG -I'/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -c blasso.cpp -o blasso.o
    g++: fatal error: Killed signal terminated program cc1plus
    compilation terminated.
    make: *** [/opt/R/4.0.3/lib/R/etc/Makeconf:181: blasso.o] Error 1
    ERROR: compilation failed for package ‘bpCausal’
  • removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/bpCausal’
    Warning message:
    In i.p(...) :
    installation of package ‘/tmp/RtmpAotsF4/fileec1f7e44a6/bpCausal_0.0.1.tar.gz’ had non-zero exit status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.