Skip to content

Instantly share code, notes, and snippets.

View danielnjoo's full-sized avatar

danielnjoo danielnjoo

View GitHub Profile

Keybase proof

I hereby claim:

  • I am danielnjoo on github.
  • I am danielnjoo (https://keybase.io/danielnjoo) on keybase.
  • I have a public key ASARy1M0u1MLWPEnqxAhFA20jkc9thvMvDCSvh76qCYqiAo

To claim this, I am signing this object:

@danielnjoo
danielnjoo / apminterviewprep.md
Last active March 13, 2022 14:55
PM Interview Prep

Broad outline of things used in preparation, potentially helpful to others.

The Interview

Expected Areas of Expertise

  • Product Design
  • Product Strategy
  • Analytical Skills
  • Technical Skills

General Tips/Process

  • Explain
<pre style='color:#000000;background:#ffffff;'>repeatUO_mod <span style='color:#808030; '>&lt;</span><span style='color:#808030; '>-</span> glm<span style='color:#808030; '>(</span>repeatUO <span style='color:#808030; '>~</span> Age <span style='color:#808030; '>+</span> hoursOfCatherization <span style='color:#808030; '>+</span> Size <span style='color:#808030; '>+</span> WaterAvailable <span style='color:#808030; '>+</span> Stress <span style='color:#808030; '>+</span> Diet <span style='color:#808030; '>,</span>
data <span style='color:#808030; '>=</span> Cats_final<span style='color:#808030; '>,</span>
family <span style='color:#808030; '>=</span> binomial<span style='color:#808030; '>(</span>link<span style='color:#808030; '>=</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>logit</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#808030; '>)</span>
</pre>
#basic calculator
import re
import operator
ops = { "1": operator.add, "2": operator.sub, "3": operator.div, "4": operator.mul }
def error():
print "Sorry you didn't input a valid command."
def exit_func():