Answer the following problems showing your work and explaining (or analyzing) yourresults.1. Explain Type I and Type II errors. Use an example if needed.2. Explain a one-tailed and two-tailed test. Use an example if needed.3. Define the following terms in your own words.Null hypothesisP-valueCritical valueStatistically significant4. A homeowner is getting carpet installed. The installer is charging her for 250 square feet.She thinks this is more than the actual space being carpeted. She asks a second installer tomeasure the space to confirm her doubt. Write the null hypothesis Ho and the alternativehypothesis Ha.5. Drug A is the usual treatment for depression in graduate students. Pfizer has a new drug,Drug B, that it thinks may be more effective. You have been hired to design the testprogram. As part of your project briefing, you decide to explain the logic of statisticaltesting to the people who are going to be working for you.Write the research hypothesis and the null hypothesis.Then construct a table like the one below, displaying the outcomes that wouldconstitute Type I and Type II error.