Professional Documents
Culture Documents
Lab Mid-Term
Lab Mid-Term
Name:
Name:
Q.No Mark
Answer All the Questions using R Program
. s
1. An economist wants to determine whether there is a linear relationship 10
between a country’s gross domestic product (GDP) and carbon dioxide (CO2)
emissions. The data are shown in the table:
GDP (X ) 1.6 3.6 4.9 1.1 0.9 2.9 2.7 2.3 1.6 1.5
CO2(Y ) 428.2 828.8 1214.2 44.6 264.0 415.3 571.8 454.9 358.7 573.5
Create a scatter plot for the generated data set, fit a regression line and find its
correlation coefficient.
2. The life of a certain kind of LED bulb has a mean of 500 hours and standard deviation 10
of 25 hours. Assuming that the lifetimes of the devices follow normal distribution.
Find the probability that any of these devices will have a life time a) more than 550
hours b) between 450 and 550 hours c) less than 450 hours d) plot the distribution.
SET-C Reg. No.:
Name: