Hi:

"How can i manipulate the data to set the baseline of area to C?
R is producing errors when I'm trying to do so."

See ?relevel

Dennis

On Mon, Jan 3, 2011 at 12:03 PM, Louisa <Louisa_Lafrez@hotmail.com> wrote:

>
> Dear,
>
> I want to fit an inverse gaussion distribution to a data set.
>
> The predictor variables are gender, area and agecategory.
> For each of these variables I've defined a baseline
>
> e.g.
> #agecat: baseline is 3
> data<-transform(data, agecat=C(factor(agecat,ordered=TRUE),
> contr.treatment(n=6,base=3)))
>
> The variable 'area' goes from A to F (6 areas: A,B,C,D,E,F)
>
> How can i manipulate the data to set the baseline of area to C?
> R is producing errors when I'm trying to do so.
>
> I'll be very thankful for any help you can provide.
>
> Louisa
> --
> View this message in context:
> http://r.789695.n4.nabble.com/Inverse-Gaussian-Distribution-tp3172533p3172533.html
> Sent from the R help mailing list archive at Nabble.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.
>

	[[alternative HTML version deleted]]

