Magnus Thor Torfason

Assistant Professor of Business Administration (Leave of Absence)

Magnus Thor Torfason is an assistant professor in the Entrepreneurial Management Unit at Harvard Business School, where he teaches the Founders’ Dilemmas course in the MBA elective curriculum. Previously he taught The Entrepreneurial Manager course in the MBA required curriculum.

His research focuses on how behavior is influenced by the social structure of individuals and organizations. One research stream explores how social networks and group identities jointly affect adherence to informal societal rules and norms of behavior. Another research stream examines norms and their violation within exchange networks, including VC investment networks and transactions using electronic currency. In a third stream, Magnus has examined the birth and death of network weaving organizations – organizations whose main purpose is to provide connections between other actors.

Magnus Thor Torfason is an assistant professor in the Entrepreneurial Management Unit at Harvard Business School, where he teaches the Founders’ Dilemmas course in the MBA elective curriculum. Previously he taught The Entrepreneurial Manager course in the MBA required curriculum.

His research focuses on how behavior is influenced by the social structure of individuals and organizations. One research stream explores how social networks and group identities jointly affect adherence to informal societal rules and norms of behavior. Another research stream examines norms and their violation within exchange networks, including VC investment networks and transactions using electronic currency. In a third stream, Magnus has examined the birth and death of network weaving organizations – organizations whose main purpose is to provide connections between other actors.

Several of Magnus’s research projects rely on electronic trace data generated in online interactions, and he has a deep interest in both the methodological questions associated with the analysis of large scale electronic data sets and the theoretical questions associated with studying behavior in environments that are not considered “real” in the conventional sense.

Magnus is the recipient of a number of awards for his research and scholarly work, including a best paper award at the 2009 Transatlantic Doctoral Student Conference. Previously, he was a finalist for the Douglas Nigh Memorial Best Paper Award in 2007. His work has also been profiled in media outlets such as The Washington PostBBC, Wall Street Journal and Bloomberg.com.

Magnus was a co-founder of HandPoint, a software company currently headquartered in the UK, which develops payment and point-of-sale solutions for handheld computers. He served as Technical Director until he began his doctoral studies at Columbia in 2005, but continued to serve on the board of the company until 2009. He did his undergraduate studies at the University of Iceland, where he earned bachelor’s degrees in both electrical and electronic engineering and computer science.

Source Code

 

torfason.igraph.utils

This is set of utility functions written while working on “Organizing the In-Between”. The collection provides a number of network manipulation routines using the igraph package for R. The utilities include functions to collapse a two-mode network (say of individual memberships in groups), into a one-mode format (the network of individuals tied to other individuals through shared membership in groups). Also included are edge-aware set operators for networks (intersect/union/difference). These work on networks based on the names assigned to each node, rather than the numerical IDs of each node, allowing for substantively meaningful intersections or unions of two networks involving the same or similar set of nodes.

Example:
my.onemode.network = twomode.collapse(my.twomode.network)
both.friends.and.neighbors  = graph.intersection.by.name(
friend.network, neighbor.network)
either.friends.or.neighbors = graph.union.by.name(
friend.network, neighbor.network)

More detailed usage examples are included in an accompanying file in the download.

torfason-utils-igraph.zip

 

 

statalike

This is set of utility functions written while working on “The Global Rise of Democracy”. The collection implements a number of functions familiar to Stata users in the R statistics program. The first argument of each function is the name of the data.frame to use, followed by the relevant column names. An optional argument can be used to pass an if statement.

Example:
d = st.keep(d, reap.amount, sow.amount, land.type, rainfall)
d = st.sort(d, land.type)
model.1 = st.regress(d, reap.amount, sow.amount)
model.2 = st.regress(d, reap.amount, sow.amount, land.type, rainfall)

More detailed usage examples are included in an accompanying file in the download.

statalike.zip


If you find any of the above source code useful (or not), and in particular if you make any improvements to it, I’d love to hear about it.