In [25]:
import pandas as pd
import matplotlib.pyplot as plt

Alternating Attention¶

Test Variables

  1. Correct Responses
  2. Commission Errors
  3. Omission Errors
  4. Mean Reaction Time

Age 4¶

In [26]:
df  = pd.read_csv("AA4.csv")

x = df[['id']]
y = df[['commission_errors']]
plt.scatter(x, y, c ="blue")

x2 = df[['id']]
y2 = df[['omission_errors']]
plt.scatter(x2, y2, c ="red")

plt.xlabel("ID")
plt.ylabel("Blue = CE, Red = OE")
plt.title("Alternating Attention - Age 4 --> TCR = 19")

df.plot(kind='scatter',x='id',y='correct_responses', c ="orange", title="Alternating Attention - Age 4") 
df.plot(kind='scatter',x='id',y='mean_reaction_time', c ="green", title="Alternating Attention - Age 4") 
Out[26]:
<AxesSubplot:title={'center':'Alternating Attention - Age 4'}, xlabel='id', ylabel='mean_reaction_time'>

Age 5¶

In [27]:
df  = pd.read_csv("AA5.csv")

x = df[['id']]
y = df[['commission_errors']]
plt.scatter(x, y, c ="blue")

x2 = df[['id']]
y2 = df[['omission_errors']]
plt.scatter(x2, y2, c ="red")

plt.xlabel("ID")
plt.ylabel("Blue = CE, Red = OE")
plt.title("Alternating Attention - Age 5 --> TCR = 19")

df.plot(kind='scatter',x='id',y='correct_responses', c ="orange", title="Alternating Attention - Age 5")
df.plot(kind='scatter',x='id',y='mean_reaction_time', c ="green", title="Alternating Attention - Age 5")
Out[27]:
<AxesSubplot:title={'center':'Alternating Attention - Age 5'}, xlabel='id', ylabel='mean_reaction_time'>

Divided Attention¶

Test Variables

  1. Correct Responses
  2. Commission Errors
  3. Omission Errors
  4. Mean Reaction Time

Age 4¶

In [28]:
df  = pd.read_csv("DA4.csv")

x = df[['id']]
y = df[['commission_errors']]
plt.scatter(x, y, c ="blue")

x2 = df[['id']]
y2 = df[['omission_errors']]
plt.scatter(x2, y2, c ="red")

plt.xlabel("ID")
plt.ylabel("Blue = CE, Red = OE")
plt.title("Divided Attention - Age 4 --> TCR = 8")

df.plot(kind='scatter',x='id',y='correct_responses', c ="orange", title="Divided Attention - Age 4")
df.plot(kind='scatter',x='id',y='mean_reaction_time', c ="green", title="Divided Attention - Age 4")
Out[28]:
<AxesSubplot:title={'center':'Divided Attention - Age 4'}, xlabel='id', ylabel='mean_reaction_time'>

Age 5¶

In [29]:
df  = pd.read_csv("DA5.csv")

x = df[['id']]
y = df[['commission_errors']]
plt.scatter(x, y, c ="blue")

x2 = df[['id']]
y2 = df[['omission_errors']]
plt.scatter(x2, y2, c ="red")

plt.xlabel("ID")
plt.ylabel("Blue = CE, Red = OE")
plt.title("Divided Attention - Age 5 --> TCR = 8")

df.plot(kind='scatter',x='id',y='correct_responses', c ="orange", title="Divided Attention - Age 5")
df.plot(kind='scatter',x='id',y='mean_reaction_time', c ="green", title="Divided Attention - Age 5")
Out[29]:
<AxesSubplot:title={'center':'Divided Attention - Age 5'}, xlabel='id', ylabel='mean_reaction_time'>

Sustained Attention¶

Test Variables

  1. Percentage Number of Correct Responses
  2. Omission Errors
  3. Mean Reaction Time
  4. Total Duration

Age 4¶

In [30]:
df  = pd.read_csv("SuA4.csv")

df.plot(kind='scatter',x='id',y='omission_errors', c ="blue", title="Sustained Attention - Age 4")
df.plot(kind='scatter',x='id',y='percentage_no_of_correct_responses', c ="orange", title="Sustained Attention - Age 4")
df.plot(kind='scatter',x='id',y='mean_reaction_time', c ="green", title="Sustained Attention - Age 4")
df.plot(kind='scatter',x='id',y='total_duration', c ="purple", title="Sustained Attention - Age 4")
Out[30]:
<AxesSubplot:title={'center':'Sustained Attention - Age 4'}, xlabel='id', ylabel='total_duration'>

Age 5¶

In [31]:
df  = pd.read_csv("SuA5.csv", nrows=5)

df.plot(kind='scatter',x='id',y='omission_errors', c ="blue", title="Sustained Attention - Age 5")
df.plot(kind='scatter',x='id',y='percentage_no_of_correct_responses', c ="orange", title="Sustained Attention - Age 5")
df.plot(kind='scatter',x='id',y='mean_reaction_time', c ="green", title="Sustained Attention - Age 5")
df.plot(kind='scatter',x='id',y='total_duration', c ="purple", title="Sustained Attention - Age 5")
Out[31]:
<AxesSubplot:title={'center':'Sustained Attention - Age 5'}, xlabel='id', ylabel='total_duration'>

Focused Attention¶

Test Variables

  1. Correct Responses
  2. Omission Errors
  3. Mean Reaction Time
  4. Total Duration

Age 4¶

In [32]:
df  = pd.read_csv("FA4.csv")

df.plot(kind='scatter',x='id',y='omission_errors', c ="blue", title="Focused Attention - Age 4 --> TCR = 10")
df.plot(kind='scatter',x='id',y='correct_responses', c ="orange", title="Focused Attention - Age 4")
df.plot(kind='scatter',x='id',y='mean_reaction_time', c ="green", title="Focused Attention - Age 4")
df.plot(kind='scatter',x='id',y='total_duration', c ="red", title="Focused Attention - Age 4")
Out[32]:
<AxesSubplot:title={'center':'Focused Attention - Age 4'}, xlabel='id', ylabel='total_duration'>

Age 5¶

In [33]:
df  = pd.read_csv("FA5.csv")

df.plot(kind='scatter',x='id',y='omission_errors', c ="blue", title="Focused Attention - Age 5 --> TCR = 10")
df.plot(kind='scatter',x='id',y='correct_responses', c ="orange", title="Focused Attention - Age 5")
df.plot(kind='scatter',x='id',y='mean_reaction_time', c ="green", title="Focused Attention - Age 5")
df.plot(kind='scatter',x='id',y='total_duration', c ="red", title="Focused Attention - Age 5")
Out[33]:
<AxesSubplot:title={'center':'Focused Attention - Age 5'}, xlabel='id', ylabel='total_duration'>

Selective Attention¶

Test Variables

  1. Percentage Number of Correct Responses
  2. Commission Errors
  3. Omission Errors
  4. Total Duration

Age 4¶

In [34]:
df  = pd.read_csv("SA4.csv")

x = df[['id']]
y = df[['commission_errors']]
plt.scatter(x, y, c ="blue")

x2 = df[['id']]
y2 = df[['omission_errors']]
plt.scatter(x2, y2, c ="red")

plt.xlabel("ID")
plt.ylabel("Blue = CE, Red = OE")
plt.title("Selective Attention - Age 4")

df.plot(kind='scatter',x='id',y='percentage_no_of_correct_responses', c ="orange", title="Selective Attention - Age 4")
df.plot(kind='scatter',x='id',y='total_duration', c ="green", title="Selective Attention - Age 4")
Out[34]:
<AxesSubplot:title={'center':'Selective Attention - Age 4'}, xlabel='id', ylabel='total_duration'>

Age 5¶

In [35]:
df  = pd.read_csv("SA5.csv")

x = df[['id']]
y = df[['commission_errors']]
plt.scatter(x, y, c ="blue")

x2 = df[['id']]
y2 = df[['omission_errors']]
plt.scatter(x2, y2, c ="red")

plt.xlabel("ID")
plt.ylabel("Blue = CE, Red = OE")
plt.title("Selective Attention - Age 5")

df.plot(kind='scatter',x='id',y='percentage_no_of_correct_responses', c ="orange", title="Selective Attention - Age 5")
df.plot(kind='scatter',x='id',y='total_duration', c ="green", title="Selective Attention - Age 5")
Out[35]:
<AxesSubplot:title={'center':'Selective Attention - Age 5'}, xlabel='id', ylabel='total_duration'>
In [ ]: