Hi all,
My dataset consists of a binary variable (risky_choice) and a continuous variable (estimated_probability). I would like to create a bar chart that shows the share of risky choice (mean of risky_choice) on the y-axis depending on the level of the estimated_probability which I would like to organize in decimals. I.e., I would like to have 10 bars each corresponding to 10% of the data in one graph. I'd be grateful for any ideas. Thanks
My dataset consists of a binary variable (risky_choice) and a continuous variable (estimated_probability). I would like to create a bar chart that shows the share of risky choice (mean of risky_choice) on the y-axis depending on the level of the estimated_probability which I would like to organize in decimals. I.e., I would like to have 10 bars each corresponding to 10% of the data in one graph. I'd be grateful for any ideas. Thanks
Comment