Question

In: Math

Can you please show both in RStudio code? Thank You Airports: The temperature is recorded at...

Can you please show both in RStudio code? Thank You

Airports:

The temperature is recorded at 60 airports in a region. The average temperature is 68 degrees Fahrenheit with a standard deviation of 5 degrees. The last known average temperature from all airports is 67 degrees Fahrenheit.   Is the recorded temperature at the 60 airports different from the average temperature at all airports?

  • Answer by determining statistical significance using the test statistic, degrees of freedom, and p-value.
  • Answer substantive significance with difference in means and effect size.

New York Attitudes:

The New York Chamber of Commerce has asked you to do a study concerning people's attitudes toward our city. As part of the study, you will ask them to rate their image of New York on a scale from 1 to 100 (1= awful city - call in the bulldozers; 100 = wonderful city - there is none better). Previous data show this scale is normally distributed with a last known population average rating of 50 and a standard deviation of 10.

Solutions

Expert Solution

Q1. ANSWERING FIRST QUESTION.

Given that,
population mean(u)=67
sample mean, x =68
standard deviation, s =5
number (n)=60
null, Ho: μ=67
alternate, H1: μ!=67
level of significance, alpha = 0.05
from standard normal table, two tailed t alpha/2 =2.001
since our test is two-tailed
reject Ho, if to < -2.001 OR if to > 2.001
we use test statistic (t) = x-u/(s.d/sqrt(n))
to =68-67/(5/sqrt(60))
to =1.5492
| to | =1.5492
critical value
the value of |t alpha| with n-1 = 59 d.f is 2.001
we got |to| =1.5492 & | t alpha | =2.001
make decision
hence value of |to | < | t alpha | and here we do not reject Ho
p-value :two tailed ( double the one tail ) - Ha : ( p != 1.5492 ) = 0.1267
hence value of p0.05 < 0.1267,here we do not reject Ho
ANSWERS
------------------------------------------------------------------------------
null, Ho: μ=67
alternate, H1: μ!=67
test statistic: 1.5492
critical value: -2.001 , 2.001
decision: do not reject Ho
p-value: 0.1267


Related Solutions

Please show the Rstudio code used in markdown. thank you! 3. Hypothesis Testing on Two Proportions...
Please show the Rstudio code used in markdown. thank you! 3. Hypothesis Testing on Two Proportions The Organization for Economic Cooperation and Development (OECD) summarizes data on labor-force participation rates in a publication called OECD in Figures. Independent simple random samples were taken of 300 U.S. women and 250 Canadian women. Of the U.S. women, 215 were found to be in the labor force; of the Canadian women, 186 were found to be in the labor force. a) Compute the...
**Using RStudio**Please show code** (airquality) What is the relationship between temperature and ozone levels in New...
**Using RStudio**Please show code** (airquality) What is the relationship between temperature and ozone levels in New York and how does the month influence this? Make a plot that would illustrate this relationship (hint: make sure you change Month into a factor, you don't need to include a line of best fit for this plot because there are so many categories in month).
Please answer everything in R programming language. Show the code to me as well. Thank You...
Please answer everything in R programming language. Show the code to me as well. Thank You 1. Problem Open dataset stat500. Package: faraway. Use R (a) Calculate the correlation matrix. 10. (b) Plot total vs hw, to see how strong the relationship. (c) Build a simple linear regression: total regressed against midterm. Print model output. (d) Calculate directly the coefficients as in (3) (e) Calculate the Residual standard error s, as in (4). (f) Calculate the standard error of beta_1,...
Can you please show me the work on how you get your answer please (thank you...
Can you please show me the work on how you get your answer please (thank you in advance kings and queens of chegg) Problem 1: The following selected information is provided about a manufacturing company: Raw material purchases800,000 Direct labor 415,000 Overhead applied730,000 Actual overhead745,000 Selling and administrative salaries500,000 Other selling and administrative expenses185,000 Sales revenue5,000,000 Inventory data: January 1 December 31Raw material 75,000 100,000Work in process 105,000 140,000Finished goods 120,000 125,000Calculate the cost of goods sold. Assume that under/over...
Please I can get a flowchart and a pseudocode for this java code. Thank you //import...
Please I can get a flowchart and a pseudocode for this java code. Thank you //import the required classes import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class BirthdayReminder {       public static void main(String[] args) throws IOException {        // declare the required variables String sName = null; String names[] = new String[10]; String birthDates[] = new String[10]; int count = 0; boolean flag = false; // to read values from the console BufferedReader dataIn = new BufferedReader(new...
Question: Can I get the code in Java for this assignment to compare? Please and thank you....
Question: Can I get the code in Java for this assignment to compare? Please and thank you. Can I get the code in Java for this assignment to compare? Please and thank you. Description Write a Java program to read data from a text file (file name given on command line), process the text file by performing the following: Print the total number of words in the file. Print the total number of unique words (case sensitive) in the file. Print...
Please complete both questions in MASM. Explain code clearly, thank you. Please screenshot memory outputs. Symbolic...
Please complete both questions in MASM. Explain code clearly, thank you. Please screenshot memory outputs. Symbolic Text Constants Write a program that defines symbolic names for several string literals (characters between quotes). Use each symbolic name in a variable definition. Use this code to get started: ; Symbolic Text Constants Comment ! Description: Write a program that defines symbolic names for several string literals (characters between quotes). Use each symbolic name in a variable definition. ! .386 .model flat,stdcall .stack...
Can someone show me how to break this down by steps please and thank you. You...
Can someone show me how to break this down by steps please and thank you. You sell short 200 shares of a stock at $95 on a 60% initial margin requirement with a 30% maintenance margin. In 3 months, the stock is $79. What is your margin at this time? When would a margin call occur? If you cover your position when the stock is $79, what would be your HPR? Assume you did the same trade as before but...
Please can I get a flowchart and pseudocode for this java code. Thank you. TestScore.java import...
Please can I get a flowchart and pseudocode for this java code. Thank you. TestScore.java import java.util.Scanner; ;//import Scanner to take input from user public class TestScore {    @SuppressWarnings("resource")    public static void main(String[] args) throws ScoreException {//main method may throw Score exception        int [] arr = new int [5]; //creating an integer array for student id        arr[0] = 20025; //assigning id for each student        arr[1] = 20026;        arr[2] = 20027;...
Please can I kindly get a flowchart for this java code. Thank you. //import the required...
Please can I kindly get a flowchart for this java code. Thank you. //import the required classes import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class BirthdayReminder {       public static void main(String[] args) throws IOException {        // declare the required variables String sName = null; String names[] = new String[10]; String birthDates[] = new String[10]; int count = 0; boolean flag = false; // to read values from the console BufferedReader dataIn = new BufferedReader(new InputStreamReader( System.in));...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT