Multiple linear regression is handled by the function lm() in the default installation of R. This takes inputs as lm(y~x1+x2+x3).

If you're going to be using R regularly, there are several books which cover the basic statistical analyses available in R (and then some), including those by Peter Daalgard and by Brian Ripley, who are very regular contributors to this list.

Abhijit

Anja und Th. Sponsel wrote:
Hello

I have to solve a multiple linear regression. Most programs like Excel
or Mathlab only support 5-10 dimensions. Now I have installed CRAN and
I have no clue what to do next. At the moment I am entering my data
into an excelsheet (for quick copy- paste). The Y-array will be 20
columns (=dimensions) and 128 rows (=variables). The X-array may also
be 128 rows in Excel.

Which package do I need - or does it work without any package?

What commands do I have to enter? I'm not familiar with CRAN and I
didn't find any example.

Best regards,
 Thomas

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


______________________________________________
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