Thursday, 28 January 2016

Metastudy of arguments 2: Modus Tollen and deductive reasoning

In our previous post we discussed modus ponens, which is arguably the 'canonical' argument structure.
In this post I will its discuss it's canonical equivalent, the intuition behind deductive reasoning along with a basic proof by cases.

Recall the argument from modus ponens: $A$ is true, $A \rightarrow B$ is true. Hence $B$ is true. Now we recall that $A \rightarrow B$ means that it is impossible for $A$ to be true and $B$ to be false. This means that if $B$ is false, it is essential that $A$ also be false. Suppose we use $\neg$ as our notation for denoting a statement is false. Then it should be clear that $A \rightarrow B$ is the same as $\neg B \rightarrow \neg A$. We call this Modus Tollen.

One example of such an argument; All ravens are black. This bird is not black. Hence this bird is not a raven.

Now, what is deductive reasoning? We can think of it as basically using premises and applying logical rules to reach conclusions. The main idea being that we chain different arguments, often in the form of implicit implications. Thus most examples fall under the category of an elongated modus ponens. This should be quite logical. Consider an argument of the form $A, A \rightarrow B, B \rightarrow C, C\rightarrow D$. This leads us from $A$ to $D$. If we were to put in any other statement, for example $E$ then it would be meaningless as we can't really do much with it. With most arguments we want to minimise the number of assumptions (in this case A), and then use our chains of reasoning to lead to conclusions.

“Fear is the path to the dark side…fear leads to anger…anger leads to hate…hate leads to suffering"

A quote from Yoda that is a surprisingly good example of repeated implication. Essentially Yoda is stating that if Annakin has 'fear', then this has a number of implications which ultimately lead to the dark side. The important thing is that Yoda is minimising the number of 'requirements' on Annakin and is arguing that evidence of just this one attribute is enough.

Saturday, 23 January 2016

Metastudy of arguments 1: Logical notation

So I have recently managed to insert a script that allows me to type mathematical symbols into my blog posts. Due to this I will also be writing some blog posts regarding mathetmatics, although still from a more philosophical perspective. In this series I will discuss a number of different common argument structures using logical syntax. This is an application of logic, a subject which I feel is very important. With a very rudimentary understanding of logic, a lot of mathematics and general arguments become significantly easier to follow. Essentially if we can see how the opposing argument is structure we can more easily see why they are trying to assert certain things, along with making it easier to find problems in their reasoning.

First I will go through some common definitions that will be very helpful;

We represent conditional with the symbol $\rightarrow$.
We define a valid argument as an argument when it is impossible for the consequent to be true and the conclusion to be false.

In other words, suppose $A, B$ are two determinable sentences (which means we can give them a truth value), then $A \rightarrow B$ means that if $A$ is true, then $B$ must be true as well. Note that in mathematics the vast majority of objects are determinable. We compare this to something like philosophy where we might not have a definite answer for whether God is real is true or false. An example of a valid argument would be $n = 2 \rightarrow 2n = 4$. There is no situation where the former $(n=2)$ is true whilst the latter is false $2n =4$. At least if we assume to work in a 'standard model'.

We represent a bionditional with the symbol $(\Leftrightarrow)$. If $A \Leftrightarrow B$ then the truth values of $A, B$ are the same. Essentially we can think of definitions as biconditionals between the term and some conditions.

We denote $\forall$ as the universal quantifier. If we for example say that $\forall x f(x)$ then this means that everything (in the domain) fulfills f(x).
We denote $\exists$ as the existential quantifier. If we say for example that $\exists x g(x)$ then this means that there is at least one thing (in the domain) that fulfills g(x).

I will now provide a few common examples that uses this notation.

Every even number is double of some integer = $\forall x (Even(x) \rightarrow \exists y, x = 2y)$ 

A bachelor is a man = bachelor $\rightarrow$ man. 
We should note that the opposite does not hold.

We say that if $A$ is a necessary condition for B then $B \rightarrow A$. This means that if $B$ holds, then it is necessary that $A$ holds too.

We say that if $A$ is a sufficient condition for B then $A \rightarrow B$. This means that it is sufficient that if $A$ holds, then $B$ also holds.

I will conclude this post by discussing the most rudimentary of arguments.
Modus ponen: If $A$ is true and $A \rightarrow B$ is true then $B$ is true.

This is perhaps the most basic argument. Consider what $A \rightarrow B$ means. It is arguing that if $A$ is true then it is impossible for $B$ to false (and hence must be false). Now since we also know that A is true then $B$ must also be true.

An example: $(A) - $Plato was a man. $(A \rightarrow B)$ If Plato was a man then he must have been mortal. $B$: Plato was moral.


Friday, 8 January 2016

Gender roles in initial dates.

I've decided to move into a more diverse range of topics although I will approach them with (I hope) the same degree of rigour and analysis.

First we make the assumption of heterosexual dating or at the least a romantic date with both a male and a female. This is understandably a not completely fair assumption but it is necessary for the purpose of seeing how gender roles affect payment. The reason I discuss initial dates is that studies have indeed shown that as couples enter relationships payment gradually tends to equal split (usually). This discussion is still useful however because many dates do not become long term relationships, and thus the person who has to pay for the first date will have to suffer more in the long term as they have a cost each time they attempt to start a relationship.

Before we analyse the actual details of who should pay, there are a number of factors that should be noted before hand.

1) Who invited the other party to the date?
2) Relative income to cost

Now the traditional outlook is the idea that men should pay for the date. This outlook seems to have originated in the past when women would little if anything, and thus men would have to pay. Whilst such an outlook we can all agree was sexist, it seems reasonable to argue that the sexism was related to other factors, as opposed to women being able to pay but choosing not to. Women were usually given poor jobs and had difficulty rising. Further there lacked equality laws to enforce equal pay. 

We fast forward to our current situation. Studies seem to indicate that even people in this day and age, the majority expect men to pay for first dates. An initial argument might be that men still earn more than women on average, with statistics suggesting that they women earn 3/4 that of men. Aside from the fact that the statistic is a bit flawed (many argue it's actually 95%), this still does not justify such an expectation. If we assume gender equality is something we believe in, then the logical expectation is both would pay 50%. If we really wish to enforce this pay deficit, then men should pay roughly 55% and women 45%. Of course paying too much attention to the bill clearly can ruin a date, which gives one explanation why it may be preferred for one side to pay the full amount or otherwise an reasonable (usually equal) split. This is known as going Dutch.

Now we discuss the factors. The prior paragraph ignored both of these factors, which means it made the assumption that neither side 'specifically asked' the other to the date, and both people were financially capable of paying. The view that I held was that it seems logical for both sides to pay 50%. Or if this is viewed as too awkward, then one side should pay the whole thing with the gender of this side being (roughly) a coin flip. In other words, I argued that gender should be irrelevant, because of our belief in equality.

Some people argue that the person who asked the other on the date should be expected to pay for the date, and use this as an explanation for why men should be the ones paying if they asked the women on the date. Whilst an actually rather logical argument, it suffers from three problems. The first problem is the social expectation for men to 'take control', and thus it is usually expected for the man to initiate the date. This would ultimately mean that by our argument of 'whoever asked, pays', then ultimately men are going to have to pay. The primary problem here is that we are relying on an element that is ultimately sexist. 

The second problem is the notion that one person (the asker) is expected to 'woo' the other side. Again this usually plays on the social expectation that the man should 'woo' the lady, as opposed to the opposite. This ultimately means that again using our 'whoever asked, pays' argument men will usually have to pay, arguably unfairly as it is due to a sexist social convention.

Our final problem is that there is usually still a degree of double standards. Usually if a man and women are on a date, the women only has to decide whether they pay half or nothing. There usually isn't the question of whether they will pay full, which we can all agree is unfair. However by our 'whoever asked, pays' argument, we should in theory expect for a women to pay if they initiated the date. Ultimately it is this double standard that is a real issue that hurts our attempts to achieve gender equality. Simply enough we aren't willing to hold men and women to the same standards in terms of dating, at least in terms of monetary payment. Some people might argue that women will have to spend a lot of time in preparation but this is an ultimately unfair argument because men can easily do the same. This is still a result of social expectation. The other more depressing argument is that women are contributing by 'putting out'. This argument I think we can agree is awful for too many reasons.


  



Friday, 1 January 2016

A theory of tests

In today's post I will discuss theory behind testing and examinations, how to do conduct them effectively and why it is important to do so. We generally accept that performance is a factor that we can justifiably discriminate against people with.

First lets look at the motivations behind testing. I would argue that there two types of motivations; Indication and determination. An indication test is used to indicate whether a certain individual expresses competencies in a specific area. This sort of test is useful for things like driving licences. It serves to show that people can pass a necessary threshold, or to prove someone has a certain capability.

Determination tests are used to determine from a select population who is most proficient. In comparison to indication tests, determination tests are relative. One's performance in such tests is measured against other takers of the test, although usually a basic threshold is expected from all candidates. Examples would be Job interview tests or entrance exams. The main idea is that a population of candidates must all take the exam with the knowledge that their percentile ranking is the main factor in their result. Compare this to an indication test that only cares about passing a given boundary, although a higher performance is always useful.

Now in reality most tests serve a dual purpose. They are used to show that a candidate is capable of passing at at least a basic level, but the amount they exceed this level relative to other candidates gives us an indicator of how 'competent' they are. For example our basic aim with a mathematics GCSE, our primary aim is to receive the 'signature' C grade, which is the minimal requirement for higher education. The secondary aim is to reward effort and provide indication of how one would perform in further education (A-level) along with making sure they have basic capability for the mathematics to aid other subjects. It is important that the way we design our test is used properly with respect to it's purpose.

First I will discuss indication tests. Recall that we want the test to prove threshold performance. Thus our test should cover all topics deemed 'necessary' for this threshold and should cover them with sufficient detail. Now we make the assumption here that for most of indication tests, as most subjects are cumulative then successful performance in 'higher level tasks' can be used to indicate that one can satisfy basic level tasks as well. With indication tests we want it to be relatively straightforward for candidates to express their threshold understanding and thus we would expect a relatively high pass mark with most questions being of rather low difficulty. This allows us to ask many 'easy' questions with the expectation candidates can deal with them without too many problems. The total marks expressed by these 'easy' questions should be slightly higher than the pass mark in order to account for unrepresentative mistakes (for example nerves) but not high enough one can get away with only learning a small portion of the material. The remaining proportion of marks should be expressed in increasing difficulty. These marks can make up for conceptual errors in easier questions but should be a decent challenge meaning candidates need to show proportionally higher understanding in other topics to make up for this. I would not expect a normal distribution, but more a large skew towards passing with a relatively high standard deviation past the pass mark.

With exams people we often talk about 'assessment objectives' or skills that we expect candidates to be able to express. In academia this generally goes in an increasing scale, from Knowledge -> Application -> Analysis -> Evaluation -> Synthesis. With an indicator test we usually want candidates to be able to fulfill the first 2 objectives with confidence. They need to be able to know the content and apply it on a basic level, these should form the basis of the 'easy' questions. The harder questions should be formed of the latter three criteria.

Now I will discuss determination tests. These are used to judge who is the 'best' with respect to a given criteria. Since we assume candidates have already shown to have basic competence, these tests as we can expect should be designed differently. A very small proportion of the marks should be there as a reinforcement that candidates meet the threshold mark, that they can perform basic tasks. I am mostly thinking of this in terms of entrance exams, where one has to show that not only are they good, but they are better than everyone else. These exams should be composed primarily on Analysis, Evaluation and Synthesis. The important thing in these exams is that marks are effective discriminators. We don't want exams too hard that no one is able to do them because if everyone got 0 marks then it tells us nothing (assuming we still want to accept some of them). If we make the exam too easy then again this is useless as it makes small mistakes become unrepresentative and does not reward particular performances.

Instead we want to have a normal distribution (at least on the right end). If 100% is the full mark and X % is the amount of 'easy' marks, then we want the mean to be slightly lower than 0.5 (100 -X). Note that since we are only looking for the 'best', we would rather have a lower mean as the candidates that did well can be more easily observed. We want a medium sized standard deviation, too high and too low are both indicators of relatively bad design. It should be possible for a candidate to get 100%, but it should be increasingly difficult to get those marks. In general, determination exams should be sufficently difficult such that anyone who gets what we might normally think of as a 'decent' score is clearly a cut above the rest. As an example, I would personally praise the STEP exam as a relatively 'well designed' determination test. It's a determination test because it's clearly testing students who are expected to get A-A* grades (thus clearly pass a basic level) and to see who they should accept into University. The exam is statistically challenging, with a total of 120 Marks whilst the top grade can often be achieved with just 60-70% and 'good grades' with 30-40%. I would argue that the exam is probably a bit too skewed on the difficult side although cases of grade inflation may indicate otherwise. The primary thing is that there the mean score is low, but not too low which makes those who get 80%+ truly exceptional.

University exams are interesting because they have to be designed as both indicator and determination tests. They need to reward threshold understanding so candidates can achieve a pass mark, but they need to truly award higher level capability. Unfortunately, University exams are usually discussions between 40 (pass) - 70 (first class) which gives a rather low margin to discriminate between candidates. It is going to be very difficult to set questions of just enough difficulty that almost everyone can get 40% but enough people fail to get 70%. For a starter they need to end up making around 30% of the exam extremely difficult (or in the case of essay subjects, often impossible), and the portion between 40-70 needs to be at least challenging. This issue is furthered when we want most of our candidates to get a 2.1 meaning we need to design a test where almost everyone is sitting between 60-70%, without being ridiculously obvious and still rewarding hard work. That sounds like a lot of work!

I find tests fascinating on a conceptual level and it's interesting to observe that difficulties that test writers have to face to properly analyse their candidates.






An ideal notion of competition in games

As an aside from my discussion of perceptions, today I wish to discuss an 'ideal' structure of competitive games. I will refer to a game as a  theoretic concept but will address many different types of games such as Football, Darts, Chess and Dota.

The first thing to do is define our notion of game, which I would argue is the most difficult step. There has been a lot of philosophical discussion on what constitutes a game. I would like to use a relatively open definition so I can discuss a wider range of games and consider factors of each one. Thus, I define a game to be:

A game is a system in which players engage in artificial conflict, defined by rules, that result in a quantifiable outcome.

For an application of the definition, consider the game of Football. The artificial conflict is a construction where players are facing against each other. There is a set of rules that govern how the game is played which result in a quantifiable score (goals). What about for single player 'games'? Well many single player games are just playing against an artificial intelligence, which is still a player. Some might argue however, that a system such as Space Invaders is not a game since there is no active opposing player (the opposing units move in a sure pattern). In response we might note that there is meta system where players are competing in artificial conflict on trying to reach the highest score in space invaders. Thus I might argue that space invaders is not a game, but since it's only limitation is players, it's meta system can be viewed as a game. In fact, pretty much any activity can be extended such that a metasystem is a game. For example we can extend the notion of eating a cake into a cake eating game where players compete within a set of rules to eat the most cake.

Anyhow, the bigger question is regarding what constitutes a good game. The reason why this is important is due to the increasing rise of games as a popular mode of entertainment. E-sports have a growing influence and many people will be willing to pay to watch others play a game at the highest level of competition.

The first thing to address is the concept of skill depth. I would view this as a cartesian product of reasonable decisions and range of effects. In this sense, we might think of skill depth as asking us how many plausible decisions can we make and how much do our decisions actually matter. In video games this is usually represented by a range of complex mechanics. However for the game to have skill depth, a player should have to have a good grasp of all such mechanics or techniques in order to be successful. Ultimately, a game with high skill depth should mean that an experienced, 'good' player should have a notable advantage over a low skilled player.

So why is it important to have skill depth? This is because we want the people at the highest level of competition to able express their skill over the average player. Consider the following game: Two players both say a number 1 - 100 and the highest player wins. If this were played in a tournament, it would be incredibly boring because each player would just play 100 every single game. A game should have a wide range of strategies playable and the effect of each players decisions really matter. As a corollary of our main objective, we can also say that we don't want games to be luck based. If games are entirely a result of luck then it would be meaningless as decisions do not really matter and we can not accurately determine which player has played better.

A second key idea is the promotion of conflict. This means that a player's decisions can actively impact an opponent. This makes the game far less predictable and much more about intelligent decision making. For example suppose in 500 years time all the competitive darts players manage to reach 501 every single game. Or lets suppose we have robots who can play golf or snooker perfectly. Watching this would end up being boring because each player will just end up getting a perfect score and there is no real method to distinguish between who is good or bad. It's a bit like testing a class of undergraduate maths students on a foundations GCSE maths paper to see who is the best.

We compare this to a game such as Football where players are constantly at odds with each other. Even if you have a 'perfect' striker who can shoot with perfect accuracy, this still doesn't mean you will win if the opposing goal keeper is incredibly skillful as well. In essence we want a game where it's not just mechanics that matter, but decision making relative to opponents. The striker not only has to have the skill to shoot on point, but also has to outwit the goal keeper on where to shoot.

There is a reason why real-time games are generally more complicated than turn based games. This is because in most games a player can only make a finite range of decisions at every moment, and turn based games are segmented into a far shorter range of moments. This makes real-time games harder to 'figure out' as players have to make a lot of optimal decisions in a small amount of time. The key notion of conflict in these games is that players can disrupt opposing strategies meaning optimal decisions have to be reactionary and prepare for future plays. And players have to make these decisions on the go.

Now suppose we have a game of conflict that has an extremely high skill depth. How would one simultaneously make the game more challenging and interesting to watch / play? My answer is to add an element of teamwork. If making decisions relative to one player is difficult, how about against multiple players? This also plays upon our psychological needs. Studies suggest that if given the choice, people most desire to engage in cooperative competition, where they work together with a team to defeat opposing teams. Now one question to be asked is whether we should allow multiple teams and how this impacts the game. It is interesting that relatively few games have conflict with multiple teams. I believe this is because it can cause a fundamental imbalance. Ideally we want our games to start off at an even footing. But if a FFA game with 4 players has three players ganging up on the first then there is a bit of an issue because skill is not really being promoted. This is most evident in game shows such as 'The Weakest Link', where the 'best' players will be voted off in later rounds.

Extending upon the concept of teamwork, we want each players decisions to matter and ideally at all points in the game. This exists to some extent in games such as basketball or football where each players positioning matters at all points. However I would argue that such games are still limited to some extent due to play centering too heavily around a specific area at all points (i.e. the ball). In other words it not really simultaneous game play, but more strategic turn based where the 'active' player rotates. We compare this to games such as Dota or LoL where each player can actively impact the game at all points. I would say the ability to actively impact games may be centered more heavily on E-sports since players are transported to a different environment where rules are constantly maintained and more complexity can be expressed.

Gathering these concepts together, an ideal game of competition should be a team based where two teams engage in a game of conflict. The game should have very high skill depth and players should have to react both to team mates and opopsing sides. I believe that communication within the team is also very important. Each player in the game should be 'active' at all points in the sense that they are always making an impact on the game. A good competitive game should get more and more interesting the better players get, as opposed to getting less interesting (which depends on mechanical deficiencies of opposition, or a 'figured out' game).