Degrees: Pharmacy, Biotechnology

Date: January 19, 2018

## Question 1

A study done on a group of senior people to determine the relation between age $X$, and the number of visits to the doctor $Y$, shows the following results:

Do the following:

- Estimate the number of times a 70-year-old patient will go to the doctor, according to a linear regression model.
- What will be the estimate equal to if you consider an exponential model instead of the linear one?
- Which of the two estimates is more reliable?
- A potential model has equation of the type $Y=aX^b$, where $a$ and $b$ are constants to be determined; what transformation should you apply to the variables $X$ and $Y$ to change a potential model into a linear one?

Use the following sums for the computations: $\sum x_i=633$, $\sum \log(x_i)=34.8835$, $\sum y_j=53$, $\sum \log(y_j)=13.7827$, $\sum x_i^2=51109$, $\sum \log(x_i)^2=152.28$, $\sum y_j^2=461$, $\sum \log(y_j)^2=26.6206$, $\sum x_iy_j=4509$, $\sum x_i\log(y_j)=1144.0108$, $\sum \log(x_i)y_j=235.1289$, $\sum \log(x_i)\log(y_j)=60.7921$.

## Question 2

The grass pollen concentration in the center of a city in grains/m$^3$ of air, during the last year, is given in the following table:

- Health authorities have determined that the level of pollen did not pose a risk for 75\% of the days in the year; what is the minimum level of pollen that is consider a health hazard?
- On days with pollen level between 575 and 860 health authorities issue a warning to citizens; on how many days of the last year there were warnings issued?
- Are there outliers in the above sample?
- Platanaceae has a pollen cycle similar to grass: if $X$ are the pollen levels of grass, and $Y$ are the levels of the platanaceae, it is known that $Y=0.5X-100$. What will be the average pollen level for platanaceae? Which of the two averages is more representative?
- Can one say that the level of grass pollen comes from a population that is normally distributed?

Use the following sums for the computations: $\sum x_i=220400$ grains/m$^3$, $\sum x_i^2=159575000$ (grains/m$^3$)$^2$, $\sum (x_i-\bar x)^3=261917220.867$ (grains/m$^3$)$^3$ y $\sum (x_i-\bar x)^4=4872705679772.61$ (grains/m$^3$)$^4$.

## Question 3

Polen level in Madrid in the year 2017 is normally distributed with mean equal to 90 particles per cubic meter. In 42 days of 2017, the level was above 120 particles per cubic meter. Do the following:

- Compute the standard deviation of the polen level in the year 2017.
- On how many days the polen level did not go over 50 particles per cubic meter of air?
- On 20\% of the days the level of polen was high enough to pose a health risk for allergic people; what is the level of polen that triggers this high risk situation?

## Question 4

A study on two drugs to reduces the cholesterol levels in blood shows that drug $A$ is effective in 75\% of the people, and drug $B$ is effective in 85\% of the cases. There is a 5\% of people for which none of the two drugs works.

- Compute the percentage of the population for which only drug $A$ works.
- Assume that drug $A$ works on a person; what is the probability hat drug $B$ will also work in that person?
- On the other hand, if drug $B$ has not worked for a person, what is the probability that drug $A$ will actually work?
- Are the effects of the two drugs independent events?

## Question 5

The weekly average births on a hospital is equal to 14.

- Compute the probability that on a given day more than 2 births take place.
- Compute the probability that during a week there are more than one day without births taken place.

## Question 6

A trial to develop a diagnosis test for a desease is tested on 250 people, of which 50 suffer the desease and 200 are healthy. The medical team in charge of the trial wants for the test to have a positive predictive value of $0.7$, and a negative predictive value of $0.9$.

- In order to get the values given above, how many of the healthy people should get a positive outcome in the test?
- And how many of the sick people should get a negative outcome in the test?
- What is the probability that a person with two positive outcomes in the test has the desase?