Learn R Programming

⚠️There's a newer version (0.1.2) of this package.Take me there.

Replication (version 0.1.0)

Test Replications by Means of the Prior Predictive p-Value

Description

Allows for the computation of a prior predictive p-value to test replication of relevant features of original studies. Relevant features are captured in informative hypotheses. The package also allows for the computation of power. The statistical underpinnings are described in Zondervan-Zwijnenburg (2019) .

Copy Link

Version

Install

install.packages('Replication')

Monthly Downloads

7

Version

0.1.0

License

GPL (>= 3)

Maintainer

M. J. Zondervan-Zwijnenburg

Last Published

March 13th, 2019

Functions in Replication (0.1.0)

order_terms

Order terms
ppc.step1

Prior predictive check step 1
sim.step1

Simulate Data for the Predictive Distribution
ppc.step2step3

Prior predictive check step 2 and 3
expand_compound_constraints

Expand compound constraints
create_matrices

Create (in)equality constraint matrices
ppc.plot

Plot ppc.step2step3 output
expand_parentheses

Expand parentheses
llratio.f

Likelihood ratio statistic for constrained versus unconstrained model
llratio.imp

Log likelihood ratio and p-value for data imputed with mice
posterior.step1

Posterior Distribution
constraint_to_equation

Constraint to equation
constraint_to_row

Constraint to row