Skip to main content

Bivariate Analysis


1. the association between boarding screeners and security violations has sample size of n=20 with a Mean of boarding screeners  = 261.2 and Mean security violations  =  252.5. 



boarding <-c(287, 243,237,227,247,264,247,247,251,254,277,303,285,254,280,264,261,292,248,253)
secruity<- c(271,261,230,225,236,252,243,247,238,274,256,305,273,234,261,265,241,292,228,252)

cor.test(boarding, secruity)

Pearson's product-moment correlation

data:  boarding and secruity
t = 6.5033, df = 18, p-value = 4.088e-06
alternative hypothesis: true correlation is not equal to 0
95 percent confidence interval:
 0.6276251 0.9339189
sample estimates:
      cor 
0.8375321 

plot(boarding, secruity)



Comments

Popular posts from this blog

Information Architecture: High Fidelity Design

 For my Group  Project we had to create a low fidelity and high fidelity website design that focus on education and student as well as parents or those involves in education.     

Probability Theory

A. Based on Table 1 What is the probability of: B B1 A 10 20 A1 20 40 A1 . Event A A2 . Event B? A3.  Event A or B A4 . P(A or B) = P(A) + P(B) B. Applying Bayes' Theorem  Jane is getting married tomorrow, at an outdoor ceremony in the desert. In recent years, it has rained only 5 days each year. Unfortunately, the weatherman has predicted rain for tomorrow. When it actually rains, the weatherman correctly forecasts rain 90% of the time. When it doesn't rain, he incorrectly forecasts rain 10% of the time. What is the probability that it will rain on the day of Jane's wedding?  Solution: The sample space is defined by two mutually-exclusive events - it rains or it does not rain. Additionally, a third event occurs when the weatherman predicts rain. Notation for these events appears below. Event A1. It rains on Jane's wedding. Event A2. It does not rain on Marie's wedding. Event B. The weatherman predicts rain. In terms of probabilities, we know t...

Hypothesis Testing and Correlation Analysis

The director of manufacturing at a cookies needs to determine whether a new machine is production a particular type of cookies according to the manufacturer's specifications, which indicate that cookies should have a mean of 70 and standard deviation of 3.5 pounds. A sample pf 49 of cookies reveals a sample mean breaking strength of 69.1 pounds. A.  State the null and alternative hypothesis   Ho = u>=  70  and alt hypo. Ho = u<70 B.  Is there evidence that the machine is nor meeting the manufacturer's specifications for average strength? Use a 0.05 level of significance .  since the data is random sample size the data seem almost approximate normal.  C.  Compute the p value and interpret its meaning?  (xbar - mu) / (stdsqrt(n)) = (69.1 - 70)/(3.5/sqrt(49)) =  -1.80 this indicted it does not fall under the region and it is rejected.  D.   What would be your answer in (B) if the standard deviation were specified...