Package: cia 1.0.0.9000

Mathew Varidel

cia: Learn and Apply Directed Acyclic Graphs for Causal Inference

Causal Inference Assistance (CIA) for performing causal inference within the structural causal modelling framework. Structure learning is performed using partition Markov chain Monte Carlo (Kuipers & Moffa, 2017) and several additional functions have been added to help with causal inference. Kuipers and Moffa (2017) <doi:10.1080/01621459.2015.1133426>.

Authors:Mathew Varidel [aut, cre, cph], Victor An [ctb]

cia_1.0.0.9000.tar.gz
cia_1.0.0.9000.zip(r-4.5)cia_1.0.0.9000.zip(r-4.4)
cia_1.0.0.9000.tgz(r-4.4-any)
cia_1.0.0.9000.tar.gz(r-4.5-noble)cia_1.0.0.9000.tar.gz(r-4.4-noble)
cia_1.0.0.9000.tgz(r-4.4-emscripten)
cia.pdf |cia.html
cia/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/spaceodyssey/cia/issues

On CRAN:

3.81 score 5 scripts 30 downloads 30 exports 53 dependencies

Last updated 5 days agofrom:0d2ba0af3a. Checks:OK: 5. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 18 2024
R-4.5-winOKNov 18 2024
R-4.5-linuxOKNov 18 2024
R-4.4-winOKNov 18 2024
R-4.4-macOKNov 18 2024

Exports:BNLearnScorerCalculateAcceptanceRatesCalculateEdgeProbabilitiesCalculateFeatureMeanCollectUniqueObjectsCreateScorerDAGtoCPDAGDAGtoPartitionDefaultProposalFlattenChainsGetEmptyDAGGetIncrementalScoringEdgesGetLowestPairwiseScoringEdgesGetMAPMutilateGraphPartitionMCMCPartitiontoDAGPlotConcordancePlotCumulativeMeanTracePlotScoreTracePostProcessChainsSampleChainsSampleEdgeProbabilitiesSamplePosteriorPredictiveChainsScoreDAGScoreLabelledPartitiontoBNLearntogRaintoMatrixUniformlySampleDAG

Dependencies:arrangementsbackportsbnlearnbroomclicodetoolscolorspacecpp11doParalleldplyrfansifarverfastmatchforeachgenericsggplot2gluegmpgRaingRbasegtableigraphisobanditeratorslabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepatchworkpillarpkgconfigpurrrR6RColorBrewerRcppRcppArmadilloRcppEigenrlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Index a cia_chain object[.cia_chain
Index a cia_chains object[.cia_chains
Indexing with respect to iterations.[.cia_post_chain
Index a cia_post_chains object with respect to iterations.[.cia_post_chains
Index a cia_chains object[[.cia_chains
Index a cia_post_chains object.[[.cia_post_chains
BNLearnScorerBNLearnScorer
Calculate acceptance ratesCalculateAcceptanceRates
Calculate pairwise edge probabilitiesCalculateEdgeProbabilities
Calculate arithmetic mean for a DAG featureCalculateFeatureMean
Collect unique objectsCollectUniqueObjects
Scorer constructorCreateScorer
Convert DAG to CPDAGDAGtoCPDAG
Convert DAG to partitionDAGtoPartition
Default proposal constructorDefaultProposal
Flatten chainsFlattenChains
Get an empty DAG given a set of nodes.GetEmptyDAG
Get incremental edgesGetIncrementalScoringEdges
Preprocessing for blacklisting Get the lowest pairwise scoring edges.GetLowestPairwiseScoringEdges
Get the maximum a posteriori stateGetMAP
Mutilate graphMutilateGraph
Transition objects. Partition MCMCPartitionMCMC
Sample DAG from partitionPartitiontoDAG
Concordance plotPlotConcordance
Plot cumulative mean trace plot.PlotCumulativeMeanTrace
Plot the score tracePlotScoreTrace
Index chains for further analysisPostProcessChains
Sample chainsSampleChains
Sample edge probabilitiesSampleEdgeProbabilities
Draw from a posterior predictive distributionSamplePosteriorPredictiveChains
Score DAG.ScoreDAG
Score labelled partitionScoreLabelledPartition
Convert to bnlearn object.toBNLearn
Convert to a gRain object.togRain
Convert to adjacency matrix.toMatrix
Uniformly sample DAGUniformlySampleDAG