Hekate
March 8, 2019, 6:32pm
1
Hi, I hope you can help me. I'm writing my graduate work about polynomials and I have to implement (and then solve) system of six-linear equations with 6 variables.
Do you have any ideas or packeges and command how to do it?
I'm sorry if I did sth wrong about title etc. I'm fresh and don't know local rules
The simplest solution will be to write the system in form of \mathbf{X}\mathbf{\beta}=\mathbf{Y} , and then solve it using X^{-1}Y , if X is invertible. Otherwise, if X'X is invertible, you can use (X'X)^{-1}X'Y , else you can use generalized inverse of X'X .
Look at the solve function provided in the base
package and ginv of the MASS
package.
You may also want to take a look at this: Solving Linear Equations
1 Like
For getting the most out of this forum, you may want to start by reading this guides.
First and foremost, please ask!
A core goal of community is to be a friendly place to chat about topics related to data science, R, and RStudio.
We know that posting to technical forums can be intimidating. But know that many here would love to see you overcome your inhibition and engage with us.
Here are a few tips some folks here think might be helpful.
Before you post
Check Out R Documentation - R has built in documentation on packages and functions .
For example typing ?lm into your R console will open the documentation on the lm function .
Search - Be sure to search for the basic keywords of your question with your favorite search engine, Stack Overflow, and R-Help. Stack Overflow …
First and foremost, please ask!
A core goal of community is to be a friendly place to chat about topics related to data science, R, and RStudio.
We know that posting to technical forums can be intimidating. But know that many here would love to see you overcome your inhibition and engage with us.
Here are a few tips some folks here think might be helpful.
Title
Put extra effort into your title. Be as clear and compelling as possible.
For many your title will be the only thing they see before they completely ignore your post
Content
Besides asking the core of your query,
State Your Goals: Some community-members are quite task-oriented here. Stating specific goals for th…
Is this a good place to ask questions from homework problem sets?
tl:dr In general, this is not the appropriate place to ask verbatim homework questions - Posting whole or part of your assignment verbatim not allowed here. It may undercut your instructor’s course materials and it violates most schools' academic integrity policies.
Before You Post - If you have a question about your homework, we encourage you to first contact your course instructor or teaching assistants directly. Firstly, that is what they are there for. Also, your questions serve as good feedback to help them improve how they teach the course.
We do welcome "homework inspired" questions
If you have general questions about…
1 Like
system
Closed
March 29, 2019, 6:57pm
4
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.