Chlorouorocarbons (CFCs) are used in air conditioners. However, CFCs damage the ozone layer, which protects us from the sun's harmful rays. As a result many jurisdictions have banned the production and use of CFCs. The latest jurisdiction to do so is the province of Ontario, which has banned the use of CFCs in car and truck air conditioners. However, it is not known how many vehicles will be affected by the legislation. A surve of 650 vehicles was undertaken. Each vehicle was identified as either using CFCs (2) or not (1). Dataset is available at cfcs_url = "https://mcs.utm.utoronto.ca/~nosedal/data/cfcs.txt" Using R, construct a 95% confidence interval for the proportion of vehicles affected by the law, i.e., the
[Statistics] How do you solve this? Construct a 95% confidence interval for the proportion of vehicles affected by the law. Provide the numerical value of the lower and upper confidence limit.
Data: https://mcs.utm.utoronto.ca/~nosedal/data/cfcs.txt
CFC 2 1 1 2 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 2 1 1 2 1 1 1 2 1 1 1 1 1 1 1 1 2 1 2 1 1 1 1 1 1 2 1 2 2 2 2 1 1 1 1 1 2 1 1 1 1 2 1 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 2 1 2 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 2 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 2 1 1 1 1 1 2 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 2 1 1 1 1 1 2 2 1 1 1 1 1 1 1 2 1 1 1 2 1 1 2 1 1 1 1 1 1 2 1 1 1 2 1 1 1 1 2 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 2 2 1 1 1 2 1 1 1 2 2 1 2 1 2 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 2 1 2 1 1 1 2 1 1 1 1 1 1 1 1 1 2 1 1 2 1 1 1 1 1 1 1 1 2 1 2 2 1 1 1 1 1 2 1 2 1 1 1 2 1 1 1 2 1 1 1 1 2 1 2 2 1 1 2 1 1 1 1 1 1 2 2 2 2 2 1 1 2 1 1 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