Real Numeracy


Five steps for advocacy. From WebJunction.org

by George Taniwaki

Sue and I attended a class on advocacy. It was an eye opening experience. If you want to get involved in your community and improve governance, you should attend an advocacy class and get going. The class we attended was sponsored by the Seattle/King Country Coalition on Homelessness. If you live in the Seattle area, other organizations that hold advocacy classes include Northwest Harvest and Arc of King County.

We learned a lot. Below are some details .

Understanding advocacy

One of the first lessons is that advocacy is not lobbying. This is important since lobbying a government official can cause the nonprofit you are supporting to lose its tax-exempt status. Lobbying is approaching a politician or regulator and asking them to adopt a position that will directly or indirectly benefit you or the non-profit you represent, usually monetarily. Advocacy is asking a politician to do something that you think will address a social issue. It may benefit you or your organization, but only because it fills the unmet community need. Thus, all lobbying is advocacy, but not all advocacy is lobbying.

Advocate for bills not positions

You vote for legislators based on their positions. But there often isn’t a clear path to convert positions into actual legislation, especially related to budget bills. Your legislators are busy and subject to competing demands. They will not have time to read each bill in detail. They rely on community feedback on individual bills to gauge what is important to pass or defeat.

Thus, if you want to have impact, you have to determine which bills you want your legislator to vote for and against. (I’m assuming you are a layperson and not influential enough to actually write the bills you want to pass.) However, you also do not have time to read each bill in detail either. Thus, you will need to rely on a nonprofit organization to read them for you and pick out the talking points to make when you contact your legislators.

How to find your legislators

Every state has different number of legislators and districts. In Washington State, the there is a senate and a house with identical districts. Senators serve 4 year terms and representatives serve 2-year terms. There are 49 districts and each district has one senator and two house representatives, so a total of 49 senators and 98 representative.

To find your district and the names of your legislators, go to the district finder.

When to contact your legislators

Every state has a different legislative calendar. In Washington, in even years (like 2020), there is a short session lasting 60 days. In odd years, when the two-year budget is debated, there is a long session lasting 105 days, or sometimes longer if the budget is not approved in time. So in short session years, it is critical that you contact your legislators in January and February on the dates when the bills you are concerned about are “read” on the floor.

You may want to contact your legislators multiple times during the session. First is when the bill is in committee. If your legislator is on the committee that is debating the bill, you want to give a detailed comment. If they are not, you want to register your approval or disapproval of the bill so that they can include your tally and forward it to the committee. Once the bill is out of committee, you will want to contact your legislators again to indicate how you want them to vote. Finally, at the end of the session, thank the legislators for their vote. If they did not vote in the way you wanted, express your disappointment but say you hope they are still open to your future advocacy.

To find the status of the bills you are interested in, go to the bill report.

How to contact your legislators

There are many ways to contact your legislators and register comments. You can write an email, call by phone, send a fax, letter, or postcard, fill out a web form, or post comments on their social media sites (Facebook, Twitter, etc.).

The legislators may not read your comment personally, they may have an aide summarize them. Thus, it is important that you know which comments get summarized. Many legislators still do not get summaries of social media comments. So if you post something on their Facebook page, it may not get seen.

To comment by phone, call 1-800-562-6000

To send a comment by mail or email, go to the district finder.

To submit a comment on the web, go to Comment help.

Submitting a comment is fast and easy. If you want to get involved in advocacy, find a non-profit you want to support and get started now.

* * * *

Advocacy is cheap and easy and everyone can get involved. Lobbying is expensive and requires specialized skills as the story below shows.

“Let me tell you about the very rich. They are different from you and me.” So wrote F. Scott Fitzgerald. I realize this to a greater degree after taking the advocacy class. While moderately rich people like me often have the time and inclination to ask our representatives to vote for what we want at the local level, the very rich advocate at the national level.

I knew that many U.S. senate races involve out-of-state money. But I hadn’t realized why. A story by David Frum in the Atlantic (Apr 2020) gives a good explanation. Most very rich people live in big cities, located in coastal states, which tend to vote for leftish politicians. The rich tend to be more conservative and often find it difficult to sway their own senator’s vote. But every senator gets one vote. For the sake of efficiency, it makes more sense for them to contribute money to the campaign committees of conservative senators in small red states and then advocate or lobby for what they want by approaching those senators.

Says Frum, “United States senators from smaller, poorer red states… do not… primarily represent their states. They represent, more often, the richest people in bigger, richer blue States who find it more economical to invest in less expensive small-state races. The biggest contributor to Mitch McConnell’s 2020 campaign and leadership committee is a PAC headquartered in Englewood, New Jersey…”

Keeping my blog alive. Screenshot from Microsoft Apps Store

by George Taniwaki

I’ve been writing this blog since 2007. For most of that time I’ve been using a text editor called Windows Live Writer. It was part of a bundle of free apps called Windows Live Essentials that Microsoft distributed to enhance the value of Windows and the .NET Framework. The last upgrade was released in 2012 and the product was discontinued a few years later.

I just bought a new PC and could not install Windows Live Writer on it. I was somewhat concerned how to continue editing this blog. I suppose I could learn how to use the new online WordPress editor that uses a format and editing technique called blocks.

However, I’m old and set in my ways. Learning to use yet another text editor seems like a lot of work. Plus, there doesn’t seem a way to convert my existing .wpost files to the new WordPress format. And I prefer using a dedicated client app to an online browser app, even if it is performant.

Luckily, there are lot of people like me. I found Open Live Writer. As stated in Wikipedia, Open Live Writer is a free and open-source version of Windows Live Writer. It is supported by the .NET Foundation. And the installer works on my new PC. Yay.

Track this. Photo from Bloomberg BusinessWeek by Karen Ducey/Getty Images

by George Taniwaki

In a Bloomberg Businessweek editorial (Apr 2020), Cathy O’Neil (mathbabe) explains why a Covid-19 tracking app won’t work. It’s all about self-selection bias.

* * * *

[Update: For a good non-technical description of how the Apple and Google contact tracing API works, including the encryption method, see Economist, Apr 2020. The article also suggests that even though using an app for contact tracing is imperfect, its low-cost and passive nature makes it worthwhile.]

Can a partially effective vaccine flatten the curve?

by George Taniwaki

During this Covid-19 pandemic, we want to know when we can stop sheltering at home and go back into public spaces again. Further, we want to know which actions can speed up the time before that can happen.

One thing we do know is that when dealing with a novel disease (one that no human appears to have immunity for), the entire population cannot go back to pre-epidemic behavior at the same time before it is safe. Doing so will cause a spike in infections and deaths. This will terrorize the population leading to another round of isolation. If the public loses faith that the government knows when it is safe to change behavior, then when it finally is safe, people will still be afraid and time will be lost during the recovery, causing additional economic hardship.

So when can we go back to normal? I think that can happen only after herd immunity is achieved. This can take a very long time as a trickle of individuals become infected and recover with resistance or die, a process called flattening the curve. Or it can happen pretty quickly after the wide-spread inoculation of individuals with a safe and effective vaccine.

An effective vaccine may take 18 to 24 months to develop. Many people, including President Donald Trump, think staying home this long is unrealistic. Is it possible to shorten that time by releasing a partially effective vaccine sooner? Doing so may help flatten the curve without requiring social distancing.

Partially effective vaccines

An intriguing paper by Eduard Talamàs & Rakesh Vohra, entitled “Free and perfectly safe but only partially effective vaccines can harm everyone” pretty much contains the answer in its title.

The idea is that a partially effective vaccine will cause people to change their behavior too much, too soon, causing the spike we want to avoid. The conclusion is similar to the analysis popularized by Sam Peltzman of the Univ. Chicago (a microeconomics professor while I was a student there) who suggested that stricter automobile safety regulations could lead to increased deaths (of pedestrians) as drivers felt safer and became more reckless (J Polit Econ, Aug 1975).

The most important conclusion in Talamàs et al., is that with overlapping social networks, even those who do not increase the size of their networks after the introduction of the vaccine can be harmed by those who do. This conclusion is slightly different than those of most epidemiological models that assume random contact between individuals rather than strategic networks. A good description of the paper is given by one of the authors, Vohra, at The Leisure of the Theory Class (Apr 2020).

What will we ask our robots to do? Image from The New Yorker

by George Taniwaki

Check out the illustration above by Tom Gauld on the cover of the May 20, 2019 issue of The New Yorker. It’s humorous because on first glance, it seems that it would be a waste if in the future we create robot dogs and robot humans for the sole purpose of having them exchange places.

But on further reflection, I think that response is wrong. Having robot dogs and robot dog walkers could both be solutions for people who like dogs. We dog owners (or previous dog owners, like me, since our beloved Wheatcakes died) like dogs because they get us out of the house. However, we are not home all the time and dogs gets bored and lonely.

For people in the middle-class who spend their day at work and not enough time at home, a robot dog might be the bourgeois solution to keep them active and outdoors. For the very rich, having a live dog and a robot to keep the dog company may be the Veblenesque solution to their desire to own a dog and to assuage their guilt about abandoning it.

Not how the crow flies to get to work each day. Image from Google Maps

by George Taniwaki

I really don’t like to drive to work. I’ll do almost anything to avoid a long commute. For most of my adult life I have either walked or ridden a bus to get to work. Yes, it’s possible. I always chose an apartment to rent or house to buy based on how close it is to my job. And once I’ve found a place to live, I usually reject a new job unless it’s within walking or riding distance. It helps that I like living in big cities.

But I just started a contract assignment in Mountlake Terrace, a suburb of Seattle about 20 miles from where I live as the crow flies (see image above, or not). This isn’t the longest commute in my life, but the first long one in a few decades. And it’s the first long commute where I’m driving alone rather than in a carpool.

Google Maps, initial attempt

The traffic in Seattle is awful. To reduce my commute time, I’ve decided that starting my drive at 6:30 and working from 7:30 to 4:00 will help. Before my first day to the job site, I pull out Google Maps and plot my route (see Fig 1).

Figure 1. My first route to the office, average 42 minutes every morning

For the analysis in this blog post, I split my drive into segments based on type of driving. Segment A consists of surface streets from my house to the highway. B is 17 miles at highway speed driving north, away from the city, C is a slow slog where I double-back and join the commuters coming into town, and D is the final, short segment of surface streets to the office.

Table 1 below shows details of my commute. Most of it is tolerable. But notice that segment C (the red zone) constitute less than one-sixth of my commute distance but over one-third of my commute time.

MapDescription

Dist.

Speed

Elapsed Time

ASurface streets from home to SR520

3

30

6

BSR520 to I-405 to I-5

17

60

17

CI-5 to Mountlake Terrace

4

15

16

DSurface streets from I-5 to office

1

20

3

TOTAL

26

37

42

Table 1. Speed for Google Maps, initial attempt

Google Maps, redux

After a couple weeks of following this route, I’ve learned which lanes to use on which segments to slice a few minutes off my commute. But I think I can still do better. I check Google Maps for some alternatives. This time it gives me a completely different, and unexpected, route. It tells me to go a few miles out of my way south to I-90 and drive north through the city on I-5 (see Fig 2).

I-5 in downtown Seattle is one of the most congested highways in the U.S. I get queasy every time I drive it worrying about getting stuck. But maybe it’s not so bad at 6:45 AM, which is about what time I will get there. So I trust Google Maps and try it.

Figure 2. Google Maps’ new suggestion, average time 44 minutes

It works. I try the route on two consecutive days. The table below shows the average results. There is congestion on I-5 between I-90 to Olive Way (Segment C red zone) but it is a shorter segment than my previous commute. However, the route is longer, so it doesn’t save much time. Further, I don’t like this route because it limits my options. If there is an accident or other delay, I will be stuck in traffic with no easy way to avoid it.

MapDescription

Dist.

Speed

Elapsed Time

ASurface streets from home to I-90

4

30

8

BI-90 to downtown

8

60

8

CI-5 to Olive Way

2

20

6

DI-5 to Mountlake Terrace

14

60

14

ESurface streets from I-5 to office

1

20

3

TOTAL

29

42

39

Table 2. Speed for Google Maps, redux

Waze to the rescue

Waze is a GPS navigation app originally developed in Israel but quickly went global. It uses traditional digital map data and combines it with real-time location data from users including speed, route, reports of traffic jams, accidents, police speed traps, and gasoline prices at nearby stations. Thus, the more people who use it, the more accurate it becomes.

Waze also shows you the current toll price (Seattle uses variable toll pricing) and lets you avoid tolls, ferries, or highways, if desired, when choosing a route.

Google (now Alphabet) acquired Waze in 2013 but it remains a separate entity from Google Maps. Because Waze collects potentially personally identifiable information (PII), it has a less restrictive user agreement than Google Maps and warns users of that fact. (Though most people never read the agreement and just click “I accept”.)

Generating a route is a highly resource intensive calculation that often involves machine learning. To simplify the work, Google Maps generally limits routes to major arterial streets. Waze combines those calculations with the actual routes users are taking to find the minimum travel time. Thus, Waze often creates routes that run through residential neighborhoods. Of course, the neighbors sometimes complain or even fight back by generating fake route data (Wash Post, Jun 2016).

Figure 3 below shows the route Waze recommends for my commute. It looks just like the original route that Google Maps suggested, except for the last segment. I still take the I-5 cloverleaf, but instead of continuing onto I-5, it has me veer right and use side streets to get to the office.

Figure 3. My new favorite route to work
MapDescription

Dist.

Speed

Elapsed Time

ASurface streets from home to SR520

3

30

6

BSR520 to I-405

17

60

17

CSurface streets from I-405 to office

6

30

12

TOTAL

26

44

35

Table 3. Speed for Waze to the rescue

The best part is that I can see I-5 from the I-405 off-ramp. When traffic is light (speed is 30 mph or more), I can veer to the left and take I-5 to the office. When I-5 is congested, I can veer to the right and take surface streets. While on the surface streets, I can continue to see I-5 and confirm whether I made the right decision and improve my choice for future days.

Waze leads me astraze

With my success with Waze in the morning, I decide to use it for my evening commute home as well. As I turn onto I-5, Waze tells me there is road kill ahead. I wonder where. Then suddenly I see a raccoon and am jolted by the thump. It saddens me to know that I’ve squashed an innocent animal under my tires, even if it is already dead.

The rest of the commute home is uneventful until Waze tells me to exit I-405 at NE 85th St in Kirkland (Fig 4b), 4 miles before my usual exit at SR520 (Fig 4a). Gee, that seems like a bad idea. Should I ignore Waze and keep going straight? Or should I take the exit? Maybe there is an accident on my regular route. Or maybe the crowd of Waze users knows a sneak route. Well, Waze has been pretty accurate so far, so I take the exit.

Ugh, what a mistake. Driving east on NE 85th St takes me straight into a huge traffic jam on Redmond Way. Also, there is a giant construction project on the Microsoft campus, so West Lake Sammamish Pkwy is overflowing with drivers avoiding lane closures on 156th Av NE. My commute today is more than 35 minutes longer than usual. I won’t do that again.

Figures 4a, b. My normal commute home, Waze suggestion for 11/21/2019

Conclusion

Both Waze and Google Maps show you unexpected options and are likely to give better routes than you could find on your own. Overall, my experience with Waze was better than Google Maps, but both could use improvements.

* * * *

All this talk about commute time has me remembering a brain teaser from my childhood. Let’s say I want my average commute speed to be 40 mph. One day, I get stuck in traffic and cover the first half of the distance to work at an average speed of 20 mph. How fast do I have to drive on the second half to meet my goal? Hint: The answer is not 60 mph or even 80 mph.

Folding a square sheet of paper. Illustration by George Taniwaki

by George Taniwaki

After scribbling notes on a square yellow Post-it note, I folded it in half and was about to put it in my pocket when I made an interesting observation. If I fold a square paper exactly in half while holding an edge toward me, the resulting visible area is a rectangle with an area of one-half the total area (top illustration above). The same is true if rotate the sheet 45 degrees and I fold it along the diagonal to make a triangle (middle illustration above). However, if I fold it in half along any other angle, the area of the top layer is exactly one-half, but two additional triangular ears are visible from under the fold (bottom illustration above).

That made me wonder. What angle produces the maximum area, and what is that area? This is the perfect math question for the origami enthusiast.

Let’s solve it.

Finding the relevant dimensions

The first step in solving this problem is to unfold the sheet, use geometry to find any symmetries, and use trigonometry to calculate the area of the two triangular ears as a function of the rotation angle, θ.

Figure 1. Unfolding the sheet

By unfolding the sheet, I discover a surprising symmetry. The two triangular ears are identical. Let’s call the lengths of the two exterior sides A and B. The area of one triangular ear is A * B / 2 and the area of both ears is A * B.

The length of the interior side, which is the hypotenuse of a right triangle, can be called C. The angles opposite each side can be labeled a, b, and c. (See figure above.)

Using trigonometry, this means A = C * cos(b) and B = C * sin(b).

The angle b is twice the rotation angle or 2θ. Substituting gives

A = C * cos(2θ) and B = C * sin(2θ).

The length of one side of the square = 1, so A + B + C = 1. Substituting and rearranging gives

C * cos(2θ) + C * sin(2θ) + C = 1

or

C = 1/(cos(2θ) + sin(2θ) + 1)

and finally substituting this value of C in our original equations for A, B, and A * B gives

A = cos(2θ) / (cos(2θ) + sin(2θ) + 1)
B = sin(2θ) / (cos(2θ) + sin(2θ) + 1)
A * B = cos(2θ) * sin(2θ) / (cos(2θ) + sin(2θ) + 1)2

Numeric solution

There are two ways to solve for the maximum value of the area A * B and the angle θ. We can solve it numerically and analytically. Let’s start with a numeric solution. In Excel, I create a table of values of θ from 0 to 45 degrees with steps of 1 degree increments. I convert degrees to radians and calculate the associated values of A, B, and A *B. Then I plot them. The maximum value occurs at θ somewhere between 22 and 23 degrees. Thus, it seems 22.5 degrees is the solution.

At 22.5 degrees, A = B = 0.2929 and A * B = 0.08579.

Figure 2. Plot of A, B, and A*B versus θ

Analytic solution

Now let’s prove the numeric solution is correct by using an analytical method. To find the maximum area, I take the derivative of A * B with respect to θ and set to zero. Then solve for θ. The solution uses basic calculus, including a combination of the product rule and chain rule. First, I define A * B as a group of functions as follows:

let f(θ) = cos(2θ)
g(θ) = sin(2θ)
h(θ) = 1 / (cos(2θ) + sin(2θ) + 1)2 = (cos(2θ) + sin(2θ) + 1)–2

and

A * B = f(θ) * g(θ) * h(θ)

The derivatives are as follows:

f'(θ) = -sin(2θ)*2
g'(θ) = cos(2θ)*2
h'(θ) = -2 * (cos(2θ) + sin(2θ) + 1)-3 * (-sin(2θ) + cos(2θ)) * 2 = 4 * (sin(2θ) – cos(2θ)) / (cos(2θ) + sin(2θ) + 1)3

and

(A * B)’ = ( f'(θ) * g(θ) * h(θ)) + (g'(θ) * f(θ) * h(θ)) + (h'(θ) * f(θ) * g(θ))

Now I substitute the values of the 3 functions and their derivatives into the last equation.

(A * B)’ = (-sin(2θ)*2 * sin(2θ) * h(θ)) + (cos(2θ)*2 * cos(2θ) * h(θ)) + 4 * (sin(2θ) – cos(2θ)) / (cos(2θ) + sin(2θ) + 1)3 * cos(2θ) * sin(2θ))

Simplifying and rearranging gets:

(A * B)’ = (cos2(2θ) – sin2(2θ)) * 2 * h(θ) + (sin(2θ) – cos(2θ)) * 4 * cos(2θ) * sin(2θ) / (cos(2θ) + sin(2θ) + 1)3

The solutions are values of where (A * B)’ = 0. This is only true when both cos2(2θ) – sin2(2θ) = 0 and sin(2θ) – cos(2θ) = 0. The only angle where this condition is met is 45° or θ = 22.5°. This proves that the maximum that I found numerically is a maximum area.

Updates and corrections

[Update: Completed the analytic solution section.]

« Previous Page — Next Page »