Pharmacy exam 2020-10-26

Degrees: Pharmacy, Biotechnology
Date: October 26, 2020

Question 1

The table below shows the daily number of patients hospitalized in a hospital during the month of September.

$$ \begin{array}{cr} \mbox{Patients} & \mbox{Frequency} \newline \hline (10,14] & 6 \newline (14,18] & 10 \newline (18,22] & 7 \newline (22,26] & 6 \newline (26,30] & 1 \newline \hline \end{array}$$

  1. Study the spread of the 50% of central data.

  2. Compute the mean and study the dispersion with respect to it.

  3. Study the normality of the patients distribution.

  4. If the mean was 35 patients and the variance 40 patients$^2$ during the month of April, which month had a higher relative variability?

  5. Which number of people hospitalized was greater, 20 persons in September or 40 in April?

Use the following sums for the computations:
$\sum x_in_i=544$ patients, $\sum x_i^2n_i=10464$ patients$^2$, $\sum (x_i-\bar x)^3n_i=736.14$ patients$^3$ and $\sum (x_i-\bar x)^4n_i = 25367.44$ patients$^4$.

  1. $Q_1=16$ patients, $Q_3=20$ patients and $IQR=4$ patients. Thus the central dispersion is small.

  2. $\bar x=18.1333$ patients, $s^2=19.9822$ patients$^2$, $s=4.4701$ patients and $cv=0.2465$. Thus, the dispersion with respect to the mean is small and the mean represents well.

  3. $g_1=0.2747$ and $g_2=-0.8823$. As the coefficient of skewness and the coefficient of kurtosis fall between -2 and 2, we can assume that the sample comes from a normal population.

  4. Let $Y$ be the daily number of patients hospitalized during April. Then, $cv_y=0.1807$. Since the coefficient of variation in September is greater than the one in April, there is a relative higher variability in September.

  5. September: $z(20)=0.4176$.
    April: $z(40)=0.7906$.
    Thus, 40 patients hospitalized in April is relatively higher than 20 in September as its standard score is greater.

Question 2

The chart below shows the distribution of scores in three subjects.

image

  1. Which subject is more difficult?

  2. Which subject has more central dispersion?

  3. Which subjects have outliers?

  4. Which subject is more asymmetric?

  1. Subject $Y$ because its scores are smaller.

  2. Subject $X$ because the box is wider.

  3. Subject $Z$ because there is a score out of the whiskers.

  4. Subject $Z$ because the distance from the first quartile to the median (left side of the box) is greater than the distance from the third quartile to the median (right side of the box).

Question 3

In a sample of 10 families with a son older than 20 it has been measured the height of the father ($X$), the mother ($Y$) and the son ($Z$) in centimetres, getting the following results:

$\sum x_i=1774$ cm, $\sum y_i=1630$ cm, $\sum z_i=1795$ cm,
$\sum x_i^2=315300$ cm$^2$, $\sum y_i^2=266150$ cm$^2$, $\sum z_i^2=322737$ cm$^2$,
$\sum x_iy_j=289364$ cm$^2$, $\sum x_iz_j=318958$ cm$^2$, $\sum y_iz_j=292757$ cm$^2$.

  1. On which height does the height of the son depend more linearly, the height of the father or the mother?

  2. Using the best linear regression model, predict the height of a son with a father 181 cm tall and a mother 163 cm tall.

  3. According to the linear model, how much will increase the height of the son for each centimetre that increases the height of the father? And for each centimetre that increases the height of the mother?

  4. How would the reliability of the prediction be if the heights were measured in inches? (An inch is 2.54 cm).

  1. $\bar x=177.4$ cm, $s_x^2=59.24$ cm$^2$,
    $\bar y=163$ cm, $s_y^2=46$ cm$^2$,
    $\bar z=179.5$ cm, $s_z^2=53.45$ cm$^2$,
    $s_{xz}=52.5$ cm$^2$ and $s_{yz}=17.2$ cm$^2$.
    $r^2_{xz}=0.8705$ and $r^2_{yz}=0.1203$, thus the height of the son depends linearly more on the height of the father since the $r^2_{xz}>r^2_{yz}$.

  2. Regression line of $Z$ on $X$: $z=22.2836 + 0.8862x$ and $z(181)=182.6904$ cm.

  3. The height of the son will increase $0.8862$ cm per cm of the height of the father and $0.3739$ cm per cm of the height of the mother.

  4. The reliability of the prediction will be the same, as after applying the same linear transformation to $X$ and $Z$, the variances are multiplied by the square of the slope and the covariance is also multiplied by the square of the slope.

Previous
Next