[R] VGAM package : Frechet distribution - 2 parameter estimation

Katherine Gobin katherine_gobin at yahoo.com
Thu Nov 6 10:34:41 CET 2014


Dear Mr Michael,

Thanks a lot for your guidance. The pdf file describing VGAM package has mentioned 'frechet' in the example, so I got the error.

Regards
Katherine


On Thursday, 6 November 2014 2:54 PM, Michael Dewey <info at aghmed.fsnet.co.uk> wrote:
 




On 06/11/2014 06:04, Katherine Gobin wrote:
> Dear R forum,
>
> I am trying to execute following code (Page no 259 - VGAM.pdf)
>
> # .........................................................................................................................
>
> library(VGAM)
>
> set.seed(123)
> fdata <- data.frame(y1 = rfrechet(nn <- 1000, shape = 2 + exp(1)))
> with(fdata, hist(y1))
> fit2 <- vglm(y1 ~ 1, frechet, data = fdata, trace = TRUE)
>
> # .........................................................................................................................
>

Is it not called frechet2?

>
> However, I receive following error
>
> Error in vglm(y1 ~ 1, frechet, data = fdata, trace = TRUE) :
>    object 'frechet' not found
>
>
> Earlier there used to be a function called "frechet3" which I guess has been withdrawn by VGAM.
>
> Kindly guide
>
> Katherine
>     [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2015.0.5557 / Virus Database: 4189/8518 - Release Date: 11/05/14
>
>

-- 
Michael
http://www.dewey.myzen.co.uk
	[[alternative HTML version deleted]]



More information about the R-help mailing list