Hi, My guess is that vglm() cannot find "Loss" because you have not set the data argument. Something like:
fit = vglm(Loss ~ 1, pareto1(location = alpha), trace = TRUE, crit = "c", data = mydata) out to work if "Loss" is a variable in the object "mydata" HTH, Josh On Tue, Aug 31, 2010 at 12:20 PM, choonhong ang <angie.bear...@gmail.com> wrote: > Hi All, > > could anybody help me to understand what is this error means ? > > > mydata=read.table("C:/Documents and > Settings/angieb/Desktop/CommercialGL/cl_ilf_claimdata.csv",header=TRUE,sep=",") >> names(mydata) > [1] "ILFTable" "liabLimit" "AnnAggLimit" "DedAmt" "Loss" > "TIL" >> fit=vglm(Loss~1,pareto1(location=alpha),trace=TRUE,crit="c") > Error in eval(expr, envir, enclos) : object "Loss" not found > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. > -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ ______________________________________________ R-help@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.