DeclareDesign / DesignLibrary

Library of Research Designs
https://declaredesign.org/library/
Other
30 stars 3 forks source link

two_arm_attrition vignette should have equation showing role of parameters in an equation #235

Open macartan opened 5 years ago

jaspercooper commented 5 years ago

Can you provide an example? these equations?

potential_outcomes_R <- declare_potential_outcomes(R ~ (a_R + 
    b_R * Z > u_R))
potential_outcomes_Y <- declare_potential_outcomes(Y ~ (a_Y + 
    b_Y * Z > u_Y))
macartan commented 5 years ago

Yes, for example:

$R = 1 iff a_R + b_RZ > u_R$ $Y =1 iff a_Y + b_YZ > u_Y$ $(u_R, u_Y) ~ N(0, \Sigma)$ maybe nicer to write as probabilities and conditional probabilities?

On Fri, Mar 1, 2019 at 1:55 PM Jasper Cooper notifications@github.com wrote:

Can you provide an example? these equations?

potential_outcomes_R <- declare_potential_outcomes(R ~ (a_R + b_R Z > u_R))potential_outcomes_Y <- declare_potential_outcomes(Y ~ (a_Y + b_Y Z > u_Y))

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DeclareDesign/DesignLibrary/issues/235#issuecomment-468655868, or mute the thread https://github.com/notifications/unsubscribe-auth/AMJO_TadovOmqkOz1x5F7Oimc-oo60wuks5vSSM9gaJpZM4bVs9T .