DJ Khaled crashes UC Berkeley statistics commencement

DJ Khaled attends The MAXIM Super Bowl Party 2017 at the Smart Financial Centre at Sugar Land on Sunday, Feb. 5, 2017, in Houston. DJ Khaled attends The MAXIM Super Bowl Party 2017 at the Smart Financial Centre at Sugar Land on Sunday, Feb. 5, 2017, in Houston. Photo: Marie D. De Jesus, Houston Chronicle Photo: Marie D. De Jesus, Houston Chronicle Image 1 of / 22 Caption Close DJ Khaled crashes UC Berkeley statistics commencement 1 / 22 Back to Gallery

DJ Khaled was an outlier on Wednesday when he shocked UC Berkeley statistics students by crashing their graduation ceremony.

Commencement was proceeding as commencements typically do – names were read, photos taken, speeches given. No equation could have predicted what happened next: rapper-producer DJ Khaled hopping onstage to perform.

A video shared by UC Berkeley on Facebook (see below) depicts keynote speaker Steve Stout, an advertising executive, finishing up his address. “Thank you, congratulations, and here is your gift today,” he says.

Surprise at Statistics graduation So THIS happened today... ;) #shh #dontspoilthesurprise Posted by UC Berkeley on Thursday, May 18, 2017

Moments later, the Emmy-winning rapper-producer appears in a powder blue tracksuit, singing his hit song, “All I Do is Win.”

Many of the graduates appear so surprised by Khaled’s unexpected performance that they fail to put their hands up when instructed to do so by the rapper.

After a few verses of the song, Khaled delivered a short speech.

“They didn’t believe in me at one time in my lifetime,” he said. “I had to bet on myself. And look at me now; I’m onstage with young kids and queens and a generation of geniuses that’s going to run the world.”

Read Michelle Robertson’s latest stories and send her news tips at mrobertson@sfchronicle.com.