Question

Bookmark Bookmark Matlab 1 nad already finished, just 3 and 4left~~~ Inference 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 vread( values csv m mean x), van(x) sprintf Mean is %f and Variance is %f m, V sqrt(V) sgrt length(x) Se Cl m t se sprintf Calculated Confidence interval is %f to %f, Cl 10,C102) unfinishing are 3 and 4.(clear code please) (clear code please) 3. The spring manufacturer claims that the springs have a spring constant of 10kN/m. Conduct a hypothesis test to see if there is sufficient evidence to suggest that this spring constant is incorrect. Use the comparison between test and 1,1 -a/2 for your hypothesis test. T 4. If the sample mean and variance stayed the same, but there were 50 springs, calculate the new 95% confidence intervals and reconduct a hypothesis test. Explain why the confidence interval changes.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

3.

Hypotheses are:

H_{0}:\mu=10, H_{a}:\mu\neq 10

Since population standard deviation is unknown and hypothesis test population mean so t test should be used. Here sample size is large so we can assume that sampling distribution of sample mean is normal.

So test statitics will be

t=\frac{\bar{x}-\mu}{s/\sqrt{n}}=\frac{9.81538-10}{0.3052/\sqrt{10}}=-1.91

Here test is two tailed and degree of freedom of the test is df=n-1=10-1=9. So for \alpha = 0.05, critical value of the test are +/-2.2622. Rejection region:

If t< -2.2622 or t > 2.2622, we reject the null hypothesis.

Since test statistics value is not less than -2.2622 so we fail to reject the null hypothesis.

That is we cannot conclude that spring constant is different from 10 kN/m.

4:

Since there 50 data values in the sample so degree of freedom is df=50-1=49 and critical value of t for 95% confidence interval is +/- 2.0096. Therefore required confidence interval is

\bar{x}\pm t_{critical}\frac{s}{\sqrt{n}}=9.81538\pm 2.0096\cdot \frac{0.3052}{\sqrt{10}}=9.81538\pm 0.1940

Therefore, a 95% confidence interval for the mean is (9.62138, 10.00938).

--------------------------

Hypotheses are:

H_{0}:\mu=10, H_{a}:\mu\neq 10

Since population standard deviation is unknown and hypothesis test population mean so t test should be used. Here sample size is large so we can assume that sampling distribution of sample mean is normal.

So test statitics will be

t=\frac{\bar{x}-\mu}{s/\sqrt{n}}=\frac{9.81538-10}{0.3052/\sqrt{50}}=-4.28

Here test is two tailed and degree of freedom of the test is df=n-1=50-1=49. So for \alpha = 0.05, critical value of the test are +/-2.0096. Rejection region:

If t< -2.0096 or t > 2.0096, we reject the null hypothesis.

Since test statistics value is less than -2.0096 so we reject the null hypothesis.

That is we can conclude that spring constant is different from 10 kN/m.

Add a comment
Know the answer?
Add Answer to:
10 springs have been tested and have had their spring constant recorded. This data has been...
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
  • 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...

  • 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...

  • Include Matlab question,other write by hand,thanks A data engineer working for The Gabba Stadium has recorded...

    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...

  • You have been tasked with leading the sponsorship campaign for the 250 Anniversary of the Founding...

    You have been tasked with leading the sponsorship campaign for the 250 Anniversary of the Founding of Huntsville by your bosses at Nuka-Cola Corporation. You want to use the slogan "Sponsored by Nuka-Cola, Huntsville's Bestselling Soda!". However, before you do so you want to make sure these claims are accurate. So, you go around to local grocery stores and ask them how many units of several popular sodas they have sold in the last week. Table 3 contains your results...

  • 3. [42.5 points] A large tech company is evaluating two programming languages. Twenty- four entry-level data...

    3. [42.5 points] A large tech company is evaluating two programming languages. Twenty- four entry-level data scientists were asked to code a procedure. Twelve were randomly assigned to Programming Language 1, while the remaining twelve were assigned to Programming Language 2. Suppose you want to test whether the tech company should conclude Programming Language 1 is more inefficient. The following table shows the time required by each data scientist to code the procedure in seconds. Refer to Appendix A to...

  • Part 1 You have been asked to estimate the mean number of seals killed by a...

    Part 1 You have been asked to estimate the mean number of seals killed by a polar bear in one year. The Polar Bear tab of this spreadsheeet contains a random sample of polar bears and their annual seal kills 1. What is your best estimate for the population mean? 2. If you are going to construct at 95% confidence interval, what is the appropriate critical value ("? 13. What is the 95% confidence interval for the population mean? Part...

  • 2. (20 points) A bank has been receiving complaints from real estate agents that their customers...

    2. (20 points) A bank has been receiving complaints from real estate agents that their customers have been waiting too long for mortgage confirmations. The bank prides itself on its mortgage application process and decides to investigate the claims. The bank manager takes a random sample of 20 customers whose mortgage applications have been processed in the last 6 months and finds the following wait times (in days) 5.7, 22, 4, 12, 9, 9, 14, 3, 6, 5, 15, 10,...

  • Please be as clear as possible, needs work and theorems explained/noted. No excel please, urgent thanks...

    Please be as clear as possible, needs work and theorems explained/noted. No excel please, urgent thanks Textbook - Applied Statistics and Probability for Engineers by Montgomery, 6th Edition PART 1. For each of the following statements, circle the letter “T” if it is true, and “F” if it is false. TF If events A and B are mutually exclusive, they must be independent. т F P[A B C] P[CB] P[B] = P[CAB] P[AB] P[B]. T F If the 95% confidence...

  • please be as clear as possible, take note of units and significant figures. thanks for the...

    please be as clear as possible, take note of units and significant figures. thanks for the help PART 1. For each of the following statements, circle the letter “T” if it is true, and “F” if it is false. TF If events A and B are mutually exclusive, they must be independent. т F P[A B C] P[CB] P[B] = P[CAB] P[AB] P[B]. T F If the 95% confidence interval for a particular situation is (-5,5), then the 90% confidence...

  • Please be as clear as possible. Textbook - Applied Statistics and Probability for Engineers by Montgomery,...

    Please be as clear as possible. Textbook - Applied Statistics and Probability for Engineers by Montgomery, 6th Edition PART 1. For each of the following statements, circle the letter “T” if it is true, and “F” if it is false. TF If events A and B are mutually exclusive, they must be independent. т F P[A B C] P[CB] P[B] = P[CAB] P[AB] P[B]. T F If the 95% confidence interval for a particular situation is (-5,5), then the 90%...

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