<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I create a simulated data set with a y variable with slope and intercepts? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586908#M167554</link>
    <description>&lt;P&gt;Paige,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the log window:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 data norm4 (keep y=intercept+slope*x);&lt;/DIV&gt;&lt;DIV class="sasError"&gt;____ _&lt;/DIV&gt;&lt;DIV class="sasError"&gt;12 12&lt;/DIV&gt;&lt;DIV class="sasError"&gt;22&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR 12-63: Missing '=' for option KEEP.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR 22-7: Invalid option name Y.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 call streaminit(0);&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 do i=1 To 20;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 x= rand("uniform");&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77 do intercept=5 TO 10;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;78 do slope=10 To 20;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;79 output;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;80 end;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;81 run;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;82&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;83 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;95&lt;/DIV&gt;&lt;PRE class="sasLog"&gt;&amp;nbsp;&lt;/PRE&gt;</description>
    <pubDate>Fri, 06 Sep 2019 23:38:27 GMT</pubDate>
    <dc:creator>fanellm1</dc:creator>
    <dc:date>2019-09-06T23:38:27Z</dc:date>
    <item>
      <title>How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586901#M167548</link>
      <description>&lt;P&gt;I am trying to make a simulated data set for x and y. I was able to create the x but am having trouble making the y. Where I am stuck is there is an i&lt;SPAN&gt;ntercept between 5 and 10 and a slope between 10 and 20.The below is the code I have used to create x and what I have as a base to create y.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the exact question is:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="textLayer--absolute"&gt;The variable&amp;nbsp;y&amp;nbsp;should be a&amp;nbsp;linear function of&amp;nbsp;x&amp;nbsp;with an intercept between 5 and 10 and a slope between 10 and 20. Please&lt;/DIV&gt;&lt;DIV class="textLayer--absolute"&gt;note that the intercept and slopes are constants.&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data norm4 (keep=x);&lt;BR /&gt;call streaminit(0);&lt;BR /&gt;do i=1 To 20;&lt;BR /&gt;x= rand("uniform");&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc reg;&lt;BR /&gt;model y=mx+b;&lt;BR /&gt;do m=10 To 20 b=5 To 10;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 22:55:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586901#M167548</guid>
      <dc:creator>fanellm1</dc:creator>
      <dc:date>2019-09-06T22:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586903#M167549</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/288790"&gt;@fanellm1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am trying to make a simulated data set for x and y. I was able to create the x but am having trouble making the y. Where I am stuck is there is an i&lt;SPAN&gt;ntercept between 5 and 10 and a slope between 10 and 20.The below is the code I have used to create x and what I have as a base to create y.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;the exact question is:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="textLayer--absolute"&gt;The variable&amp;nbsp;y&amp;nbsp;should be a&amp;nbsp;linear function of&amp;nbsp;x&amp;nbsp;with an intercept between 5 and 10 and a slope between 10 and 20. Please&lt;/DIV&gt;
&lt;DIV class="textLayer--absolute"&gt;note that the intercept and slopes are constants.&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data norm4 (keep=x);&lt;BR /&gt;call streaminit(0);&lt;BR /&gt;do i=1 To 20;&lt;BR /&gt;x= rand("uniform");&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So, y is a function of x. The formula is &lt;STRONG&gt;y=intercept + slope * x&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your data step, you need to program this. Give it a try.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 23:23:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586903#M167549</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-06T23:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586904#M167550</link>
      <description>&lt;P&gt;Thanks Paige!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I then need to define the slope and intercept somewhere?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 23:27:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586904#M167550</guid>
      <dc:creator>fanellm1</dc:creator>
      <dc:date>2019-09-06T23:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586905#M167551</link>
      <description>&lt;P&gt;Yes or no. Either. Depends on what you mean by "define". Give it a try.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 23:30:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586905#M167551</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-06T23:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586906#M167552</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Paige,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is what I tried: &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;data norm4 (keep=x);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;call streaminit(0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;do i=1 To 20;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;x= rand("uniform");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;output;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;end;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;but am getting the error:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasError"&gt;ERROR 12-63: Missing '=' for option KEEP.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR 22-7: Invalid option name Y.&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 Sep 2019 23:33:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586906#M167552</guid>
      <dc:creator>fanellm1</dc:creator>
      <dc:date>2019-09-06T23:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586907#M167553</link>
      <description>&lt;P&gt;Show us the actual SAS log, the entire log, not just the error messages. Please click on the {i} icon and paste your log as text into that window, this maintains the spacing and formatting in the log and makes it easier for us to view and understand.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 23:36:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586907#M167553</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-06T23:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586908#M167554</link>
      <description>&lt;P&gt;Paige,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the log window:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 data norm4 (keep y=intercept+slope*x);&lt;/DIV&gt;&lt;DIV class="sasError"&gt;____ _&lt;/DIV&gt;&lt;DIV class="sasError"&gt;12 12&lt;/DIV&gt;&lt;DIV class="sasError"&gt;22&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR 12-63: Missing '=' for option KEEP.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR 22-7: Invalid option name Y.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 call streaminit(0);&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 do i=1 To 20;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 x= rand("uniform");&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77 do intercept=5 TO 10;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;78 do slope=10 To 20;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;79 output;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;80 end;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;81 run;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;82&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;83 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;95&lt;/DIV&gt;&lt;PRE class="sasLog"&gt;&amp;nbsp;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Sep 2019 23:38:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586908#M167554</guid>
      <dc:creator>fanellm1</dc:creator>
      <dc:date>2019-09-06T23:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586909#M167555</link>
      <description>&lt;P&gt;Please click on the {i} icon and paste your log as text into that window, this maintains the spacing and formatting in the log and makes it easier for us to view and understand.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 23:39:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586909#M167555</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-06T23:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586910#M167556</link>
      <description>&lt;P&gt;The "I" icon where and paste it into what window?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 23:41:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586910#M167556</guid>
      <dc:creator>fanellm1</dc:creator>
      <dc:date>2019-09-06T23:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586912#M167557</link>
      <description>&lt;P&gt;It's in the icon bar when you type your message, sixth from the left.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 23:45:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586912#M167557</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-06T23:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586913#M167558</link>
      <description>&lt;PRE&gt; 
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         data norm4 (y=intercept+slope*x);
                        _
                        22
 ERROR 22-7: Invalid option name Y.
 
 74         call streaminit(0);
 75         do i=1 To 20;
 76         x= rand("uniform");
 77         do intercept=5 TO 10;
 78         do slope=10 To 20;
 79         output;
 80         end;
 81         run;
 
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 
 82         
 83         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 95         &lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Sep 2019 23:47:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586913#M167558</guid>
      <dc:creator>fanellm1</dc:creator>
      <dc:date>2019-09-06T23:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586914#M167559</link>
      <description>&lt;P&gt;So you have some basic programming errors here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can't put programming or mathematics in DATA statement itself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The formula to compute Y has to go after x, intercept and slope are mentioned, otherwise the formula can't be evaluated.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 23:55:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586914#M167559</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-06T23:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586915#M167560</link>
      <description>&lt;P&gt;Paige,&amp;nbsp;&lt;BR /&gt;I am not sure how to mention x, intercept and slope.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 23:56:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586915#M167560</guid>
      <dc:creator>fanellm1</dc:creator>
      <dc:date>2019-09-06T23:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586916#M167561</link>
      <description>&lt;P&gt;Do I have to use the proc reg function first?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 23:57:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586916#M167561</guid>
      <dc:creator>fanellm1</dc:creator>
      <dc:date>2019-09-06T23:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586919#M167562</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/288790"&gt;@fanellm1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Paige,&amp;nbsp;&lt;BR /&gt;I am not sure how to mention x, intercept and slope.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;but your code did mention x intercept and slope.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Do I have to use the proc reg function first?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No you are not computing a regression here.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Sep 2019 00:03:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586919#M167562</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-07T00:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a simulated data set with a y variable with slope and intercepts?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586940#M167568</link>
      <description>&lt;P&gt;Are you saying that you want 6x11 = 66 sets of data points, one set for every combination of slope and intercept? Should the Ys have some error (noise) added to them?&lt;/P&gt;</description>
      <pubDate>Sat, 07 Sep 2019 04:21:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-create-a-simulated-data-set-with-a-y-variable-with/m-p/586940#M167568</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-09-07T04:21:56Z</dc:date>
    </item>
  </channel>
</rss>

