(a)
We
collect
a
set
of
data
on
the
top
500
firms
in
the
US.
For
each
firm
we
record
profit,
number
of
employees,
industry
and
the
CEO
salary.
We
are
interested
in
understanding
which
factors
affect
CEO
salary.
Is
this
classification
or
regression?
regression
Do
we
want
inference
or
prediction?
Inference
What
is
,
the
number
of
data
points?
500
What
is
,
the
number
of
variables?
3
From Ex 2.4.2
(b)
We
are
considering
launching
a
new
product
and
wish
to
know
whether
it
will
be
a
success
or
a
failure.
We
collect
data
on
20
similar
products
that
were
previously
launched.
For
each
product
we
have
recorded
whether
it
was
a
success
or
failure,
price
charged
for
the
product,
marketing
budget,
competition
price,
and
ten
other
variables.
Is
this
classification
or
regression?
classification