2

I am to run a superiority clinical trial and I want to fit a parametric model under the Weibull Distribution.

But I am confused about how should I find the shape and scale parameters for the Weibull distribution ?

Is there any formula or R code for it ?

Any kind of guidance will be very helpful.

OJS
  • 45
  • 1
  • 5
  • 1
    The answer is simple if you're just looking for code. However, it's also offtopic. Anyway in the survival package, look up ?survreg. – AdamO Feb 28 '22 at 21:55
  • 1
    To my recollection there's some discussion of the connection between the shape and scale parameters and the parameterization in the output of parametric Weibull survival model (R's `survreg`) in at least a few posts on site (e.g. [here](https://stats.stackexchange.com/a/419506/805), turned up in my first attempt at a search for it), but as Adam points out, the model is also discussed in the help. – Glen_b Mar 01 '22 at 01:48
  • Thanks a lot. @AdamO – OJS Mar 01 '22 at 03:49
  • Thank you so much @Glen_b – OJS Mar 01 '22 at 03:49
  • 1
    Be very careful, as different parameterizations of the Weibull distribution lead to different interpretations of "shape" or "scale"; see [this page](https://stats.stackexchange.com/q/466721/28500) for example. – EdM Mar 01 '22 at 14:28
  • Thank you.. @EdM – OJS Mar 01 '22 at 16:25

0 Answers0