If I want to find out the soltion of X1,X2 that min(3X1+2X2+X1X2) subject to 20<=X1+3X2<=50 10<=X1 which function or package can I use? Thanks.
Dear List, I was asked to calculate a confidence interval for p*p. Is there any standard techniques for calculating such an interval? Delta Method? Thank you in advance! Cheers, Patrik
On 05-Mar-07 ?hagen Patrik wrote:> > Dear List, > > I was asked to calculate a confidence interval for p*p. Is there any > standard techniques for calculating such an interval? Delta Method? > > Thank you in advance! > > Cheers, PatrikIf "p" is meant to denote a probability between 0 and 1, then pL^2 < p^2 < pU^2 is exactly equivalent to pL < p < pU where pL and pU are the upper and lower limits for p. Indeed, this will be so if p is any quantity which is necessarily non-negative. Hence, if this is your situation, simply square the confidence limits for p. If, however, this is not your situation, then please explain what "p" represents. Best wishes, Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <ted.harding at nessie.mcc.ac.uk> Fax-to-email: +44 (0)870 094 0861 Date: 05-Mar-07 Time: 10:05:50 ------------------------------ XFMail ------------------------------
?hagen Patrik <Patrik.Ohagen <at> mpa.se> writes:> > > Dear List, > > I was asked to calculate a confidence interval for p*p. Is there any standardtechniques for calculating> such an interval? Delta Method? > > Thank you in advance! >if p is a generic value (i.e. not a probability) and you know the variance (and are willing to assume normality) then you can indeed use the delta method; there are a variety of other techniques if you have the original data: fitting profile confidence limits, various resampling methods including bootstrapping, etc. (See section 6 of chapter 7 at http://www.zoo.ufl.edu/emdbook for more details if you like). Ben Bolker