Register to reply

Structure of Romantic and Sexual relationship

Share this thread:
Huckleberry
#55
Jul17-09, 05:03 AM
P: 606
Quote Quote by redargon View Post
If the study is to be used to apply STD prevention then it doesn't make sense anyway.
Yeah, you're right. I was only speculating on their definition of 'romantic relationship'. If they chose to include non-sexual dating as romantic relations then it would make even less sense. Including intercourse in their definition still doesn't improve upon their method.

The only time related reference I saw was that it is limited to partners within a 6 month period. It's pretty vague, but it makes for a pretty chart.
BobG
#56
Jul17-09, 11:11 AM
Sci Advisor
HW Helper
BobG's Avatar
P: 2,280
Quote Quote by redargon View Post
If the study is to be used to apply STD prevention then it doesn't make sense anyway.

as I said earlier:
It does if you're looking at things from a probability point of view. The people involved won't know the detailed sexual history of their partners (or whether the sex was protected or unprotected).
Redbelly98
#57
Jul17-09, 07:29 PM
Mentor
Redbelly98's Avatar
P: 12,071
Quote Quote by DaveC426913 View Post
I am pretty sure that the appearance of those connectons as a ring is an artifact of arbitrary organization. While factual, it has little meaning.
Well, I was just getting into this whole thread but now the mood is ruined.
GeorginaS
#58
Jul18-09, 12:34 AM
GeorginaS's Avatar
P: 380
I can't think of another message board I've been a member of where a picture of dots and lines could generate four pages worth of discussion and analysis.

That's one reason why I like it here.
jobyts
#59
Jul18-09, 02:37 AM
P: 216
Quote Quote by Redbelly98 View Post
Well, I was just getting into this whole thread but now the mood is ruined.
Yes, The initial mood was trying to find out who is the biggest stud and slut, and question like do they do orgies etc. (also Dave's attempt to imagine himself as the blue dot connected to 6 pinks , until he knew it's a 6 months graph, not a six year graph )

But later the talk changed to graph theory and STD
CRGreathouse
#60
Jul18-09, 04:46 AM
Sci Advisor
HW Helper
P: 3,684
Quote Quote by Office_Shredder View Post
Yes I am, but you shouldn't go looking for special meaning into the big circle, because there's probably something similiar in every group just by probability
Quote Quote by DaveC426913 View Post
I am pretty sure that the appearance of those connectons as a ring is an artifact of arbitrary organization. While factual, it has little meaning.

If you have a random set of dots laid out and make random connections, you get topological data minus spatial organization. Then you manually arrange all those branches and nodes to be as visually organized as possible, it will disproportionately highlight things like this. It's just unavoidable.
Actually I thought it was quite unusual for a random graph -- for as many connections as there are, I would expect a larger main component. It's only 1/4 to 1/3 the population.
mXSCNT
#61
Jul18-09, 05:39 AM
P: 330
I ran some tests, adding edges randomly and independently of one another. If the expected number of hookups for any given person is around 1, for a few hundred people you do typically get one large component, which is almost a tree (very few cycles)--so perhaps the lack of cycles is not noteworthy.

My source code (python):
import random
from copy import deepcopy

# create a graph with numnodes nodes, where each edge has a probability
# of existing such that the expected number of edges to a given node
# is avgconnects
# graph is stored as an adjacency list dict
# no self-edges
def randgraph(numnodes,avgconnects):
    graph = {}
    nodes = range(numnodes)
    prob = float(avgconnects)/(numnodes-1)
    for x in nodes:
        graph[x] = set([])
    for x in nodes:
        for y in nodes[:x]:
            if random.random() <= prob:
                graph[x].add(y)
                graph[y].add(x)
    return graph

# create a random graph of boys and girls
# where boy nodes connect only to girl nodes
# and girl nodes connect only to boy nodes
# and the expected number of edges to any node is avgconnects
# (if the number of boys and girls is unequal,
#  this may result in higher or lower averages for each gender)
def boygirlgraph(boynum,girlnum,avgconnects):
    graph = {}
    boys = ['b' + str(x) for x in range(boynum)]
    girls = ['g' + str(x) for x in range(girlnum)]
    prob = float(avgconnects)*(boynum+girlnum)/(2*boynum*girlnum)
    
    for x in boys + girls:
        graph[x] = set([])
    for b in boys:
        for g in girls:
            if random.random() <= prob:
                graph[b].add(g)
                graph[g].add(b)
    return graph

# imperatively remove the node from the graph
# assumes all edges are bidirectional
def removenode(node,graph):
    for x in graph[node]:
        graph[x].remove(node)
    graph.pop(node)

# return a list of connected components, each component being a set of nodes
# the largest components appear first in the list
def componentlist(graph):
    components = []
    tmpgraph = deepcopy(graph)
    while len(tmpgraph) > 0:
        (node,adj) = tmpgraph.iteritems().next()
        curcomp = set([])
        def descend(node):
            adj = tmpgraph[node]
            curcomp.add(node)
            for x in adj:
                if not x in curcomp:
                    descend(x)
        descend(node)
        components.append(curcomp)
        for x in curcomp:
            removenode(x,tmpgraph)
    components.sort(key=len,reverse=True)
    return components

# return the subgraph including only those nodes in the component given
def subgraph(component,graph):
    tmpgraph = {}
    for x in graph:
        if x in component:
            tmpgraph[x] = graph[x] & component
    return tmpgraph

# In a maximal connected component, how many edges would need to be removed
# to turn the component into a tree?
def numcycles(component, graph):
    nedges = 0
    for x in component:
        nedges += len(graph[x])
    nedges /= 2
    # tree has len(component) - 1 edges
    return nedges - len(component) + 1

# convert to graphviz/dot format
def dotfmt(graph):
    conns = [str(a) + ' -- ' + str(b) + ' ;' for a in graph for b in graph[a] if a < b]
    return "graph{\n" + '\n'.join(conns) + '\n}\n'
BobG
#62
Jul18-09, 05:26 PM
Sci Advisor
HW Helper
BobG's Avatar
P: 2,280
The guy connected to 9 pink dots can program in Python.

People who can program in Python are like porn stars.

People who can run Python programs on their computer are like porn star viewers.

A person who can't run Python programs on their computers is like a nerd with a Betamax.
JasonRox
#63
Jul18-09, 10:15 PM
HW Helper
PF Gold
JasonRox's Avatar
P: 2,327
I know what school my son is going to now.
JasonRox
#64
Jul18-09, 10:17 PM
HW Helper
PF Gold
JasonRox's Avatar
P: 2,327
Quote Quote by Math Is Hard View Post
I had boyfriends when I was in high school, but none of them were in high school. I guess there's no mapping for that.
I remember you telling me you liked younger men. Please tell me that happened later on in life.
mcknia07
#65
Jul18-09, 10:36 PM
mcknia07's Avatar
P: 321
Quote Quote by JasonRox View Post
I know what school my son is going to now.
Congrats, what are you naming him?

I'm not sure the world can handle a Jason JR.
lisab
#66
Jul22-09, 07:46 PM
Mentor
lisab's Avatar
P: 2,990
Ah, this explains a lot. It was all about esthetics.
Pinu7
#67
Jul22-09, 08:23 PM
P: 270
Talking about this, xkcd's most recent comic is about physicists:

http://xkcd.com/613/
wrongusername
#68
Jul31-09, 02:44 AM
P: 61
I'm kinda surprised there's a triangle in there. That means a girl had a relationship with both a girl and a boy during 6 months. So is she gay or straight???

Also, why are there no trapezoids?
Borg
#69
Jul31-09, 08:15 AM
PF Gold
Borg's Avatar
P: 771
I wonder if this was applied?
KingNothing
#70
Jul31-09, 09:27 AM
P: 949
HO-LY-****!!!!!!!

I had no idea people were that huge of sluts in high school. Some interesting notes:
-The biggest player had been with 8 girls
-The biggest slut had been with 5 guys

Also, does it not strike anyone else as a bit odd that this whole thing turned out to be planar? What does that imply for the nature of sexual relations?
Redbelly98
#71
Jul31-09, 12:35 PM
Mentor
Redbelly98's Avatar
P: 12,071
Quote Quote by wrongusername View Post
... why are there no trapezoids?
Quote Quote by KingNothing View Post
... does it not strike anyone else as a bit odd that this whole thing turned out to be planar?
Indeed. Where are the concave polygons, dodecahedra, and 4-dimensional hypercubes? Clearly the data has been doctored with.
KingNothing
#72
Jul31-09, 01:50 PM
P: 949
Quote Quote by Redbelly98 View Post
Indeed. Where are the concave polygons, dodecahedra, and 4-dimensional hypercubes? Clearly the data has been doctored with.
Funny man, but I'm actually serious about the graph being 100% planar. It does seem strange to me, although I can't quite figure out what it means for sex.


Register to reply

Related Discussions
Sexual Dysfunction Medical Sciences 2
Subtle background structure in deep astronomy photos; CSL-1 cosmic string gravitational lens in Capodimonte Deep Field; Millennium Simulation of evolving cosmic structure; AstroDeep group; Murray mesh; www.Flickr.com evolving cosmic structure; As General Physics 1
The Lament of a Romantic Realist General Discussion 0
Romantic moments General Discussion 129
Sexual Maturity and the Law Biology 27