Dear All(adsbygoogle = window.adsbygoogle || []).push({});

I need to generate data for my research. Let I have a linear equation with 3 independent variables and 1 dependent variable

a0x0 + a1x1 + a3x3 = y

I want each of my variable(x0, x1, x2) has a defined R2 (r square) with y. Let x0-y = 0.8, x1-y = 0.9, x2-y = 0.85. Any reference how to do this? Thank you.

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Data Generation with Requirement

**Physics Forums | Science Articles, Homework Help, Discussion**