Question
Include Matlab question,other write by hand,thanks
A data engineer working for The Gabba Stadium has recorded the number of people attending AFL events in 2018. This data has been provided on Blackboard in a.csv file (GabbaAttendance.csv). The data engineer claims that the average attendance at an event is 15,000 people and your task is to determine whether this is valid or not, by following the steps below 1. Using MATLAB, import the data using csvread and determine the number of samples, sample mean and standard deviation (using in-built MATLAB functions) 2, Determine the 95% confidence interval for the number of people attending an AFL event at The Gabba Stadium. Interpret this interval. 3. Conduct a hypothesis test to see if there is sufficient evidence to suggest that the data engineers claim is incorrect (use α = 0.05). Use the comparison between Twa and 1x-1,1-e2 for your hypothesis test. . Within the dataset there is one event which only recorded an attendance of 6060. Exclude this observation and re-calculate the confidence interval and hypothesis test to determine if you get a different result to your answer in 3
75547628 697767 0 340247668 680110800 1122121262
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1)

From the given data, we calculate:

n = 10

Mean (xbar) = 17529.4

Std Dev (s) = 5,081.91

Std Error (SE) = s/n1/2 = 1,607.04

2)

At alpha = 0.05,

ZCritical = 1.96

Hence,

95% CI = Mean +/- ZCritical *SE = 17529.4 +/- 1.96*1,607.04 = {14379.6,20679.2}

Interpretation

There is 95% probability that true mean lies in the interval {14379.6,20679.2}

3)

Alpha = 0.05

Null and Alternate Hypothesis

H0: µ = 15000

Ha: µ <> 15000

Test Statistic

t = (xbar - µ0)/ SE = (17529.4-15000)/ 1,607.04 = 1.57

p-value = TDIST(1.57,9,2) = 0.1499

Since the p-value is greater than 0.05, hence we fail to reject the null hypothesis

4)

When we exclude the outlier,

n = 9

Mean (xbar) = 18803.78

Std Dev (s) = 3283.84

Std Error (SE) = s/n1/2 = 1094.613

95% CI = Mean +/- ZCritical *SE = 18803.78 +/- 1.96*1094.613 = {16,658.34, 20,949.22}

Alpha = 0.05

Null and Alternate Hypothesis

H0: µ = 15000

Ha: µ <> 15000

Test Statistic

t = (xbar - µ0)/ SE = (18803.78-15000)/ 1094.613 = 3.47

p-value = TDIST(3.47,9,2) = 0.006993

Since the p-value is less than 0.05, hence we reject the null hypothesis.

Add a comment
Know the answer?
Add Answer to:
Include Matlab question,other write by hand,thanks A data engineer working for The Gabba Stadium has recorded...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Q2.3.4,solve it by hand,not use matlab A data engineer working for The Gabba Stadium has recorded...

    Q2.3.4,solve it by hand,not use matlab A data engineer working for The Gabba Stadium has recorded the number of people attending AFL events in 2018. This data has been provided on Blackboard in a.csv file (GabbaAttendance.csv). The data engineer claims that the average attendance at an event is 15,000 people and your task is to determine whether this is valid or not, by following the steps below. 1. Using MATLAB, import the data using csvread and determine the number of...

  • A data engineer working for The Gabba Stadium has recorded the number of people attending AFL...

    A data engineer working for The Gabba Stadium has recorded the number of people attending AFL events in 2018. This data has been provided on Blackboard in a .csv file (GabbaAttendance.csv). The data engineer claims that the average attendance at an event is 15,000 people and your task is to determine whether this is valid or not, by following the steps below 1. Using MATLAB, import the data using csvread and determine the number of samples, sample mean and standard...

  • Use MATLAB A data engineer working for The Gabba Stadium has recorded the number of people...

    Use MATLAB A data engineer working for The Gabba Stadium has recorded the number of people attending AFL events in 2018. This data has been provided on Blackboard in a csv file (GabbaAttendance.csv). The data engineer claims that the average attendance at an event is 15,000 people and your task is to determine whether this is valid or not, by following the steps below. 1. Using MATLAB, import the data using csvread and determine the number of samples, sample mean...

  • 10 springs have been tested and have had their spring constant recorded. This data has been...

    10 springs have been tested and have had their spring constant recorded. This data has been provided in a csv file 10.051, 9.5551, 9.806, 9.9991, 10.191, 10.259, 9.8472, 9.4386, 9.4493, 9.5575 1. Using MATLAB, import the data using csvread and determine the sample mean and variance using in built functions is fine)(finished) 2. Determine the 95% confidence interval for the spring constant of the springs finished) x = csvread("values csv") m = mean(x); v = var(x); sprintf ("Mean is %f...

  • Data Summaries Sample Mean Sample Std Dev Sample Size 79.998 11.588 1000 Hypothesis Testing Confidence Interval...

    Data Summaries Sample Mean Sample Std Dev Sample Size 79.998 11.588 1000 Hypothesis Testing Confidence Interval Creation Level of Confidence: 95% Alpha (a) Value: 0.05 MOE 0.719 9 - MOE: 79.279 9 + MOE: 80.717 Confidence Interval Question What is the confidence interval telling you about the population parameter? Use the formula: df = n-1 Use the formula: (9-4_0)/(s/sqrt(n)) Degrees of Freedom: Alpha (a) Value: Test Statistic Value: Is your test statistic a z value or at value? P-Value Method...

  • l Verizon 9:21 PM 5296 A traffic engineer believes that the number of cars passing through...

    l Verizon 9:21 PM 5296 A traffic engineer believes that the number of cars passing through a certain intersection between 2 and 6 pm on weekdays follows a normal distribution with mean 750 and standard deviation 100 A new highway is opened, and it is hypothesized that the number or cars passing through the intersection should decrease as a result. A sample of 15 weekdays is taken, and the mean number of cars passing through the intersection is 710. Decide...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT