Description Usage Arguments Value
View source: R/orddid-diagnostic.R
equivalence_test()
implements an equivalance test to assess the distributional parallel trends assumption
using the data from the pre-treatment periods.
1 | equivalence_test(object, alpha = 0.05, threshold = NULL)
|
object |
A fitted object from |
alpha |
The level of a test. This value should take between 0 and 1. Default is 0.05. |
threshold |
An equivalance threshold.
If left as |
equivalence_test()
returns a list of class ‘orddid.test’, which contains the following items:
tv |
A vector of point-wise deviation between q1(v) and q0(v). |
tv_var |
A vector of variances for each t(v). |
tmax |
A maximum deviation of q1(v) and q0(v). |
v_range |
A range of v used to evaluate q1 and q0. |
Uv |
Point wise |
Lv |
Point wise |
Umax |
Maximum upper bound. |
Lmin |
Minimum lower bound. |
Upvalue |
Point-wise pvalues associated with the upper bounds. |
Lpvalue |
Point-wise pvalues associated with the lower bounds. |
pvalue |
P-value of the test. |
zscore |
Z-score of the test. |
reject |
Decision of the equivalance test. If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.