Project 1
1)
Data refers to any collection of information that can be analyzed or processed by a computer or other electronic device. Data can be in various formats, such as text, numbers, images, videos, or any other type of digital information.
Supervised learning: Algorithms are trained using labeled data.
Unsupervised learning: Algorithms are trained using unlabeled data.
Since the given data is labeled it falls under supervised learning.
2)
n= p*(1-p)(Z_alpha/2^2) /E^2
confidence level= 1 - alpha
alpha = 1 - confidence leve
= 1 - 0.99
= 0.01
alpha /2 = 0.005
p = 0.5
q = 0.5
= 0.5 x 0.5 (2.58^2)/ 0.02^2
= 0.25 (6.45) / 0.0004
1.6125 / 0.0004
=4,156.25
4) Sex and smoking are statistically independent from chart observations.
5) All variables independent of each other except smoking and charges. Changes depend upon Smoking from observation.
6)The Charges is here response which directly depends upon the regressor value Smoking. Age is the next to charges in dependency.