Question

In: Statistics and Probability

Consider the program and data that follows, reflecting paired data: PROC FORMAT; VALUE $OPINION 'P'='Positive' 'N'='Negative';...

Consider the program and data that follows, reflecting paired data:

PROC FORMAT;
VALUE $OPINION 'P'='Positive'
'N'='Negative';
RUN;

DATA A;
LENGTH AFTER BEFORE $ 1;
INPUT AFTER $ BEFORE $ COUNT;
FORMAT BEFORE AFTER $OPINION.;
DATALINES;
N N 26
N P 38
P N 18
P P 159
;

Add to this SAS code to identify the appropriate p value for evaluating whether a significant change occurred from baseline to follow-up?

​​​​​​​

  1. 0.0075
  2. < 0.0001
  3. 0.0382
  4. 0.3383

Solutions

Expert Solution


Related Solutions

A matlab program to enter N numbers and count the positive, negative and zero numbers. Then...
A matlab program to enter N numbers and count the positive, negative and zero numbers. Then print the results
For each positive integer, n, let P({n}) =(1/2^n) . Consider the events A = {n :...
For each positive integer, n, let P({n}) =(1/2^n) . Consider the events A = {n : 1 ≤ n ≤ 10}, B = {n : 1 ≤ n ≤ 20}, and C = {n : 11 ≤ n ≤ 20}. Find (a) P(A), (b) P(B), (c) P(A ∪ B), (d) P(A ∩ B), (e) P(C), and (f) P(B′). Hint: Use the formula for the sum of a geometric series
(a) Describe the behaviour of positive and negative charges within a p-n junction. Use a sketch/sketches...
(a) Describe the behaviour of positive and negative charges within a p-n junction. Use a sketch/sketches (drawn by hand) to support your description. (b) Show your knowledge and understanding of the actions involved with the following devices; (i) A diode (ii) A bipolar transistor (iii) A MOSFET (c) Use semiconductor theory to describe the movement of charge carriers in each of the three devices given in Task (b). (d) For each of the devices given in Task (b) make a...
Consider an array of length n containing positive and negative integers in random order. Write the...
Consider an array of length n containing positive and negative integers in random order. Write the C++ code that rearranges the integers so that the negative integers appear before the positive integers. write a program that includes both functions and a main() function that tests them. Name the two functions rearrangeN() and rearrangeN2().
n your personal opinion, why do you think micrograms get more negative attention that positive attention?
n your personal opinion, why do you think micrograms get more negative attention that positive attention?
Consider the following. (a) For the same data and null hypothesis, is the P-value of a...
Consider the following. (a) For the same data and null hypothesis, is the P-value of a one-tailed test (right or left) larger or smaller than that of a two-tailed test? Explain your answer. The P-value for a one-tailed test is smaller because the two-tailed test includes the area in only one tail.The P-value for a one-tailed test is smaller because the two-tailed test includes the area in both tails.     The P-value for a one-tailed test is larger because the two-tailed test...
Consider the following. (a) For the same data and null hypothesis, is the P-value of a...
Consider the following. (a) For the same data and null hypothesis, is the P-value of a one-tailed test (right or left) larger or smaller than that of a two-tailed test? Explain your answer. The P-value for a one-tailed test is smaller because the two-tailed test includes the area in only one tail. The P-value for a one-tailed test is larger because the two-tailed test includes the area in only one tail. The P-value for a one-tailed test is smaller because...
Use Red Cross data to determine the percentage of the population with an Rh factor that is positive (A, B, AB, or O blood types). Use that value for p.
Use Red Cross data to determine the percentage of the population with an Rh factor that is positive (A, B, AB, or O blood types). Use that value for p. How many students in your class have a positive Rh factor? Is this an unusual amount?
Consider the following data: Company Name Market Capitalization Enterprise Value​ (EV) ​EV/Sales ​EV/EBITDA ​EV/EBIT ​P/E Forward​...
Consider the following data: Company Name Market Capitalization Enterprise Value​ (EV) ​EV/Sales ​EV/EBITDA ​EV/EBIT ​P/E Forward​ P/E Total Shares Alaska Air​ (ALK) ​7,286 ​8,207 1.02x 5.1x 6.7x 7.7x 12.5x 124124 Peer Data American Airlines​ (AAL) ​17,879 ​37,327 0.87x 5.7x 8.2x 10.5x 8.2x Delta Air Lines​ (DAL) ​35,580 ​44,164 1.02x 5.7x 8.0x 10.8x 8.8x Hawaiian​ (HA) ​2,023 ​2,057 0.73x 3.4x 4.1x 5.8x 7.2x JetBlue Airways​ (JBLU) ​5,450 ​5,814 0.80x 4.1x 5.9x 4.9x 10.8x SkyWest​ (SKYW) ​2,909 ​5,040 1.56x 7.2x 12.6x 6.6x...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT