Multiple Linear Regression (2 factors, 1 output)

Click For Summary
SUMMARY

The discussion focuses on implementing a multiple linear regression model of the form Y = a * x1 + b * x2 + c. The user seeks to determine the parameters (a, b, and c) using the formula β = (X'X)^{-1}X'Y. They have created a dummy dataset to facilitate analysis and are following a specific experimental design by varying x1 and x2 while holding the other constant. The user is looking for confirmation on the feasibility of their approach and assistance with the calculations.

PREREQUISITES
  • Understanding of multiple linear regression concepts
  • Familiarity with the formula β = (X'X)^{-1}X'Y
  • Experience with statistical software or programming languages for data analysis (e.g., R, Python)
  • Basic knowledge of experimental design principles
NEXT STEPS
  • Research how to implement multiple linear regression in R using the lm() function
  • Learn about data preparation techniques for regression analysis
  • Explore the use of Python's statsmodels library for linear regression
  • Study the implications of holding variables constant in experimental design
USEFUL FOR

Data analysts, statisticians, and researchers involved in predictive modeling and statistical analysis will benefit from this discussion.

ChaoticLlama
Messages
58
Reaction score
0
Hello all;

I'm doing work for my job, and I've forgotten my statistics =(.

I first want to know if what I'm trying to do is possible.

I want to create a linear regression of the form Y = a * x1 + b * x2 + c.

http://imgur.com/Q4vGP"

As you can see, there is space that is grayed out (those tests were not performed). I was originally instructed to run my experiment by holding x1 constant and varying x2, and holding x2 constant and varying x1. (I made a dummy data set to make it easier to analyze).

I'm attempting to find the parameters (a,b, & c) using the trusty formula \beta = (X'X)^{-1}X'Y.

Thanks for your help!
 
Last edited by a moderator:
Physics news on Phys.org
http://imgur.com/mciGw"
 
Last edited by a moderator:

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
6
Views
7K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
10
Views
6K
Replies
4
Views
2K
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
7K