1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Data Generation with Requirement

  1. Feb 18, 2009 #1
    Dear All
    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.
     
  2. jcsd
  3. Feb 18, 2009 #2

    Tom Mattson

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    What are your thoughts on the matter? You need to show that you've attempted the problem first!
     
  4. Feb 18, 2009 #3
    My first thought was to create a data of a line and add some disturbance on it. Different disturbance, different variable. Let say that the line data + random disturbance = x0, the line data + sine disturbance = x1. I can get a different r square, but I still don't know how to control the value of r square.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Data Generation with Requirement
  1. Data analysis (Replies: 1)

  2. Analyzing Data (Replies: 1)

  3. Grouped Data (Replies: 8)

  4. Data Analysis (Replies: 4)

  5. Math of Data (Replies: 0)

Loading...