Skip to content
Back to formatted view

Raw Message

Message-ID: <1415253899.16934.YahooMailNeo@web193306.mail.sg3.yahoo.com>
Date: 2014-11-06T06:04:59Z
From: Katherine Gobin
Subject: VGAM package : Frechet distribution - 2 parameter estimation

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)

# .........................................................................................................................


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]]