Changeset 2292 for research/2008displacement/README
 Timestamp:
 Apr 16, 2008, 12:11:50 AM (15 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

research/2008displacement/README
r2291 r2292 40 40 41 41 # Mean voting for part 3 and 4 42 # Square mean voting is not interesting 42 43 cat part3/aerials2.1.01.txt  while read x k y ; do echo "$k $(grep $k part3/*  awk '{ a+=$4; dx+=$10; dy+=$12; n+=1 } END { print a/n, dx/n, dy/n }')"; done  sort nk2  head 20 43 44 cat part3/aerials2.1.01.txt  while read x k y ; do echo "$k $(grep $k part3/*  awk '{ a+=$8; dx+=$10; dy+=$12; n+=1 } END { print a/n, dx/n, dy/n }')"; done  sort nk2  head 20 44 45 cat part4/aerials2.1.01.txt  while read x k y ; do echo "$k $(grep $k part4/*  awk '{ a+=$4; dx+=$10; dy+=$12; n+=1 } END { print a/n, dx/n, dy/n }')"; done  sort nk2  head 20 45 46 cat part4/aerials2.1.01.txt  while read x k y ; do echo "$k $(grep $k part4/*  awk '{ a+=$8; dx+=$10; dy+=$12; n+=1 } END { print a/n, dx/n, dy/n }')"; done  sort nk2  head 20 47 48 # root square mean voting... why not, after all? 49 cat part3/aerials2.1.01.txt  while read x k y ; do echo "$k $(grep $k part3/*  awk '{ a+=sqrt($4); dx+=$10; dy+=$12; n+=1 } END { print (a/n)*(a/n), dx/n, dy/n }')"; done  sort nk2  head 20 50 cat part3/aerials2.1.01.txt  while read x k y ; do echo "$k $(grep $k part3/*  awk '{ a+=sqrt($8); dx+=$10; dy+=$12; n+=1 } END { print (a/n)*(a/n), dx/n, dy/n }')"; done  sort nk2  head 20 51 cat part4/aerials2.1.01.txt  while read x k y ; do echo "$k $(grep $k part4/*  awk '{ a+=sqrt($4); dx+=$10; dy+=$12; n+=1 } END { print (a/n)*(a/n), dx/n, dy/n }')"; done  sort nk2  head 20 52 cat part4/aerials2.1.01.txt  while read x k y ; do echo "$k $(grep $k part4/*  awk '{ a+=sqrt($8); dx+=$10; dy+=$12; n+=1 } END { print (a/n)*(a/n), dx/n, dy/n }')"; done  sort nk2  head 20 46 53 47 54 # Clever stuff (or not)
Note: See TracChangeset
for help on using the changeset viewer.