Hypothesis test for single proportion.
In a random sample of 400 employees of a local company, 180 were female.
a. At 95% confidence using the critical value approach, determine if the proportion of females in the company is significantly less than 50%.
b. At 95 percent confidence using the p-value approach, test to determine if the proportion of females in the company is significantly less than 50 percent.