Lower bound of Wilson score confidence interval for a Bernoulli parameter
All implementations use 95% probability.
pos
is the number of positive votes, n
is the total number of votes.
Lower bound of Wilson score confidence interval for a Bernoulli parameter
All implementations use 95% probability.
pos
is the number of positive votes, n
is the total number of votes.
void AVISceneRenderEx() | |
{ | |
auto&Dev=D9Dev; | |
vec2i ClientSize=win.GetClientSize(); | |
if(!Dev.BeginScene())return; | |
{ | |
D3DVIEWPORT9 ViewPort={0,0,ClientSize.x,ClientSize.y,-1.f,+1.f}; | |
Dev.pDev->SetViewport(&ViewPort); | |
Dev.Set2D(vec2i(0,0),1.0,0,&ClientSize); | |
Dev.Clear2D(0xffc8c8c8); |