FRDB Archives

Freethought & Rationalism Archive

The archives are read only.


Go Back   FRDB Archives > Archives > IIDB ARCHIVE: 200X-2003, PD 2007 > IIDB Philosophical Forums (PRIOR TO JUN-2003)
Welcome, Peter Kirby.
You last visited: Yesterday at 05:55 AM

 
 
Thread Tools Search this Thread
Old 03-30-2003, 11:41 AM   #51
Veteran Member
 
Join Date: Mar 2002
Location: anywhere
Posts: 1,976
Default

The problem is even worse, since when you take the modulus of FLOOR(RAND()*1000) by lnMax, which is typically not a factor of 1000 (or 1000 and RANDmax), then once again your distribution is biased. There are some numbers that are underepresented. Let me give an example: say I take 0 to 100 modulo 7. There are 15 0's 15 1's and 15 2's whereas all the rest have 14 numbers to them. This is a clear bias.

EDIT: Once again, more than generous with DNAunion's requests. I really have to stop giving so much time to a flawed program and model.
Principia is offline  
Old 03-30-2003, 11:56 AM   #52
Veteran Member
 
Join Date: Mar 2002
Location: anywhere
Posts: 1,976
Default

Quote:
DNAunion: Which you did in a caustic, acrimonious style - twice - instead of like the other two respondents who acted like mature, friendly adults.
As I pointed out on this thread, don't expect people to treat you any other way than you have been treating others. If readers want to know what a caustic, acrimonious style is, all they have to do is to look up posts under your name, here at II, at ChristianForums, and at ARN. So, quit whining and ruining all the fun I am having at showing just how unqualified you are to be judging scientific work.
Principia is offline  
Old 03-30-2003, 12:18 PM   #53
Veteran Member
 
Join Date: Jan 2001
Location: USA
Posts: 1,072
Default

Quote:
Principia: EDIT: Note, DNAunion is saying here that Ala joining Ala via the Nterminal of the 2nd Ala is a different process than Ala joining Ala via the Cterminal of the 2nd Ala.
DNAunion: In oligopeptides and polypeptides (not dipeptides), yes, because the amino acids bonded to the other ends of the two Ala’s can influence their bonding preferences. Since the amino acid bonded to the first Ala and the one bonded to the second Ala would frequently be different (as table 8 shows – for example, Ala is followed by Asp frequently (rank = 2), but Ala is not preceded by Asp that frequently (not in the top 4)), this could produce different bonding preferences.

Let’s look at one example from table 8 for the archaebacteria and see what we find.

Looking at the A-B section we see that the amino acid that follows Gly the most often is Glu. So Glu is the most frequently attached amino acid to the C-terminus of Gly.

Does the “mirror image” occur? Is Glu most frequently preceded by Gly? No, Gly is not the most frequently attached amino acid to the N-terminus of Glu. Looking across to the B-A entry for Glu we see that Glu, not Gly, is ranked number 1. Is Gly second? No. Is Gly third? No. Gly is fourth.

Clearly, in long chains of amino acids, A-B Gly-Glu and B-A Glu-Gly differ somehow.

This suggests that in oligopeptides and polypeptides the amino acid linked to the N-terminus of A and/or the one linked to the C-terminus of B can affect the bonding preferences between the two amino acids of concern, A and B. Since an amino acid has a side chain that juts out from its alpha carbon - with some side chains of amino acids being rather bulky (and hence potentially causing steric interference), some being charged (and hence potentially causing electrostatic repulsion or attraction), some being polar, and some being hydrophobic – it seems logical that amino acids bonded to the two of interest could affect the bonding between those two.
DNAunion is offline  
Old 03-30-2003, 12:21 PM   #54
Veteran Member
 
Join Date: Mar 2002
Location: anywhere
Posts: 1,976
Default

Quote:
Looking at the A-B section we see that the amino acid that follows Gly the most often is Glu. So Glu is the most frequently attached amino acid to the C-terminus of Gly.

Does the “mirror image” occur? Is Glu most frequently preceded by Gly? No, Gly is not the most frequently attached amino acid to the N-terminus of Glu. Looking across to the B-A entry for Glu we see that Glu, not Gly, is ranked number 1. Is Gly second? No. Is Gly third? No. Gly is fourth.

Clearly, in long chains of amino acids, A-B Gly-Glu and B-A Glu-Gly differ somehow.
No, DNAunion. I don't understand why you keep talking about heterodimers when I am specifically talking about homodipeptides. That is, and I repeat again for the 3rd time, you are talking about cases when A-B are different amino acids. Rode's experimental protocol clearly did not differentiate how A-A linkages are formed (where it is A joined to A at the N or C terminus). Try again (4th time, now).
Principia is offline  
Old 03-30-2003, 12:28 PM   #55
Veteran Member
 
Join Date: Jan 2001
Location: USA
Posts: 1,072
Default

Quote:
Principia: But instead he is giving me lectures on how to read his spaghetti code.
DNAunion: I didn't see any GOTOs or other indicators of spaghetti code in my programs. Can you point them out for us?

Let's see where you stand regarding computer programming.

1) You misread both my programs, incorrectly determining that they calculate EXACTLY X MATCHES when in fact they calculate AT LEAST X MATCHES.

2) You used the term spaghetti code incorrectly.

3) You don't know the difference between C and C++.

4) Your knowledge of the vast many computer programming languages seems to be limited to the long outdated GW BASIC (that must be where you remember the term spaghetti code from, right?).

5) You don't consider Visual FoxPro to be a 'real' programming language (did you know that the Euro-tunnel is run by a VFP program?)
DNAunion is offline  
Old 03-30-2003, 12:36 PM   #56
Veteran Member
 
Join Date: Mar 2002
Location: anywhere
Posts: 1,976
Default

Quote:
I didn't see any GOTOs or other indicators of spaghetti code in my programs. Can you point them out for us?
LOL. Every if statement you have is a branching code that does 2 things in the compiled code:
1) it does a test
2) it jumps to the right code (and provides a return address for when this code finishes)
Need I remind DNAunion that both C and FoxPro are higher level languages?

Let's take a look at spaghetti code:
Code:
			nFoundOne = 0;
			while (nFoundOne == 0)
			{
				nIndex = (int) GetRandomNumber(0, nLetteredTiles - 1);
				if (nDiscardTilesOnceChosen == 0)
				{
					// Doesn't matter if the tile has been 
					// chosen previously because selected
					// tiles are placed back into the urn.
					nFoundOne = 1;
				}
				else if (cUrn[nIndex][2] == 'T')
				{
					// This tile has already been chosen and
					// discarded: it can't be selected again.
					nFoundOne = 0;
				}
				else if (cUrn[nIndex][2] == 'F')
				{
					// This tile has not been chosen previously.
					nFoundOne = 1;
				}
			}
So three if-else if blocks, three implicit branch commands. Let me point out that here, the test (nDiscardTilesOnceChosen == 0) is always satisfied, so the then block is never reached. Let me also point out that the 1st elseif is irrelevant, since its action to set nFoundOne to 0 is redundant (i.e. nFoundOne would have to be 0 to get there anyways). Shall we continue with the critique of DNAunion's code? Well, let's see .

PS: A definition of spaghetti code:
Quote:
Spaghetti code is a pejorative term for code with a complex and tangled control structure, especially one using many GOTOs, exceptions, or other "unstructured" branching constructs. Nowadays it is preferable to use so-called structured programming.
Principia is offline  
Old 03-30-2003, 12:46 PM   #57
Regular Member
 
Join Date: Mar 2002
Location: Nacogdoches, Texas
Posts: 260
Default

Quote:
[...]
3) You don't know the difference between C and C++.
Um, a minor quibble: using <iostreams> technically makes your program C++. But other than replacing the "printf" statements with "cout", you've really written nothing that couldn't have been done in C.

C++ is indeed a superset of C, and requires some additional programming acumen. But it's a bit inane to lord your mastery over the language when you take no advantage whatsoever of the "++" part of it.
Tom Ames is offline  
Old 03-30-2003, 12:52 PM   #58
Veteran Member
 
Join Date: Mar 2002
Location: anywhere
Posts: 1,976
Default

Quote:
C++ is indeed a superset of C, and requires some additional programming acumen. But it's a bit inane to lord your mastery over the language when you take no advantage whatsoever of the "++" part of it.
Good points, Tom. In fact, C++ permits object-oriented programming, of which there is not a single class in DNAunion's code. That is what I would've considered a defining feature of C++ code. I guess I could call all C code C++ code too, since they are in large part compatible.
Principia is offline  
Old 03-30-2003, 01:08 PM   #59
Veteran Member
 
Join Date: Jan 2001
Location: USA
Posts: 1,072
Default

Quote:
Principia: The problem is even worse, since when you take the modulus of FLOOR(RAND()*1000) by lnMax, which is typically not a factor of 1000...
DNAunion: Well of course it is typically not a factor of 1000. If it were typically a factor of 1000, then the % operation would typically return 0, which is not what is needed.

Quote:
Principia: There are some numbers that are underepresented. Let me give an example: say I take 0 to 100 modulo 7. There are 15 0's 15 1's and 15 2's whereas all the rest have 14 numbers to them. This is a clear bias.
DNAunion: Why are you substituting your own set of values for mine? The numbers I used were 0 through 999, modulo 9; they are quite easy to look at.

What we get is as follows:

0 = 112 occurrences; P(0) = 0.112
1 = 111 occurrences; P(1) = 0.111
2 = 111 occurrences; P(2) = 0.111
3 = 111 occurrences; P(3) = 0.111
4 = 111 occurrences; P(4) = 0.111
5 = 111 occurrences; P(5) = 0.111
6 = 111 occurrences; P(6) = 0.111
7 = 111 occurrences; P(7) = 0.111
8 = 111 occurrences; P(8) = 0.111

Hardly the kind of bias you would have us believe (though you are correct that it does exist, and technically I should eliminate it). Even with that function being called 4,000,000 times (4 calls / iteration * 1,000,000 iterations) that amount of bias won’t amount to anything really meaningful: if things fell perfectly in line with the above probabilities I’d get 4,000 too many 0’s (448,000 instead of 444,000), which out of 4,000,000 calls is only one-tenth of one percent error.

Hey, that's a lot better than Rode's being off by at least 11 orders of magnitude!
DNAunion is offline  
Old 03-30-2003, 01:17 PM   #60
Veteran Member
 
Join Date: Mar 2002
Location: anywhere
Posts: 1,976
Default

Quote:
The numbers I used were 0 through 999, modulo 9; they are quite easy to look at.

What we get is as follows:

0 = 112 occurrences; P(0) = 0.112
1 = 111 occurrences; P(1) = 0.111
2 = 111 occurrences; P(2) = 0.111
3 = 111 occurrences; P(3) = 0.111
4 = 111 occurrences; P(4) = 0.111
5 = 111 occurrences; P(5) = 0.111
6 = 111 occurrences; P(6) = 0.111
7 = 111 occurrences; P(7) = 0.111
8 = 111 occurrences; P(8) = 0.111

Hardly the kind of bias you would have us believe (though you are correct that it does exist, and technically I should eliminate it). Even with that function being called 4,000,000 times (4 calls / iteration * 1,000,000 iterations) that amount of bias won’t amount to anything really meaningful: if things fell perfectly in line with the above probabilities I’d get 4,000 too many 0’s (448,000 instead of 444,000), which out of 4,000,000 calls is only one-tenth of one percent error.

Hey, that's a lot better than Rode's being off by at least 11 orders of magnitude!
Well, congratulations, DNAunion for setting the standards so high!

In any case, you have simultaneously demonstrated in this post:
1) I have indeed shown your code to be flawed.
2) Your code is not in fact generalizable. So, you get a bias in one case when your number of tiles happens to be 9. But what happened to all of your talk about code reusability? Why can't the number of tiles be 7? or 11? or 20?
3) You have no turned the attention once again on just how "accurate" your code is. Remember, I challenged you to show us just how many significant figures we can trust in your code. What shall we believe now? 1 sig fig? 2 sig figs? What is the 95% confidence interval? You reported:
Quote:
The computer model produced a probability of 2.916 in 10^7.
Really, can we trust that 6 or 1, when your error is in the tenths of 1%?
4) More importantly, you have demonstrated the usefulness of having exact theoretical results with which to compare, especially when you are running probabilistic studies...
5) Which reminds me to ask why you haven't yet verified my answer to your challenge. So is it 5/14? (I bet it is ) Does it seem a little odd that I can do in one line of calculations, what it took you dozens of lines of code to figure out (and still can't decide whether or not it is "accurate")?
6) And of course, going back to the original them of my initial reply, I hope it is clear to readers (if not to DNAunion) why DNAunion's critique adds nothing of substance to Rode's paper. First of all, it is quite obvious, as I have shown, that DNAunion does not actually know a) what he is talking about; and b) what Rode is talking about. Secondly, the "new" results are based on touching up a flawed model, which despite four attempts by DNAunion, still fails to account for the double counting of linkages. Third, DNAunion apparently is sticking by his 1e-7 number. He has more or less admitted that this poses no significant challenge to Rode:
Quote:
DNAunion: Who are you waiting for? I didn’t say a probability of 1 in 10^7 invalidated Rode’s conclusions.
7) So what this whole exercise amounts to is mere nitpicking. That is to say, DNAunion couldn't meet his own standards that he applies to others.

*yawn* Alrighty, I think I've had enough fun for today.
Principia is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -8. The time now is 07:04 PM.

Top

This custom BB emulates vBulletin® Version 3.8.2
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.