?candisc would have told you that
Computational details for the one-way case are described in Cooley &
Lohnes (1971), and in the SAS/STAT User's Guide, "The CANDISC
procedure:
Computational Details,"
http://support.sas.com/onlinedoc/913/getDoc/en/statug.hlp/candisc_sect12.htm.
-Michael
Pete Shepard wrote:> Hello,
>
> I have a question regarding the candisc package. My data are:
>
> species three five
> 1 2.95 6.63
> 1 2.53 7.79
> 1 3.57 5.65
> 1 3.16 5.47
> 2 2.58 4.46
> 2 2.16 6.22
> 2 3.27 3.52
>
> I put these in a table and then a linear model
> >newdata <- lm(cbind(three, five) ~ species, data=rawdata)
>
> and then do a candisc on them
> >candata<-candisc(newdata)
>
> Here are my scores;
>> candata$scores
>
> species Can1
> 1 1 -2.3769280
> 2 1 -2.7049437
> 3 1 -3.4748309
> 4 1 -0.9599825
> 5 2 4.2293774
> 6 2 2.6052193
> 7 2 2.6820884
>
> and here are my coefficients
>> candata$coeffs.raw
> Can1
> three -5.185380
> five -2.160237
>> candata$coeffs.std
> Can1
> three -2.530843
> five -2.586620
>
>
> My question is, what is the precise equation that gives the candata$scores?
>
> Thanks
>
> [[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.
>
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street http://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT M3J 1P3 CANADA