Learn R Programming

Replication (version 0.1.2)

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

30

Version

0.1.2

License

GPL (>= 3)

Maintainer

M. J. Zondervan-Zwijnenburg

Last Published

April 9th, 2020

Functions in Replication (0.1.2)

ppc.plot

Plot ppc.step2step3 output
ppc.step2step3

Prior predictive check step 2 and 3
ppc.step1

Prior predictive check step 1
sim.step1

Simulate Data for the Predictive Distribution
expand_parentheses

Expand parentheses
create_matrices

Create (in)equality constraint matrices
expand_compound_constraints

Expand compound constraints
constraint_to_equation

Constraint to equation
llratio.f

Likelihood ratio statistic for constrained versus unconstrained model
constraint_to_row

Constraint to row
llratio.imp

Log likelihood ratio and p-value for data imputed with mice
order_terms

Order terms
posterior.step1

Posterior Distribution