Well, this just shows how much you don't understand. There is A LOT under
the hood here, extending back to work in the 70's (Wilkinson and Rogers
(1973) "Symbolic description of factorial models for analysis of variance"
) and probably before. See also  McCullagh and Nelder's "Generalized Linear
Models" book (Chapter 3  probably) and the linear models chapter of MASS.

Bottom line: You are almost certainly way beyond your depth here, as most
of us would be. The experts aren't dopes -- they earned their expertise.

Cheers,
Bert

On Mon, Oct 31, 2011 at 9:00 AM, flokke <flo...@live.de> wrote:

> I know the lm() function, but I'd like to make my 'own' regression analysis
> by using matrix algebra.
> Thats why I wrote the function,
> but I dont know what values to pick to make it suitable for every dataset.
>
> If I pick a statistical model like lm(y~x) as input, the function would not
> know what objects it had to use
> for the matrix algebra.
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/Function-input-for-regression-analysis-tp3955611p3956240.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.
>



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm

        [[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.

Reply via email to