Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Proportion Confidence Interval

I have two groups (purple vs blue) fitting with “spline” and with a smooth parameter = 1. I wondered what would be the best way or model to calculate the proportion Confidence Interval for both. Thanks!

'data': [
        go.Scatter(
            x=col_quarter,
            y=df8_ratio,
            name='purple',
            showlegend=True,
            line=dict(color = '#711471',
                      width = 4,
                      shape='spline',
                      smoothing=1
            ),
            marker=dict(size = 12),
            mode='lines+markers'
        ),


        go.Scatter(
            x=col_quarter,
            y=df9_ratio,
            name='GNE',
            showlegend=True,
            line=dict(width=4,
                      color='#1B9EC6',
                      shape='spline',
                      smoothing=1
            ),
            marker=dict(size = 12),
            mode='lines+markers'
        ),

 ],