Re: [R] optimize simultaneously two binomials inequalities using nlm( ) or optim( )

2008-08-06 Thread Emir Toktar
Dear Marc, I'd been used the acceptance sampling but it is not possible to minimize given that problem. It fits very well to calculate, but it's necessary have an acceptance plan defined to assess the probabilities (p1,p2) and consumer and producer risks... Thank you for the tips. EToktar > -

Re: [R] optimize simultaneously two binomials inequalities using nlm( ) or optim( )

2008-08-06 Thread Emir Toktar
Thanks Mr. Graves for your support. > I saw your post on 7/29, and I have not seen a reply, > so I will attempt a response to the question at the start of > your email: > > obtain the smallest value of 'n' (sample size) satisfying > both inequalities: > > (1-alpha)