<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
	<channel>
		<title>help with best fit line</title>
		<link>https://www.lotterypost.com/thread/318176</link>
		<atom:link href="https://www.lotterypost.com/rss/topic/318176" rel="self" type="application/rss+xml" />
		<description>Lottery Post Forum Topic: help with best fit line</description>
		<dc:language>en-us</dc:language>
		<generator>Lottery Post RSS Generator</generator>
		<item>
			<title>Reply #19</title>
			<link>https://www.lotterypost.com/thread/318176/5420577</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5420577</guid>
			<pubDate>Mon, 29 Jan 2018 21:33:12 GMT</pubDate>
			<dc:creator>notmyday</dc:creator>
			<description><![CDATA[<p>Glad you got some rest hopefully you are back on track. Hope them bricks didnt hurt. stupid part you are not even close. extreme tired you was. Your programming can wait its not going anywhere while you take a break and get some rest.</p>]]></description>
			<category>notmyday</category>
		</item>
		<item>
			<title>Reply #18</title>
			<link>https://www.lotterypost.com/thread/318176/5420091</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5420091</guid>
			<pubDate>Mon, 29 Jan 2018 14:30:25 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>nmd<br /><br />I found the problem, when the scatter plot is printed the values in the data file are scaled to<br /><br />the graph. When the regression was calculated it was still using those same values. What I<br /><br />had to do was swap the original data values with the newly calculated Y values of the dots<br /><br />on the scatter plot. They have to be inverted as the higher a dot falls on the chart the lower<br /><br />the y value is. Still working it out but I don&#x27;t see a problem with it now. Funny thing is I woke<br /><br />up this... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/318176/5420091">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>Reply #17</title>
			<link>https://www.lotterypost.com/thread/318176/5419952</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419952</guid>
			<pubDate>Mon, 29 Jan 2018 10:37:00 GMT</pubDate>
			<dc:creator>notmyday</dc:creator>
			<description><![CDATA[<p>Now your getting somewhere. Yah</p>]]></description>
			<category>notmyday</category>
		</item>
		<item>
			<title>Reply #16</title>
			<link>https://www.lotterypost.com/thread/318176/5419911</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419911</guid>
			<pubDate>Mon, 29 Jan 2018 06:57:56 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>Works perfect with a different data set. I had to rescale the dots on the scatter plot which are not exact but<br /><br />got the same best fit line and all the correct values as a hand workout. I know what the problem is, how to<br /><br />work around it may be a little tougher.<br /><br />RL<br /><br />The 10 data points used in this example are included below pic.<br /><br />10 sample example.<br /><br />1,14<br /><br />6,9<br /><br />9,4<br /><br />12,1<br /><br />4,12<br /><br />5,8<br /><br />6,6<br /><br />11,3<br /><br />2,10<br /><br />8,3</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>Reply #15</title>
			<link>https://www.lotterypost.com/thread/318176/5419733</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419733</guid>
			<pubDate>Mon, 29 Jan 2018 02:13:47 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>When using input with comma delimited data it does not matter. I got to step back and think about<br /><br />this some more. It&#x27;s weird to say the least.<br /><br />RL</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>Reply #14</title>
			<link>https://www.lotterypost.com/thread/318176/5419729</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419729</guid>
			<pubDate>Mon, 29 Jan 2018 02:10:55 GMT</pubDate>
			<dc:creator>notmyday</dc:creator>
			<description><![CDATA[<p>Did you catch the data part i posted.<br /><br />Oh there was one thing i found in your data when i copied it the last line i had to put a space at the very end of it because each of your lines had an extra space except for the last line.</p>]]></description>
			<category>notmyday</category>
		</item>
		<item>
			<title>Reply #13</title>
			<link>https://www.lotterypost.com/thread/318176/5419727</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419727</guid>
			<pubDate>Mon, 29 Jan 2018 02:09:16 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>I tried 3 different versions and all 3 produce the same exact errors in the calculations.<br /><br />Even when I copy and paste the code I posted with the string name value$ fixed. It<br /><br />appears that the compiler is producing the problem when ran on this computer. I will<br /><br />try a different PC and see what happens.<br /><br />RL</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>Reply #12</title>
			<link>https://www.lotterypost.com/thread/318176/5419723</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419723</guid>
			<pubDate>Mon, 29 Jan 2018 02:02:51 GMT</pubDate>
			<dc:creator>notmyday</dc:creator>
			<description><![CDATA[<p>It is a 7.29 mb file i downloaded it on 9-24-17 qb64 x32</p>]]></description>
			<category>notmyday</category>
		</item>
		<item>
			<title>Reply #11</title>
			<link>https://www.lotterypost.com/thread/318176/5419721</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419721</guid>
			<pubDate>Mon, 29 Jan 2018 02:01:08 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>I think it&#x27;s a variable conflict, just got to find it. This code was pulled out of the main program<br /><br />which is around 10K lines. Which version of QB64 are you using? The one I am using for this<br /><br />project is a dirty build which may be causing the problem.<br /><br />RL</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>Reply #10</title>
			<link>https://www.lotterypost.com/thread/318176/5419718</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419718</guid>
			<pubDate>Mon, 29 Jan 2018 01:59:10 GMT</pubDate>
			<dc:creator>notmyday</dc:creator>
			<description><![CDATA[<p>Oh there was one thing i found in your data when i copied it the last line i had to put a space at the very end of it because each of your lines had an extra space except for the last line.</p>]]></description>
			<category>notmyday</category>
		</item>
		<item>
			<title>Reply #9</title>
			<link>https://www.lotterypost.com/thread/318176/5419714</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419714</guid>
			<pubDate>Mon, 29 Jan 2018 01:54:49 GMT</pubDate>
			<dc:creator>notmyday</dc:creator>
			<description><![CDATA[<p>I copied the code in notepad first then put it in qb64 but i changed the spelling in notepad first then saved as reg.text and your data as REG1.txt</p>]]></description>
			<category>notmyday</category>
		</item>
		<item>
			<title>Reply #8</title>
			<link>https://www.lotterypost.com/thread/318176/5419711</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419711</guid>
			<pubDate>Mon, 29 Jan 2018 01:50:41 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>Looks like some sort of glitch when I copied and pasted the code. Still having the same problems<br /><br />when I run it. Anyway, it does give me a starting point to.<br /><br />RL</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>Reply #7</title>
			<link>https://www.lotterypost.com/thread/318176/5419703</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419703</guid>
			<pubDate>Mon, 29 Jan 2018 01:44:35 GMT</pubDate>
			<dc:creator>notmyday</dc:creator>
			<description><![CDATA[<p>I have caught myself doing the same thing only to fine i missed a key when typing. Get some rest it is always good to step away and look with a fresh set of eyes later after the much needed rest.</p>]]></description>
			<category>notmyday</category>
		</item>
		<item>
			<title>Reply #6</title>
			<link>https://www.lotterypost.com/thread/318176/5419701</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419701</guid>
			<pubDate>Mon, 29 Jan 2018 01:41:36 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>P.S.<br /><br />I never noticed that, good catch. Maybe if I ever get caught up on my sleep I will see these things.<br /><br />RL</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>Reply #5</title>
			<link>https://www.lotterypost.com/thread/318176/5419695</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419695</guid>
			<pubDate>Mon, 29 Jan 2018 01:37:35 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>The fact that your run produced different results gives me an idea where to start looking.<br /><br />RL</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>Reply #4</title>
			<link>https://www.lotterypost.com/thread/318176/5419690</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419690</guid>
			<pubDate>Mon, 29 Jan 2018 01:31:26 GMT</pubDate>
			<dc:creator>notmyday</dc:creator>
			<description><![CDATA[<p>I tried studying your code and the spelling of the value was all i could see hope that helped.</p>]]></description>
			<category>notmyday</category>
		</item>
		<item>
			<title>Reply #3</title>
			<link>https://www.lotterypost.com/thread/318176/5419689</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419689</guid>
			<pubDate>Mon, 29 Jan 2018 01:29:46 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>nmd<br /><br />Interesting. It&#x27;s got me thinking it&#x27;s a variable problem, the results you get look correct. I will use<br /><br />your results and see what it looks like when I add the best fit line. The correlation coefficient R<br /><br />looks like it matches what I see in the scatter plot.<br /><br />RL</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>Reply #2</title>
			<link>https://www.lotterypost.com/thread/318176/5419682</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419682</guid>
			<pubDate>Mon, 29 Jan 2018 01:22:59 GMT</pubDate>
			<dc:creator>notmyday</dc:creator>
			<description><![CDATA[<p>I am using your data but getting different results. In your code at the bottom not sure if it is suppose to be that way but i changed the spelling in the word value in all positions and my outcome is different than yours. see below.</p>]]></description>
			<category>notmyday</category>
		</item>
		<item>
			<title>Reply #1</title>
			<link>https://www.lotterypost.com/thread/318176/5419582</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176/5419582</guid>
			<pubDate>Mon, 29 Jan 2018 00:12:38 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>Source code<br /><br />Sorry for the block format, whenever I post code it comes out this way.<br /><br />This code sample generates the following<br /><br />Mean of x values- meanx<br /><br />Mean of y values- meany<br /><br />SD of x values- sdx<br /><br />SD of y values- sdy<br /><br />y - m * x + b,<br /><br />m - m<br /><br />b - b<br /><br />the correlation coefficient R = R<br /><br />Note! does not generate the scatter plot.<br /><br />To run copy and paste the data from the first post into notepad and save<br /><br />it as REG1.TXT or create your own data set. This is coded is QB64.<br /><br />S... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/318176/5419582">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>help with best fit line</title>
			<link>https://www.lotterypost.com/thread/318176</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/318176</guid>
			<pubDate>Sun, 28 Jan 2018 15:49:44 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>Hi all<br /><br />Need some help with best fit line for a regression tool. The vertical graph is the value and the horizontal is the<br /><br />game/drawing. The graph is 4x4 pixel and the data used is shown below the picture. First I am thinking the<br /><br />problem may be with the data as both x and y are percentages and the graph uses whole units for the Horz<br /><br />and percents for the vertical. Anyway all the values are shown at the top but I can&#x27;t fit M an B. Maybe I just<br /><br />need some sleep but if anyone has some s... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/318176">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
	</channel>
</rss>

