L
LeAnne
Hi, all. This is one of those "Is this even possible?!?" posts, so
please bear with me. Picture an Access recordset with the following
nicely normalized information:
EventID Bug BugCount
1 Blue 3
1 Red 2
1 Green 2
1 Yellow 1
2 Red 2
2 Yellow 2
....
What I wish to do is to "decompose" or "deconstruct" (not sure of the
verb) the counts for each bug type for each event into an actual bug
list for each event like so:
Event Bug BugCount
1 Blue 1
1 Blue 1
1 Blue 1
1 Red 1
1 Red 1
1 Green 1
1 Green 1
1 Yellow 1
....
My intent is to somehow randomly resample the bug list for each event
until the total bug count for each event reaches a certain
pre-determined size (e.g when Sum([BugCount]) = 100, or 250, or 500
individuals). The ultimate goal is to compare taxonomic compositions of
subsamples of different sizes to see if there are any significant
differences.
Unfortunately, I am completely clueless when it comes to writing code,
which I'm fairly sure is needed here. Can anyone point me in the right
direction?
tia,
LeAnne
please bear with me. Picture an Access recordset with the following
nicely normalized information:
EventID Bug BugCount
1 Blue 3
1 Red 2
1 Green 2
1 Yellow 1
2 Red 2
2 Yellow 2
....
What I wish to do is to "decompose" or "deconstruct" (not sure of the
verb) the counts for each bug type for each event into an actual bug
list for each event like so:
Event Bug BugCount
1 Blue 1
1 Blue 1
1 Blue 1
1 Red 1
1 Red 1
1 Green 1
1 Green 1
1 Yellow 1
....
My intent is to somehow randomly resample the bug list for each event
until the total bug count for each event reaches a certain
pre-determined size (e.g when Sum([BugCount]) = 100, or 250, or 500
individuals). The ultimate goal is to compare taxonomic compositions of
subsamples of different sizes to see if there are any significant
differences.
Unfortunately, I am completely clueless when it comes to writing code,
which I'm fairly sure is needed here. Can anyone point me in the right
direction?
tia,
LeAnne