]> code.communitydata.science - ml_measurement_error_public.git/blobdiff - simulations/03_depvar.R
changes from klone
[ml_measurement_error_public.git] / simulations / 03_depvar.R
index 461c01a26f9251d446e3b41a8f06b6a60624e023..ec1e231b09ea5bb86092c38d7b618c7dcebcb1f8 100644 (file)
@@ -73,8 +73,8 @@ parser <- add_argument(parser, "--y_explained_variance", help='what proportion o
 parser <- add_argument(parser, "--prediction_accuracy", help='how accurate is the predictive model?', default=0.72)
 ## parser <- add_argument(parser, "--x_bias_y1", help='how is the classifier biased when y = 1?', default=-0.75)
 ## parser <- add_argument(parser, "--x_bias_y0", help='how is the classifier biased when y = 0 ?', default=0.75)
-parser <- add_argument(parser, "--Bxy", help='coefficient of x on y', default=0.01)
-parser <- add_argument(parser, "--Bzy", help='coeffficient of z on y', default=-0.01)
+parser <- add_argument(parser, "--Bxy", help='coefficient of x on y', default=0.3)
+parser <- add_argument(parser, "--Bzy", help='coeffficient of z on y', default=-0.3)
 parser <- add_argument(parser, "--Bzx", help='coeffficient of z on x', default=-0.5)
 parser <- add_argument(parser, "--B0", help='Base rate of y', default=0.5)
 parser <- add_argument(parser, "--outcome_formula", help='formula for the outcome variable', default="y~x+z")

Community Data Science Collective || Want to submit a patch?