<?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 to work on GA if i have a population where the optimal sample size is to be calculated? in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141559#M1180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;by the system automatically selecting chromosomes from the example set of population above, the chromosome here is the combination of the pop, samp, c &lt;/P&gt;&lt;P&gt;for example 500, 471, 4&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; can be a chromosome converted into binary ie 5004714 - - -&amp;nbsp; 111110100111010111100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500, 472, 4&amp;nbsp; can be as the same - - - 111110100111011000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;how do i select the suitable observation and set that into evolution, considering the fact that 'error' is the fitness value (needed least error)&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;hope u get the explanation, thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Nov 2013 04:58:33 GMT</pubDate>
    <dc:creator>vivianclmnz</dc:creator>
    <dc:date>2013-11-18T04:58:33Z</dc:date>
    <item>
      <title>How to work on GA if i have a population where the optimal sample size is to be calculated?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141555#M1176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do i make use of iml to work on GA in finding the optimal sample size from the population. can anyone propose some example other than the four examples available in sasuser's guide&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 06:48:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141555#M1176</guid>
      <dc:creator>vivianclmnz</dc:creator>
      <dc:date>2013-11-13T06:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to work on GA if i have a population where the optimal sample size is to be calculated?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141556#M1177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In many situtations, you obtain an optimal sample size by choosing a sequence of sample sizes and solving the problem for each size:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do size = 45 to 90 by 5;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; /* solve problem with sample size = size */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; /* evaluate some "goodness statistic" */&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You then choose the sample size that optimizes the criterion of interest. If this is not the case for your application, then I think more information is needed, such as example code and the criterion that you are optimizing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 13:19:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141556#M1177</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2013-11-13T13:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to work on GA if i have a population where the optimal sample size is to be calculated?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141557#M1178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s.no&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; popul&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; samp&amp;nbsp; c&amp;nbsp;&amp;nbsp;&amp;nbsp; error&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; samprate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .................................&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...............................&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1118&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 468&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; -0.94999&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.936&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1119&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 469&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; -0.94999&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.938&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1120&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 470&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; -0.95000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.940&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1121&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 471&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; -0.95000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.942&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1122&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 472&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; -0.95000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.944&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 473&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; -0.95000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.946&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1124&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 474&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; -0.95000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.948&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1125&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 475&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; -0.95000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.950&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1126&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 476&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; -0.95000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.952&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1127&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 477&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; -0.95000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.954&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...........................&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ............................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is part of my data obtained through a formula, i need to find the optimal sample size for the corresponding population with the fitness value being error (need the least error) using genetic algorithm. i need atleast a similar GA program using IML to work on this (by doing all the crossovers, mutations, etc). thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 06:09:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141557#M1178</guid>
      <dc:creator>vivianclmnz</dc:creator>
      <dc:date>2013-11-14T06:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to work on GA if i have a population where the optimal sample size is to be calculated?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141558#M1179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what have you come up with so far? How have you formulated the problem? What is the population? You need to post the code for the objective function, tell us parameters for crossover and mutation, and so forth. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 10:42:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141558#M1179</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2013-11-14T10:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to work on GA if i have a population where the optimal sample size is to be calculated?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141559#M1180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;by the system automatically selecting chromosomes from the example set of population above, the chromosome here is the combination of the pop, samp, c &lt;/P&gt;&lt;P&gt;for example 500, 471, 4&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; can be a chromosome converted into binary ie 5004714 - - -&amp;nbsp; 111110100111010111100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500, 472, 4&amp;nbsp; can be as the same - - - 111110100111011000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;how do i select the suitable observation and set that into evolution, considering the fact that 'error' is the fitness value (needed least error)&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;hope u get the explanation, thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 04:58:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141559#M1180</guid>
      <dc:creator>vivianclmnz</dc:creator>
      <dc:date>2013-11-18T04:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to work on GA if i have a population where the optimal sample size is to be calculated?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141560#M1181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see how this makes sense. If you encode the population in the high-bits of the binary state vector, then the GA will alter the population size as part of it's optimization.&amp;nbsp; Seems like the population should be fixed, by definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think I can help you based on what you've described. You need to provide the sample data, not just the size of the sample. You also need to provide a fitness function that takes the sample and computes the error. Maybe someone else can offer additional suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 14:11:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141560#M1181</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2013-11-18T14:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to work on GA if i have a population where the optimal sample size is to be calculated?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141561#M1182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, yes you are right, i forgot to notice that the population size is fixed. the error was found out using the hypergeometric distribution, if you could take a run at the program below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data gsas;&lt;/P&gt;&lt;P&gt;do Population=50, 100, 200, 300, 500;&lt;/P&gt;&lt;P&gt;do ss=1 to 1500;output;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc sort data=gsas;&lt;/P&gt;&lt;P&gt;by Population;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data hyper;&lt;/P&gt;&lt;P&gt;set gsas;&lt;/P&gt;&lt;P&gt;by Population;&lt;/P&gt;&lt;P&gt;if Population=50 then c=0;&lt;/P&gt;&lt;P&gt;if first.Population then c+1;&lt;/P&gt;&lt;P&gt;if _N_=1 then c=0;&lt;/P&gt;&lt;P&gt;retain c;&lt;/P&gt;&lt;P&gt;error=(cdf('HYPER',c,population,population*0.02,ss)-0.95)**2;&lt;/P&gt;&lt;P&gt;samplerate=ss/population;&lt;/P&gt;&lt;P&gt;if ss gt population then delete;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need an optimal sample size for each fixed population considering the fact that i have the least error for that sample.&lt;/P&gt;&lt;P&gt;Thank you for your time &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 05:00:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141561#M1182</guid>
      <dc:creator>vivianclmnz</dc:creator>
      <dc:date>2013-11-19T05:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to work on GA if i have a population where the optimal sample size is to be calculated?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141562#M1183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm sorry again, that was a harebrained idea of using the GA in the above concept, ignore the above program. &lt;/P&gt;&lt;P&gt;instead i have got this double sampling plan where for example i need this two sample sizes n1 and n2 with acceptance numbers c1 and c2, the fitness value computed by ASN[=n1+(1-P1)n2] for different combinations of c1 and c2. n1 and n2 can be any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i just need a 'basic idea' on how GA is used in IML to initialize, select and put into crossover, so that i can work on my concept, as the problems in the sas support are of different concept, thank you once again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 05:44:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141562#M1183</guid>
      <dc:creator>vivianclmnz</dc:creator>
      <dc:date>2013-11-19T05:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to work on GA if i have a population where the optimal sample size is to be calculated?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141563#M1184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If anyone wants to visualize the data, do this:&lt;/P&gt;&lt;P&gt;proc sgplot data=hyper;&lt;/P&gt;&lt;P&gt;series x=samplerate y=error / group=population;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't suppose that there is a "textbook problem" that is similar to your and for which you already know the answer? If so, it might be worthwhile to program the GA for that problem to learn about the GA, then modify it to solve the problem that you are actually interested in. I'll step aside and let others offer suggestions. Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 10:53:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141563#M1184</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2013-11-19T10:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to work on GA if i have a population where the optimal sample size is to be calculated?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141564#M1185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; i'll get back to you with another problem soon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 11:25:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141564#M1185</guid>
      <dc:creator>vivianclmnz</dc:creator>
      <dc:date>2013-11-19T11:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to work on GA if i have a population where the optimal sample size is to be calculated?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141565#M1186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mr. Rick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i have the double sampling plan (the below program) with the parameters n1, n2, c1, c2, r, being considered as the length of chromosome, and the selection probability of the strings can be determined by the least error from the error variable, and using one point crossover and minimizing the error further, is it gonna work for different values of p?&lt;/P&gt;&lt;P&gt;Plz let me know whether i'm clear as i have come across similar kinda work which has been done in c program.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;data vivian.doubs;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;do c1=0,1,2;&lt;/P&gt;&lt;P&gt;r=c1+2;&lt;/P&gt;&lt;P&gt;do c2=1 to 6;&lt;/P&gt;&lt;P&gt;do n1=1 to 200;&lt;/P&gt;&lt;P&gt;do n2=1 to 200;&lt;/P&gt;&lt;P&gt;do p=0.01, 0.02, 0.03, 0.04, 0.05;output;&lt;/P&gt;&lt;P&gt;PA=probacc2(c1,r,c2,n1,n2,p);&lt;/P&gt;&lt;P&gt;end;end;end;end;end;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;data vivian.doubs1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;set vivian.doubs;&lt;/P&gt;&lt;P&gt;if PA&amp;gt;0.99;&lt;/P&gt;&lt;P&gt;if PA&amp;gt;1.00 then delete;&lt;/P&gt;&lt;P&gt;error=PA-0.95;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 06:50:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-work-on-GA-if-i-have-a-population-where-the-optimal/m-p/141565#M1186</guid>
      <dc:creator>vivianclmnz</dc:creator>
      <dc:date>2013-11-21T06:50:14Z</dc:date>
    </item>
  </channel>
</rss>

