QuantileAnalysis {Ricrt} | R Documentation |
Quantile Effect Analysis
Description
A function for quantile analysis that provides a p-value and a point estimation.
Usage
QuantileAnalysis(S, C, Z, R, quantile = 0.5, delta_hyp = 0)
Arguments
S |
A numeric column vector with individuals' stratum number |
C |
A numeric column vector with individuals' cluster number |
Z |
A numeric column vector with individuals' treatment assignment (binary) |
R |
A numeric column vector with individuals' outcome |
quantile |
A numeric value for intended quantile in the input data for running the quantile test, the default of this value is 0.5. |
delta_hyp |
A numeric value that is the hypothesized treatment effect given the quantile. The default of this value is 0. |
Value
A list of the outputs
Examples
# First we need to obtain the vectors for the inputs.
S = example1$S
C = example1$C
Z = example1$Z
R = example1$R
QuantileAnalysis(S, C, Z, R)
[Package Ricrt version 0.1.0 Index]