-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi and thank you for your work on sorted effects.
Say I have a database having 2 variables, Coeff and Variable being Coeff the B CADiffs f several variables, say k (so that, overall the data contain k*B variables). I would liike to construct, starting from here, the joint p-values with your algorithm.
By studying the theoretical paper, I ended up with the following steps of which I am not fully sure (since the results I obtained are not as expected):
- Attach to the B*k dataset, the original coefficients (which have a unique value for each variable), say coeff_orig.
- Compute the difference between bootstrap coefficient (Coeff) and coeff_orig. This is Z_c.
- Construct sig for each variable as being the difference between the 75 and 25 quantile of Z_c (divided by the difference between the 75 and 25 quantiles of the standard normal)
- generate t_tilde = abs(Z_c)/sig
- generrate stat = abs(H_c)/sig where H_c = 2*Coeff_orig-draws_H_mean and draws_H_mean = mean(Coeff), by(Vaariable)
- count how many times, on average (on the number of bootstraps) and by variable, t_tilde>stat
Are these steps correct? If not, can you ,please, provide me further hints on how to compute the joint p-values starting from the mentioned dataset?
Thank you
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels