Statistics homework help

hey its 2 separate assignments. Involves some coding, using r studio.
  • attachment

    GOVT300_PS10_F20207.pdf
  • attachment

    GOVT300_PS9_F20203.pdf