Sage Interact: Generate Discrete Data

DiscreteData

In an earlier post I designed a Sage Interact to generate data for continuous distributions. This week I've added a Sage Interact to generate data for discrete distributions. A screenshot of the Interact is shown above. To use the Sage Interact, copy the code posted on the Python/Sage page and paste it into any Sage Cell Server. Press "Evaluate" to start the interact. Pick the distribution you want to generate data for, adjust the parameters and the Interact will create your data as well as calculate standard statistics for the data. This is a quick way to generate examples for quizzes, tests, and lessons.

Here are some stories that caught my eye in the last week:

  • the74million.org has a surprising piece on "Connecticut’s Shame: In One of America’s Richest Counties, a High School Has Been Failing for 50 Years". The school is so bad there isn't really any way to get worse "Even to the jaded, Bassick’s achievement statistics are disturbing. Last year, only 15 percent of students tested proficient in language arts on the new Common Core-aligned state tests. The percentage of students who met that benchmark in math? Zero." Good thing they have certified teachers getting the most out of them.
  • Segregation--it wasn't that long ago. Actually, it's still going on. RT reports, "A northwest Mississippi school district has been ordered by a federal district court to "consolidate its secondary schools" that have long been separated along racial lines some six decades after the US Supreme Court ordered school desegregation.....This decision serves as a reminder to districts that delaying desegregation obligations is both unacceptable and unconstitutional,” said Principal Deputy Assistant Attorney General Vanita Gupta, head of the DOJ's Civil Rights Division. " In what way was the 50 year delay shown to be unacceptable?
  • Sputnik news notes that "A former elementary school paraprofessional in the Atlanta area must report to jail by 6:00 on Friday evening after being charged with reckless endangerment for hanging a five-year-old student by his belt from a classroom blackboard."
  • Reason.com closes the chapter on a teacher who used the N-word in class. "Andrea Quenette, the University of Kansas communications professor subjected to protests and a formal investigation after offending her liberal students, was cleared of wrongdoing. But she is still ultimately out of a job."
  • EAGnews with a horrific tale of student animal behavior that was impossible to imagine decades ago. "South Fort Myers High School officials believe as many as 25 boys had “inappropriate activity” with a 15-year-old female student inside of a bathroom on campus Tuesday. Students told NBC 2 the incident occurred in a girl’s bathroom after classes ended and involved the school’s football team." The NBC 2 link has a video and there's another link here with a little more depth, "While she would not pinpoint why the different students were on campus after hours, she said South Fort Myers students involved in extracurricular activities — athletics or otherwise — participate in a study hall from 1:47 to 2:30 p.m. This is roughly the time frame for when the bathroom activities took place, Chandler said." So about 45 minutes in which we have dozens of students unaccounted for and no adult apparently around the area to see or hear what was happening.
  • The Greeley Tribune on the decline of teachers in Colorado. "Since 2010, UNC has watched enrollment in its teacher preparation programs plummet from a high of nearly 4,000 in 2011 to just 2,900 last year. The state is expected to graduate only 2,000 next year, and it needs twice that amount, education officials say...There are states that are worse off than Colorado (Oklahoma, California). There are states that are doing better (Connecticut). But every state has seen its list of needs increase as the number of people pursuing teaching as a career has decreased." The school system is run by many people who aren't up to the challenge but there is little consequence for mismanagement and poor quality. Take the Connecticut situation above: what will be the consequence for poor performance? Will the school close for having 0% proficiency in math? How did the school get to a 0% proficiency rating with "professionals" running the school? Do teachers still get pay increases (above the rate of industry) for such an awful showing? Money will keep coming in from taxes, and the system will continue on. When there's no consequence for failure, expect more of it.

Coin Tossing references

The subject of coin tossing keeps coming up, no doubt because it is something the average person can relate to--no abstruse definitions like with limits (in Calculus). And that forces me to go back and find references for some of the basic points in the arguments that should be known but aren't. I've decided it's about time to accumulate the basic points and along with references:

The probability of flipping heads on a coin is not 1/2. The assumption that flipping heads on a coin is 1/2 is a mathematical model and not reality which is akin to using 3.14 for pi. Coin tossing is a deterministic process in physics as demonstrated by a coin tossing machine, "To make his point, Diaconis commissioned a team of Harvard technicians to build a mechanical coin tosser -- a 3-pound, 15-inch-wide contraption that, when bolted to a table, launches a coin into the air such that it lands the same way every single time. Diaconis himself has trained his thumb to flip a coin and make it come up heads 10 out of 10 times. But what he really wanted to know was whether unrehearsed tosses -- by ordinary folk who flip coins with unpredictable speeds and heights and catch them at different angles -- would show that the outcome of the act was, in fact, random." Persi Diaconis, Susan Holmes, and Richard Montgomery are authors of the article "Dyanmical Bias in the Coin Toss" (.pdf). There is a Numberphile video with Diaconis (about 8 minutes) that gives a brief overview and there is a YouTube lecture by Diaconis (about 55 minutes) with more detail. One of the main assumptions is that you start the coiin with the heads side up is

Mathematician William Feller was a well known expert in probability who wrote a classic book An Introduction to Probability Theory and Its Applications in which you can find (by click on "Look Inside") the following quote on page 19: "As a matter of fact, whenever refined statistical measures have been used to check on actual coin tossing, the result has invariably been that head and tail are not equally likely. And yet we stick to our model of an "ideal" coin even no good coins exist. We preserve the model not merely for its logical simplicity, but essentially for its usefulness and its applicability.".

The coin flipping model has two assumptions built into it:

  1. There are two outcomes (heads and tails)
  2. The two outcomes are equally likely.

The first assumption isn't always true. The Abstract of paper (by Murray and Teare) mentions the odds of an American nickel landing on its edge is about 1/6000.

The deterministic nature of coin flipping can be found in the Phys.org article "Heads or tails? It all depends on some key variables" which says:

"But first, here's what the researchers concluded: Using a high-speed camera that photographed people flipping coins, the three researchers determined that a coin is more likely to land facing the same side on which it started. If tails is facing up when the coin is perched on your thumb, it is more likely to land tails up. How much more likely? At least 51 percent of the time, the researchers claim, and possibly as much as 55 percent to 60 percent -- depending on the flipping motion of the individual.In other words, more than random luck is at work."

I've put this post on the Other page for future reference. If you teach probability in school this is a good topic to "go beyond" the basic curriculum. Too many students learn that the probability of flipping heads is 1/2 and not that the probability of flipping heads on a fair coin is 1/2. And the coins around us in the real world aren't fair.

Here are some stories that caught my eye this week:

  • What do you do with your spare time? According to Sott.net, "A 15-year-old boy believes he has discovered a forgotten Mayan city using satellite photos and Mayan astronomy. William Gadoury, from Quebec, came up with the theory that the Maya civilization chose the location of its towns and cities according to its star constellations. He found Mayan cities lined up exactly with stars in the civilization's major constellations. Studying the star map further, he discovered one city was missing from a constellation of three stars. Using satellite images provided by the Canadian Space Agency and then mapped on to Google Earth, he discovered the city where the third star of the constellation suggested it would be."
  • ZeroHege has an article showing just how deep the economic problems bite, "According to Bloomberg, a new survey by Discover Financial Services found that 48% of parents think their child should pay a portion (if not all) of the cost of attending college, up from 39% four years ago. And just how will potential students pay that portion? Why, student loans of course. 32% of respondents said they would ask the bank for help, while 27% plan to rely on family savings, 4% said they would dip into retirement funds, and 3% even indicated that they may refinance their home to pay for their kids college."
  • USNews has an excellent article on just how badly our schools are letting us down, and there is an economic price. "One in four who enter college immediately after high school graduation must pay college-level prices for high school-level classes....But before you write off inadequate high school preparation as a function of a student's family background or the type of college they attend, know this: Nearly half of first-year remedial students come from middle-class, upper middle-class and wealthy families. Forty percent are enrolled at public and private four-year colleges...We already knew that high schools typically underserve students from low-income families and communities, but apparently they're doing poorly with wealthier students as well. It turns out that all students are susceptible to the leaky K-12-to-college pipeline – no one is immune. This should be a wake-up call for all."
  • Say what? CBS6albany starts an article with, ""Stop for a second and think about the standards that you graduated high school with, it's night and day," said Shenendehowa Central School District Superintendent Dr. Oliver Robinson." and I'm thinking, right! Keep reading some more, though, "Under current state regulations, and in the age of Common Core, there's a real concern among parents about their kids making it to the stage in cap and gown to receive a high school diploma - and it's only getting tougher." Wait, what? The educational system has gotten weaker over the years. Try finding someone under, say, 30 to 35 who can handle decimals, fractions and percents. Whereas taking calculus used to be rare, nowadays "good" math students are taking calculus--and they can't handle fractions. "Parents and educators across the state are expressing worries about the impact on graduation rates. Robinson says data predicts a severe drop."We would go from about 93% graduation rates to barely over 50%, significant," he said...."We'd have a situation where, to be quite frank, districts would not produce graduates," he explained." And THAT is one of the many reasons why the public school system is so messed up. High school is something you have to go through before you go on to a college, enjoy parties, go into debt and come out with a degree that you need to get a job because everybody has a worthless high school degree. Rather than uphold a standard that students who graduate learn math, grammar, spelling, history, etc so that students who graduate are college ready we now have a system where 37% are college ready and "Only 8 percent of U.S. high school graduates complete a curriculum that prepares them well for college and the workplace" all while "The nation's high school graduation rate hit 82 percent in 2013-14, the highest level since states adopted a new uniform way of calculating graduation rates five years ago.". When you make something free, it loses its value. Make students earn a high school degree and some might take it more seriously. College has become the "high school" of 50 years ago except you go into debt and there's still no guarantee you can do basic math when you're finished.

tkz-graph: more options

Graph3

My confusion over the way to implement graphs in LaTeX prompted an earlier post where I started a Graph Theory, Sage, and LaTeX page. The first post suggested the Normal style for creating a basic graph: it's quick, clean and saves on printer ink. But using tkz-graph and tkz-berge you gives you a lot more control, if you need it. The two packages have enough differences in their approach that I thought a page of templates to serve as a starting point would be useful for me. Graph theory and discrete math, unfortunately, don't have much place in the educational curriculum so I've gone a little bit lighter on the details.

As you can see from the screenshot above we can change various aspects of the graph: the vertex color, the text color in the vertex, the color and thickness of the edges and even add labels. You can download the template and experiment with the code yourself.

Here are some stories that caught my eye over the last week:

  • Start with the Detroit teacher strike. Detroit is a poster child for what's wrong with public education. EAGnews has the coverage, "Detroit Federation of Teachers members ditched their students to protest about pay today, despite data that shows they’ve been ineffective at improving the district’s worst-in-the-nation student academic performance....The combined results for students of all grades tested last spring shows a mere 2.9 percent met basic proficiency standards for science, 7.9 percent reached that threshold for math, 8.1 were proficient in Social Studies, and 14.6 met standards in English Language Arts." It's difficult to argue that teachers are professionals when their results are this bad.
  • KOTAnews reports that Wyoming is dropping out of common core. Red Alert News claims that North Dakota is the 9th state to reject Common Core. The Salt Lake Tribune says "On Wednesday afternoon, Republican gubernatorial candidate Jonathan Johnson called for the end of SAGE testing in Utah schools.Not to be outdone, Gov. Gary Herbert issued his own call hours later, urging the state school board to abandon both SAGE and Utah's statewide education standards for math and English."Today I am asking the State Board of Education to consider implementing uniquely Utah standards," Herbert said in a letter to the board, "moving beyond the Common Core to a system that is tailored specifically to the needs of our state."".
  • Be careful about doing math in a public place, especially if you seem like a foreigner. SOTT.net on "A woman sitting next to an Ivy League economist told flight crew she had security concerns about the man, after seeing him write in a foreign script. It turned out to be a differential equation.". How stupid have are we?!?
  • The Washington Post has a fascinating article on "Education activists are increasingly becoming concerned about the computer grading of written portions of new Common Core tests....The standard PARCC contract indicates that this year, Pearson would score two-thirds of the students’ writing responses by computers, with only 10 percent of these rechecked by a human being.  In 2017, the contract said, all of PARCC writing samples were to be scored by machine with only 10 percent rechecked by hand...This policy appears to contradict the assurances on the PARCC scoring FAQ page that says,“Writing responses and some mathematics answers that require students to explain their process or their reasoning will be scored by trained people in the first years.”...The Pearson and AIR contracts also promised studies showing the reliability of computer scoring. ...According to Les Perelman, retired director of  a  writing program at MIT and an expert on computer scoring, the PARCC/Pearson study is particularly suspect because its principal authors were the lead developers for the ETS and Pearson scoring programs. Perelman said:  “It is a case of the foxes guarding the hen house.  The people conducting the study have a powerful financial interest in showing that computers can grade papers.”....Indeed, research shows it is easy to game by writing nonsensical long essays with abstruse vocabulary......Unable to analyze meaning, narrative, or argument, computer scoring instead relies on length, grammar, and arcane vocabulary to do assess prose....On April 5, 2016, the same day we sent the letter, Rhode Island Education Commissioner Ken Wagner ...claimed that “the research indicates that the technology can score extended student responses with as much reliability- if not more reliability- than expert trained teacher scores …..”". In an educational system that creates a pathetically weak "standard" of teacher certification that has little to do with quality resulting in most students being unprepared for college even though graduation rates are rising, computer scoring makes perfect sense. Design an algorithm that can be programmed to deliver whatever percentage of good scores you want. It's not really about education, it's who gets the dollars and how to deliver product for as little money as possible.
  • It's not really math, so perhaps we shouldn't be too surprised how badly statistics is doing in predicting the elections. ZeroHedge reports, "How poor have the election forecasters been this year?  It is a topic many are discussing given the large number of upsets we've had during the Primaries.  For example, statistician Nate Silver (who started the campaign season proclaiming Trump had <2% chance of being nominated) by March 1 predicted with 94% probability that Trump would win Alaska (he lost). Silver then predicted on March 8 with >99% probability that Clinton would win Michigan (she lost).  Silver again predicted on May 3 with 90% probability that Clinton would win Indiana (she lost).  But there is another issue besides being wrong, which is how much model flip-flopping is occurring just up to these elections. The most proximate example is Silver stating this past Sunday that Cruz had a 65% chance to win Indiana; the next day (Monday, the eve of the election) and with little new data, he "adjusts" that to Trump having a 69% chance to win!  That's horrible! ". Low level math has you churn out answers supported by work for people to check. In statistics you show your data (which may have been massaged or manipulated) and argue your case. The essence of math is proof, and the nontheoretical statistics we encounter most every day has a high BS content. Statisticians like to claim how good it is "...if it's done right", meaning their way. But when the integrity of the data itself isn't open for inspection, statistics is open to widespread abuse in a way that math can't be.
  • The Hechinger Report addresses the high math failure rates at universities. "A few years ago, administrators at San Diego State noticed high “D-F-W” (grades D and F, and withdraw) rates — 35 to 50 percent — for math courses, according to Michael O’Sullivan, chair of the math and statistics department. In 2014, the newly elected O’Sullivan, along with frustrated faculty, decided to overhaul the program. ....The changes at San Diego State and in other colleges’ math classes are similar to components of the Common Core Standards for Mathematical Practice...As of this year, San Diego State has implemented all seven pieces, said Michael O’Sullivan. It is too soon to know long-term results, of course, but for now the professors are happy that this semester’s Calculus II midterm grades increased by five to eight percent compared to previous years, according to Ricardo Carretero, professor of applied mathematics."
  • Your funny money is no good here. ABC13 reports, "Now 14, Daneisha was hoping to eat that day's lunch of chicken tenders with her classmates using a $2 bill given to her by her grandmother when she was stopped by the long arm of the law. "I went to the lunch line and they said my $2 bill was fake," Danesiah told Ted Oberg Investigates. "They gave it to the police. Then they sent me to the police office. A police officer said I could be in big trouble."Not just big trouble. Third-degree felony trouble. And that's just one of eight counterfeiting charges investigated against high- and middle-school students at Fort Bend ISD since the 2013-2014 school year....Then the Fort Bend ISD police investigated the $2 bill with the vigor of an episode of Dragnet, even though at that school 82-percent of kids are poor enough to get free or reduced price lunch.The alleged theft of $2 worth of chicken tenders led a campus officer...to the convenience store that gave grandma the $2 bill...... The $2 bill wasn't a fake at all. It was real....The bill so old, dating back to 1953, the school's counterfeit pen didn't work on it...."He brought me my two dollar bill back," Joseph said. He didn't apologize. He should have and the school should have because they pulled Danesiah out of lunch and she didn't eat lunch that day because they took her money.""

SageTeX: First Derivative Test

FirstDerivTest

This week I've added another problem to the SageTeX: Derivatives page. The screenshot is above. Given a polynomial students need to create a table to show when the function is increasing or decreasing. Then they have to determine the local extrema.

Filling out the table makes use of Sage's ability to calculate derivatives. Here's a small snippet of the code. Note the indentation has been lost.

if df(0)>0:
a13 = '+'
a14 = "increasing"
else:
a13 = '-'
a14 = "decreasing"

Depending on whether the derivative is positive or negative we can fill out the chart. And the same logical reasoning that allows you to fill out the chart by hand is the same logical flow that the Python code goes through--but without the errors we humans are prone to make. And of course, recompiling can generate lots and lots of problems with an answer key, faster and more accurately than any human could.

Here are some stories that caught my eye this week:

  • ZeroHedge has the latest on the Chicago Pension Scandal, "Take the example of two union lobbyists who substitute taught for one-day in the public schools and then started collecting over $1 million of lifetime public ‘teacher’ pension payout – despite a state law expressly designed to stop them. And now take all the other 7,499 educators. The retirees in question paid so little into their own retirement (breaking even on their cost basis within the first 20 months of retirement) that taxpayers now face a $900 million bill just to keep the pension payments flowing!...The fraud appears to be focused on the city of Chicago. Some examples:
    • Northern Illinois school districts are driving the majority of $100,000 pensions. In fact, 6,706 pensions for over $800 million in annual payouts were conferred by districts in the Chicago metropolitan suburban area. Only 793 six-figure pensions totaling $95 million in annual payouts were conferred by school districts in the rest of the state. Yet, income-taxpayers across the whole state guarantee the retirement annuities for everyone.
    • The Top 100 All-Time pensions: #1 $302,991 (Lawrence Wyllie at Lincoln-Way CHSD) to #100 $200,812  (Michael Radakovic at Aurora East USD 131). Read the Top 500 All-Time IL teacher pension list.
    • The Top 5 school districts conferring six-figure pensions are Palatine TWP HSD 211, Palatine (449); Township HSD 214, Arlington Heights (419); Consolidated HSD 230, Orland Park (196); Northfield TWP HSD 225, Glenview (188); Maine TWP HSD 207, Park Ridge (180)."
  • You thought hoped her 15 minutes of fame were over. But it isn't--she's baaaack! Melissa Click was interviewed, shamefully enough, by the Chronicle of Higher Education. Reason.com dissects it all: "More:

    While Ms. Click acknowledges that she was certainly frustrated that day, she says she was simply trying to protect the black student protesters. Everything she has come to stand for since the video came out—intolerance, anger, mouthiness, and dismissiveness—is exactly the opposite of who she says she really is. Focusing on her behavior, she says, is a way to take attention away from the demands of Concerned Student 1950, the group of protesters. 

    "I’m not a superhero," Ms. Click says. "I wasn’t in charge." But she’s taken the fall. "When it got out of control," she says, "I was the one held accountable." 

    And not by accident. Click was held accountable because she committed assault. If her behavior is drawing attention away from the student activists, that's entirely her own fault. 

    The Chronicle story also includes some biographical details that uncritically accept Click's I-am-a-hero narrative....Is this the profile of a woman who has overcome great adversity, or the profile of an intolerant ideologue firmly convinced of her own greatness?.....But she doesn't deserve sainthood, either. She did a very bad thing, and her revisionist attempts to explain away her criminal behavior should be rejected. Assault is wrong, even if the person committing it has a minor in women's studies."

  • An article in the Tennessean says, "Police handcuffed multiple students, ages 6 to 11, at a public elementary school in Murfreesboro on Friday, inspiring public outcry and adding fuel to already heightened tensions between law enforcement and communities of color nationwide.The arrests at Hobgood Elementary School occurred after the students were accused of not stopping a fight that happened several days earlier off campus. ....Murfreesboro police didn't say what state law the kids violated, but parents of several of the arrested children say the kids were charged with "criminal responsibility for conduct of another," which according to Tennessee criminal offense code includes incidents when a "person fails to make a reasonable effort to prevent" an offense."
  • NPR reports on the latest report card of public high schools, "This tiny downtick was statistically significant in mathematics, but not for the reading test....NAEP scores are comparable across decades — back to 2005 for math and all the way back to 1993 for reading....According to research by Ho and others, just under 40 percent of students score at college and career ready levels on NAEP....One is that in 2015 the nationwide high school graduation rate was 82 percent, not 40 percent. That leaves a potentially large group of kids who got diplomas but who weren't ready to succeed in college. Who is right: their high schools or NAEP?
    ...On the other hand, he says, "the less-than-charitable view would be that graduation is just a lower standard than college readiness. If you get right down to it, the reading and math required by NAEP, the ACT, the SAT, colleges and careers is much greater than what high schools are saying is sufficient." High schools with dumbed down standards to increase graduation? Shocking!
  • Most of us aren't particularly excellent at what we do, but imagine if we could compete against high school students. We'd look really good then. Vice News continues "A few weeks ago, Jonathan Nicola was the star player on his high school basketball team, with a coach who believed he had a shot at going pro. But now that it's come out that the 17-year-old is actually a 29-year-old man, his ambitions — whatever they may have been — have been put on hold, and he's begging the Canadian government to send him back home to South Sudan."
  • The Huffington Post looks at standardized testing, "Turns out, academic conformity sells, and business is booming: As of 2011, Gaston Caperton, the president of the College Board,nonprofit owner of SAT, was paid $1.3 million. Richard Ferguson, formerexecutive officer of ACT Inc., made roughly $1.1 million. Meanwhile, The National Board on Educational Testing and Public Policy at Boston College reported that the value of the standardized testing market was anywhere between $400 million and $700 million........Standardized testing isn’t just about every student meeting the same standards. It is about every student, school, and administrator paying for the same product." So, so true. And public education means there companies have less people to persuade. Give an incentive for those at the top and a lot of money flows to the company. A good article which is worth reading very carefully.
  • Chessbase reports on Fabiano Caruana winning the US Chess Championship. The US Women's Chess Championship was won by Nazi Paikizde after the favorite to win, Irina Krush, had an uncharacteristically bad tournament and the tournament leader, Tatev Abrahamyan, lost the final round. Some very ugly chess by the women but fighting chess that kept me riveted as never knew who would make the final mistake to lose. The tournament was followed by the Ultimate Blitz championship which featured Kasparov, Nakamura, So, and Caruana. Nakamura won, Kasparov was only .5 points behind but the highlight was a So-Kasparov brilliancy. The Chessbase report quotes Yasser Seirawan as saying "Wesley's game against Kasparov will go down in history as one of the greatest blitz games ever played. I will remember that game for the rest of my life." and Kasparov said "It reminded me of games Morphy played against amateurs.". It's that brilliant. Make sure you check out the game at the Chessbase link.
  • It looked like Carlsen was going to easily win the Altibox Norway Chess tounament. A loss in the penultimate round kept the issue in doubt but winning the final round gave Carlsen first place. Chessbase has the story here.
  • The Atlantic looks at "Why would a Teacher Cheat?" I can think of some reasons but back to the article, "The prevalence of test-score manipulation in the United States is well-documented. In fact, with the help of the same researchers who authored the Regents Exams study, The Wall Street Journal in 2011 revealed a significant spike in the number of exams in all the main subjects with scores of 65 points out of 100—the minimum passing grade....There’s good evidence that score manipulation does harm kids, particularly when teachers are falsifying their responses outright for the sake of avoiding sanctions. But there’s also good evidence to suggest that score inflation—teachers grading a bit more leniently, often because they think the student underperformed on the exam—may have positive effects as well. While inflating an individual student’s test score doesn’t magically inject her with more knowledge, the two aforementioned studies indicate it significantly boosts her odds of overcoming an obstacle increasingly critical to future success: high-school graduation." WTF? Schools cheat but hey that may be a good thing because kids graduate. Isn't it obvious that increasing inflating a students grade would increase the chance of their graduating? And, news flash, it's probably likely that some of the inflation is done precisely to get that failing senior out of the school system. But when about 40% of the graduating classes are college ready perhaps high school graduate as an indicator of future success will lose its value as a high school degree is no longer proof that you can read and write. This is an absurd article on a lot of levels. And the nonsense continues, "Indeed, a growing body of international research suggests that the prospect of a raise—or the threat of sanctions—seldom induces teachers to fudge their students’ test scores. Altruistic motivations appear to be at play." And I've got a bridge in Brooklyn to sell you. The school system is so broken and most of the people in charge aren't interested in fixing it.
  • Yet another Common Core defector wanna-be: Michigan. Truth in American Education says, "Michigan’s Common Core Repeal Bill just made it over a a major hurdle. The Senate Education Committee voted to pass SB 826, a bill that would repeal Common Core and replace them with Massachusetts pre-Common Core standards."

Graph Theory, Sage, and LaTeX page

Graph1

I've added another page to the website. It's still in the beginning stages but it will cover graph theory, $latex \LaTeX$ and Sage. You can find it here and it's listed on the sidebar or click here. From this documentation at the Sagemath website you can see the way Sage works with $latex \LaTeX$ to produce graphs. This method is quite different than what you'll find in the Altermundus tkz-berge package despite the fact that Sage uses that package. The information I just posted has to do with the creating a graph in the simplest and cleanest way. I opted for the 'Normal' representation of graphs to allow for a choice of labels inside or outside. A vertex is created as follows:

\Vertex[LabelOut,Lpos=270,L=$v_1$,x=0,y=0]{R1}

where R1 is what the vertex will be referred to by the program and the factors which determine the label are handled in the options:

LabelOut to put the vertex label outside the vertex. Lpos is the label position. It's the angle of rotation around the center of the vertex (0 is east of the vertex, 90 is north of the vertex, etc). L= will be the label, and x=, y= handle the placement of the vertex. Simple and efficient. You can read more on the new page where I've posted the code for two 'Normal' graphs, with labels out and with labels in.

Here are some stories that caught my eye this past week:

  • 11alive covers Tennessee phasing out Common Core. "Common Core standards ignited a political brawl last year when state lawmakers, who saw the standards as federal overreach, pushed to scrap them. In response to cries for state-specific standards, Gov. Bill Haslam authorized a review of the state's English and math standards."
  • St Louis Post Dispatch reports "Missouri became the latest state to adopt a new set of education benchmarks to replace the national Common Core standards, ditching the benchmarks Tuesday following conservative backlash.". Common Core is not so common anymore.
  • EAGnews has a piece on  Tennessee students "Parents and community leaders in Murfreesboro are fuming after police arrested numerous elementary students at school over a fight that occurred off campus several days prior....Several students at Hobgood Elementary School, ranging in age from about 6 to 13 years old, were then handcuffed and arrested, and hauled to a juvenile detention center before their parents were even notified, WKRN reports.....“Here’s the catch, the girls were just bystanders in the video. They were not fighting, they were not instigating it, they were just standing in the video. And there was actually no technical fight in the video,” he said. “But the claim and the accusation is that they didn’t stop the fight, so they should be arrested.”"
  • RT has a piece where the title says it all: "Teacher tackles pupil to the ground in ‘deeply disturbing’ classroom attack".  A violent, profanity laden assault that will hopefully lead to jail time.
  • But it's better overseas, right. Not all the time. RT has video footage of  "A teacher in China bore the brunt of a vicious classroom uprising after he tried to forcibly collect a student’s exam paper in a shocking case of school violence caught on camera."
  • Don't even think about messin' with Colorado schools. ABC news reports, "A suburban Denver school district is arming its security staff with military-style semiautomatic rifles in case of a school shooting or other violent attack, a move that appears unprecedented even as more schools arm employees in response to mass violence elsewhere."
  • Chalkbeat reports  "Facing widespread backlash after years of controversies and testing glitches, one of the world’s largest testing companies is taking an unusual approach to quieting critics: It’s opening its doors." The Washington Post covers some of the problems here.
  • The Altibox Norway Chess 2016 tournament has 4 rounds in  the books. Magnus in first but with Kramnik, Giri, and MVL lurking around the tournament is wide open. You can follow it here. Click on the "Live Streaming" button at the top of the page to follow it live.
  • There are just 2 rounds left in the US Chess Championship. You can watch it live here. Caruana leads for the championship section, and Abrahamyan for the women. Irina Krush doesn't control her fate anymore as she competes for another title.

Altermundus: circle-circle intersections

AlterCC2

I've added information on getting the intersection of 2 circles using the tkz-euclide package. The tkz-euclide package gives a macro \tkzInterCC to find the intersection of 2 circles. As there are multiple ways to input a circle, the macro can be used in different ways.

\tkzInterCC(D,B)(A,C) \tkzGetPoints{M}{N}

finds the intersection of circle centered at D containing point B along with the circle centered at A containing point C. The two intersection points are recovered with \tkzGetPoints macro. Likewise

\tkzInterCC[R](A,1 cm)(B,1 cm) \tkzGetPoints{M1}{N1}

finds the intersection of circle centered at A with radius of 1 cm along with the circle centered at B with radius 1 cm. Note the R option.

You can download the code, with comments, here.

Here are some stories that caught my eye over the last week.

  • What happens in Vegas may stay in Vegas, but in Mexico---not so much. RT has a piece on "A prestigious fee-paying school in Mexico has failed to separate twerking from working, allegedly forcing a 24-year-old teacher to resign after she participated in a dance competition while on spring break. The primary school teacher, known only as Clarissa, was in the popular Mexican holiday spot Cabo San Lucas when she decided to channel her inner Miley Cyrus and grind on one of the judges."
  • Listverse has "10 Strange Cold War Tales Left Out Of The History Books"
  • RT on "Flint, Michigan has become the epicenter of the lead water crisis in the United States, but hundreds of schools across the country have tested positive for unsafe lead levels in their water over the past three years, according to a new report."
  • Reuters on "Meet the Thai math prof whose copyright case is headed for SCOTUS – again"
  • Technology review looks at  "A chip that can’t guarantee that every calculation is perfect can still get good results on many problems but needs fewer circuits and burns less energy, he says...A chip that can’t guarantee that every calculation is perfect can still get good results on many problems but needs fewer circuits and burns less energy, he says....In a simulated test using software that tracks objects such as cars in video, Singular’s approach was  capable of processing frames almost 100 times faster than a conventional processor restricted to doing correct math—while using less than 2 percent as much power."
  • The US Chess Championship (closed) has begun. Caruana, Robson, and So are tied for first after 3 rounds of the scheduled 11 rounds. Follow it live here.
  • IndyStar's Russ Pulliam looks at who won common core, and with the number of states using common core down to 21 you get the idea that failure has been achieved.
  • WTHV11 has a report and video on one of those states that has moved away from common core , "In nine days, 85 Arkansas teachers across the state revised 65 percent of the Common Core Math Standards. They hope these revisions turn confusion into a statewide understanding."
  • Wxyz.com looks at the teacher shortage in Detroit, "Two moms want answers. How can it be that in public schools in this country - kids can go months without a math teacher?" Answer: The priority of the system isn't about providing a good education for the kids. If they'd remove the numerous hoops to jump through requiring money and time they'd have plenty of people. Certified does not mean qualified. And many qualified teachers are denied certification. Until they fix the Orwellian double-speak you won't have meaningful change.
  • A cougar in LA might not be uncommon, but a mountain lion at an LA high school is. RT has the the details and video that led to a school lockdown.

Sage Interact: Generate Continuous Data

ContinuousDataSet1

We already know it's not math, but like (physics, engineering, chemistry, etc) it's an important application of math. But we've seen, "David Moore, statistics educator and former president of the American Statistical Association , gives the following four compelling reasons why statistics is a separate a.discipline from mathematics:......

  • The standards of excellence in statistics differ from those of mathematics"

Truth be told, the standards of the pseudo-science of statistics differs from real science as well. Data analysis is, as my graduate analysis teacher used to say, more of an art than a science. Now there's an understatement! As statistics infects the high school math curriculum you might find yourself having to teach it, in which case you'll find the pseudo-math field of statistics needs data---lots of data.

Luckily, the brief foray into statistics at the high school level doesn't get too involved. A lot of the descriptive statistics in high school doesn't venture into the BS dubious areas of statistics; they tend to focus on mean/median/mode/standard deviation and plotting a bunch of graphs by hand even though in the real world they'd use Excel to process the data and put out charts. To eliminate some of the drudgery I've put together a Sage Interact that generates data for some continuous probability distributions (normal, exponential, gamma, beta). As you can see from the screenshot above, you can pick how many items to include in your data set as well as specify the number of digits shown. Finally you can specify the number of bins to use in the histogram. Be aware that the figure might be cut off (as below) and to see the rest of it you'll need to find and use the scroll bar underneath the histogram.

ContinuousDataSet2

The total output is a histogram, the data set, and some common statistics (sample mean and standard deviation, mode, minimum, and maximum). A simple copy and paste will get you data for a test/quiz/example along with the answers to prevent any mistakes.

You can find the code on the Python/Sage page. Copy and paste the code into a Sage Cell Server (such as on the Sage Sandbox page), press "Evaluate" and generate the data sets you need quickly and easily.

Here are some stories that caught my eye this last week:

  • The NY Post has a story on teachers taking a public stand: "Renegade city public school teachers have been sending emails to parents the past week encouraging them to boycott the state English and math Common Core exams being administered citywide starting Tuesday,...some teachers at the Earth School on the Lower East Side emailed a four-page letter to parents slamming the exams and applauding the 73 percent of parents who opted out last year,...A city Department of Education official warned that teachers “may be subject to discipline” if they cross the line in prodding parents to opt out. Teachers complained DOE has imposed a gag order."
  • The New Scientist has a piece on the knew movie on Ramanujan's life and it's not positive: "Ramanujan’s journey is the subject of a new film, The Man Who Knew Infinity, based on a book of the same name....the film attempts to give us a glimpse of an unknowable mind traversing the realm of abstract thought, while also humanising its subject. And frankly, the formula is starting to wear thin....The Man Who Knew Infinity isn’t bad, it’s just safe, cramming Ramanujan’s colourful life into a well-established, sellable format."
  • Common Core is dead, according to the Federalist. It's not official yet, though: "The big postmortems will roll out in a year or two, but it’s already clear this education monstrosity is eking out its last gasps....Common Core has by now not only failed academically, it has failed operationally. This is a horrific outcome...Common Core’s failure should indict every single Common Core cheerleader and prompt a revival of genuine education reforms we’ve known for decades would actually help children but aren’t sexy to the consultant class that makes a living as “education innovators” (i.e. experimenting on children for fun and profit)...Researcher Ze’ev Wurman looked at several other indicators of student achievement and found none have improved since Common Core went into effect. In fact, SAT and ACT scores are slightly down....Common Core tests’ rapid (and predictable) disintegration has negated politicians’ central justification for the (unconstitutional) federal requirement that states give annual math and reading tests: “public accountability.” That’s because it’s impossible to compare Common Core test results to those that came before them. It would have been possible had educrats cared enough about accountability to require the proper testing translations, but they didn’t. Common Core test results cannot even be compared to themselves yet because they have not generated enough reliable data....Obama’s dictatorial flourishes of the pen have forced tens of thousands of people to spend hundreds of millions in tax dollars and millions of man-hours essentially shuffling paperwork. It’s trickle-down bureaucracy. (That’s why half of school employees are not teachers, but instead mostly paperwork shufflers. Thanks, feds!) " A good piece with a lot of information. Why does every educational plan fail after 5-7 years time and time again so the educational experts people can spend a lot of money to come up with another plan? That's rhetorical, of course
  • EAGnews on reports on "Parents are removing their children from Bear Branch Elementary School after the principal allegedly banned them from school grounds and threatened violators with arrest....District officials issued a prepared statement to Fox 26 about the situation that supported Ray’s supposed goal of a safe dismissal....Parents said they do not believe the old dismissal process was unsafe, and believe the principal is on a power trip.
  • ZeroHedge hosts a piece by Jim Quinn: "The Department of Education was created in 1979 and now has an annual budget of $73 billion, with 5,000 government bureaucrats roaming its hallways. When you include all Federal, State and Local spending on public education it totals about $700 billion per year, or $13,000 per student. ...According to the 2007 California Academic Performance Index, research show that 57% of students failed the California Standards Test in English.... 50% of the unemployed between the ages of 16 and 21 cannot read well enough to be considered functionally literate" If doctors or lawyers had such poor results they'd be sued for malpractice.

Handout: counting factors

CountingFactors

If you teach some combinatorics in your classes you're probably familiar with the Fundamental Principle of Counting, otherwise known as the Multiplication Rule, and the typical problems (how many ways to roll a 7 with a pair of dice, how many outfits to where, how many different pizzas given specific topping choices). Some of that is fine, but I also like to link it to things they should already know: factoring numbers. I've created a handout on determining the number of factors of a number. For example, there are 9 factors of 100 (1, 2, 4, 5, 10, 20, 25, 50, 100).  Typically schools teach students to try dividing the the numbers 1,2,3, ....n into the number n and pairing the factors along the way but that's certainly not the way a math person would do it, especially as the numbers get bigger. For a number with a lot of factors, such as 6!, it's too easy to miss some factors unless you have a methodical way of finding them. Getting the prime factorization of the integer will let you use the Fundamental Principle of Counting to quickly get the answer: no trial and error. You can find the details in the PDF is posted on the Handouts page. Most students don't know the basics, which is a good enough reason to combine it with combinatorics, so factors and primes and other basic concepts need to be reviewed.

I've added a link to OER Commons, covered in the last post, to the sidebar.

Here are some stories that caught my eye this week:

  • Let's call this now. This is one of the most interesting educational stories you'll read for 2016. It's a lengthy Reuter's article, two parts in fact, on the cheating on the SATs taking place in other countries, while the College Board (the organization that owns the SATs) does nothing. PART 1 and PART 2. From part 1: "A confidential PowerPoint presentation reveals that College Board officials had documented widespread security problems in June 2013...Even so, College Board officials confirmed that some portions of those tainted tests were later administered overseas. And the College Board took no steps to restrict testing in China, the SAT's largest market by far, even as it tightened security in smaller countries where exams had leaked." There is literally too much to quote and I'd strongly urge you to read both articles. There's even a video in PART 1.
  • I've mentioned the corruption in education many times. RT reports "A dozen current and former principals from Detroit Public Schools were among those hit with bribery and conspiracy charges by the federal government regarding a scheme to score kickbacks from school supplies that were rarely, if ever, delivered....Flowers and the 12 principals have been accused of submitting fraudulent invoices for school supplies to DPS that were either never delivered or only partially delivered, according to complaints filed in the US District Court. In exchange for inaccurately reporting the delivery of these goods to DPS, Allstate Sales would receive payments from DPS, while the company owner Norman Shy would deliver kickbacks to the principals as well as Flowers, according to court documents....The charges come as officials in Lansing continue to debate the future of DPS, which currently suffers from a crushing debt in excess of $500 million, in addition to crumbling infrastructure. " Large pools of money and lax oversight is a tempting target for educational professionals crooks.
  • Chess is taken pretty seriously in other parts of the world; RT tells us "A chess duel at a major competition in Ukraine evolved into a fist-fight after a coach became incensed by the way his pupil was being treated....The young woman’s trainer, Mikhail Gerasimenyuk, hurried to help his pupil, but in a way that nobody had expected: he slammed Sakun twice...Sakun had his eyebrow and nose cut, and vessels in his eye ruptured."
  • Students behaving badly, EAGnews reports, "Numerous Glenn Hills High School students face murder charges after a massive 50-person brawl that ended with the death of an 18-year-old man.....Police allege Demajhay Bell, 18, died from being stabbed in the neck during a large street fight involving as many as 50 people, many Glenn Hills students, in Augusta, Georgia March 18. The melee was caught on cell phone video and posted online, providing a harrowing look at a very violent clash involving pipes, bats, and a vehicle barreling through the fracas..."
  • More students behaving badly. Once again from EAGnews, "An Alaska charter school suspended three first-grade girls for plotting to kill a classmate with “poison.” Anchorage police told KTUU three first-graders at Winterberry Charter School planned to poison a classmate with a silica gel packet they believed to be toxic in hopes of killing the young girl."
  • Yet more students behaving badly from EAGnews: "A 16-year-old Syracuse high school student faces two felony assault charges after police allege he punched two teachers in the face for attempting stop him from using his phone in class..The problem stems from a “restorative justice” approach to school discipline that’s designed to reduce punishments for minority students. Large inner-city school districts adopted the approach at the behest of the federal government as a means of reducing suspensions for minority students.....In Syracuse, a December survey of 830 district teachers revealed the vast majority of teachers don’t feel safe in their own classroom, with a third reporting to have been physically assaulted by students, WSTM reports.." Because when admin have caved into students doing what they want, students will do what they want. Do you think that makes it easier for schools to attract qualified people into the teaching profession?
  • The lack of certified teachers is a problem in Arizona. KVOA tells us, "Arizona is simplifying its test for prospective math teachers, in order to help solve its teacher shortage crisis. The State Board of Education has opted to only test teachers on math up to Algebra 2. Teachers will no longer have an exam on trigonometry or calculus, which many educators believe is better than the current alternative."Now a lot of those classes, Algebra 1, geometry, or calculus... Those are being taught by long-term substitutes," said Melissa Hosten, co-director of the Center for Recruitment and Retention of Mathematics Teachers." Certification drives down quality by keeping qualified people out of the classroom. The result is a lousy education run by "experts" who have shown an inability to educate for decades.
  • Some good news. The Federalist has a piece "8 Great Women of Science History".
  • And back to reality. Michael Snyder on just how stupid Americans have become.
  • Do you ever give out candy or snacks to your class? A VERY BAD IDEA if some new regulations get approved. Sott.net on the consequences: "The federal government is taking steps to fine schools that do not comply with first lady Michelle Obama's school lunch rules....The regulation would punish schools and state departments with fines for "egregious or persistent disregard" for the lunch rules that imposed sodium and calorie limits and banned white grains. A West Virginia preschool teacher was threatened with fines for violating the rules by rewarding her students with candy for good behavior in June 2015. The teacher ultimately did not have to pay, but the school had to develop a "corrective action plan" with training on the policies. The government now seeks to make fines enforceable by regulation. Section 303 of the law requires that the federal government "establish criteria for the imposition of fines" for all the Department of Agriculture's child food programs...The Food and Nutrition Service is targeting schools that refuse to comply with Mrs. Obama's lunch rules and said monetary penalties are a "useful tool" to get noncompliant cafeterias in line...The proposed rule would also apply to private organizations participating in federal childcare nutrition programs, including "institutions, sites, sponsors, day care centers, and day care providers." ." One more problem for those in public schools.

Resources: OER Commons

OERCommons

Good resources are so important to teaching. OER Commons is a good resource to have. I've added the link to the sidebar. According to the website, "Open Educational Resources (OER) are teaching and learning materials that you may freely use and reuse at no cost. Unlike fixed, copyrighted resources, OER have been authored or created by an individual or organization that chooses to retain few, if any, ownership rights. In some cases, that means you can download a resource and share it with colleagues and students. In other cases, you may be able to download a resource, edit it in some way, and then re-post it as a remixed work. How do you know your options? OER often have a Creative Commons or GNU license to let you know how the material may be used, reused, adapted, and shared." Now THAT'S the type of support that teachers need. Why don't these education departments support their teachers like this? They could save so much money on books as well.

But I digress. Even better, the resources are easily searchable based on criteria such as grade level, resource type, common core, and so. You can see below there are groupings by the area of mathematics and, in some cases, the resources have a description and rating.

OERCommons2

Of course, with any site, it has its share of junk. But there are plenty of decent resources as well. By searching the material you also get an idea of other sites that are creating the materials that have been hosted. From CK-12 books (sign-in required) to NASA, and to one of my favorite, OpenStax, you should be able to find something useful.

Here are some stories that caught my eye over the last week:

  • The Candidates Finals are almost over. Round 13 is underway. After an exciting round 12, Caruana and Kajarkin are in the lead, with Anand right behind them. You can follow the games live on ChessBomb, located on the sidebar.
  • ZeroHedge has the latest on America's shame: the next generation. "The Daily Mail reports, the president of Emory University has spoken to demonstrators who said they were frightened after someone wrote 'Trump 2016' in chalk around campus.
    Students at the Atlanta school, which has an enrollment of more than 14,000 claim their 'safe space' was violated when the messages appeared on sidewalks and buildings. ...the students viewed the messages as intimidation, and they voiced 'genuine concern and pain' as a result. ...Now administrators want to track down those responsible for the controversial markings."
  • ClickOrlando reports "A 12-year-old was arrested and facing misdemeanor battery charges after pinching a boy's butt in school....According to the report, after the initial incident, the boy told the school resource deputy he didn't want to press charges and Evans was suspended. Evans said she didn't know the boyBut last week, the boy's mother got involved, calling deputies and saying that she wanted to prosecute Evans for battery."
  • Minnesota, like other states, is facing problems due to teacher "shortages". NorthfieldNews.com reports, "Teacher shortages in Minnesota have reached critical levels, and there’s no easy fix. The issue is not confined to just one part of the system; unsustainable trends in teacher recruitment, licensure areas and increased retirements have worked together to create a school environment in which students either do not have the right teachers in the classroom or schools can’t find enough applicants for the positions they need to fill.". Creating an artificial shortage through the licensing hoops which require time and money to get into a school system that is fundamentally broken isn't working. Since there's no evidence that certified teachers are better and teacher performance in some areas is so poor (eg 2% math proficient in Camden) you have to wonder how good is that certificate, anyway. But that's not the point: the certificate is for job security and not quality.
  • And here's one of those certified teachers in action: KTLA.com reports, "A Georgia special education teacher has resigned after disturbing surveillance video emerged, allegedly showing her slamming a boy to the ground...The boy doesn't notice his teacher behind him when she slams her knee into his back, sending him sprawling face-first to the ground, according to the boy's mother, Sarah Patterson. The boy had just turned 4 years old Wednesday, .". Check out the video. Disturbing, to say the least.

Altermundus: Line-Circle Intersections

AlterLC1

I've added some more information to the Altermundus: Circles page. The new information is related to the finding the intersections of circles and lines. The tkz-euclide package has a macro to find the 2 points of intersection that occur when a line crosses a circle. This allows you to make diagrams, such as the one shown above, more quickly. The .tex files of two examples are posted along with comments. You can download them and experiment on your own.

Here are some stories that caught my eye this week:

  • The Verge has wraps up the AlphaGo match, looks at its impact and talks about what is next for AI.
  • Reason.com looks at a bill working its way through the Mississippi legislature that would, "....require teachers to grade parents on how involved they are with their kids' education...According to watchdog.org:

    The legislation, by state Rep. Gregory Holloway (D-Hazlehurst), would mandate a section be added to each child’s report card on which the parents are graded on their responsiveness to communication with teachers, the students’ completion of homework and readiness for tests, and the frequency of absences and tardiness.

    What's more, adds the Parent Herald, parents would also be required to volunteer—an oxymoron at best:

    [P]arents will be required to participate in at least one supportive function for the school. This includes holding position in the Parent Teacher Association, working at concession stands during sports games or helping kids at bus stops.

    ".

  • NPR reports "This week, British professor Andrew Wiles, 62, got prestigious recognition for his feat, winning the Abel Prize from the Norwegian Academy of Science and Letters for providing a proof for Fermat's Last Theorem....The Abel Prize carries a cash award of 6 million Norwegian kroner — around $715,000 at today's exchange rates. Wiles will formally receive the prize from Crown Prince Haakon of Norway on May 24 in Oslo."
  • The Washington Post reports, "More than 100 education researchers in California have joined in a call for an end to high-stakes testing, saying that there is no “compelling” evidence to support the idea that the Common Core State Standards will improve the quality of education for children or close the achievement gap, and that Common Core assessments lack “validity, reliability and fairness."" Wouldn't it make more sense for experts to determine this prior to spending lots of money to implement Common Core?
  • ZeroHedge posts "Illinois College Will Stop Arresting Students For Passing Out Constitution". With such repressive, unconstitutional conduct by admin, it's not surprising that student behavior is so poor.
  • Quanta magazine with the interesting piece for the week: "Two mathematicians have uncovered a simple, previously unnoticed property of prime numbers...Kannan Soundararajan and Robert Lemke Oliver of Stanford University present both numerical and theoretical evidence that prime numbers repel other would-be primes that end in the same digit, and have varied predilections for being followed by primes ending in the other possible final digits...This conspiracy among prime numbers seems, at first glance, to violate a longstanding assumption in number theory: that prime numbers behave much like random numbers.."
  • The 2016 Candidates matches to determine a challenger for Magnus Carlsen are in the 8th round. After 7 rounds, Karjakin and Aronian are tied for first with 4.5 points. Topolov is in last place with 2 points. With 7 more rounds the tournament is still wide open. You can follow it on ChessBomb (side link). The tournament site is here.