What proportion of the sample had a visual stimulus

Assignment Help Advanced Statistics
Reference no: EM13500442

1. Use these five age values 25,  38,  28,  23,  26

a. Calculate the mean, median, and standard deviation.  Note that this is sample data (every data set you will see this semester is a sample), so use the appropriate formulae.  Do all of these calculations "by hand", and show your work for possible partial credit.

b. Use PROC MEANS to obtain the mean and standard deviation.  Turn in the printout, and highlight these two statistics.  To "highlight", underline, put in bold, or something else that clearly makes these statistics stand out.

2. Use the heart beat data:

No drug:     293   297   300   302   306   311   312   314   318   320   322   323   324

                   324   326   327   331   333   335   339   342   345   345   351   356

    Drug:      330   331   335   337   339   343   346   349

                   350   358   364   369   375   387   398   403

a. Enter all 41 observations into a SAS data set.  Each line of data should have two variables, one that indicates whether or not the person is on the drug, and one that gives the number of heart beats in 5 minutes.  Thus, your program should begin with something like one of the two examples below:

     data two;                       data two;

     input drug$ beats;              input drug$ beats @@;

     lines;                          lines;

     no  293                         no  293    no  297   (etc.)

          no  297

             (etc.)

b. Use PROC SORT to sort the data by drug use (even if it's already be sorted when you enter it), then run PROC UNIVARIATE (with the PLOT and PCTLDEF=4 options) by drug. Thus, you will have a BY statement that corresponds to PROC SORT, and another BY statement that corresponds to PROC UNIVARIATE. Turn in the printouts for both groups, and on the printout for those who are not using the drug, highlight 7 statistics - the mean, standard deviation, and the 5 statistics that make up the 5-number summary.

c. State two numbers - one for each group - that indicate which group has more variation.

d. Is the data for those who are using the drug symmetric, positively skewed, or negatively skewed?  Give number(s) from the printout that support your decision.

3. Use the REACTIONTIME data.

This data set contains six variables: the type of stimulus (auditory, tactile, or visual) to which the person reacted, sex, age, the time of day (AM or PM) the reading was taken, the person's IQ, and the reaction time (in milliseconds).  For the following, turn in the results of the SAS procedures that you are instructed to run.  You will also have to answer a few other questions, using the printout.

a. Use PROC FREQ to get frequencies for the three categorical variables - stimulus type, sex, and time of day.

b. Use PROC FREQ to get a two-way frequency table of stimulus type by sex.  From this, answer the following questions for this data:

 i. What proportion of the sample is female?  

 ii. What proportion of the sample had a visual stimulus?  

 iii. Looking only at those with an auditory stimulus, what proportion is male?

 iv. Looking only at females, what proportion had a tactile stimulus?

c. Create a categorical variable that divides IQ into three groups: less than 100, between 100 and 120 (inclusive), and greater than 120 (use coding similar to that done in lesson #9, when creating an age group variable).  Then, use PROC FREQ to get frequencies for this variable.

d. Use PROC MEANS to get statistics on age.

e. Create a new variable which is reaction time in seconds (divide the reaction time variable in the data set by 1000).  Then use PROC MEANS to get the following statistics for this variable: sample size, mean, standard deviation, Q1, median, and Q3.

f. Use PROC UNIVARIATE, with the PCTLDEF=4 option, to get statistics on IQ.  Use the numeric variable, not the new categorical variable defined in part (c).

g. Using the PROC UNIVARIATE printout from part (f), state the following statistics:

i. the 10th percentile (or '10% Quantile') 

ii. the next-to-largest observation

iii. the variance

iv. the interquartile range (IQR)

h. Use PROC SORT and PROC MEANS (each with BY statements) to get statistics on the original reaction time, separately for the three stimulus types.  Comment on how the means compare for the three stimulus types.

i. Use PROC MEANS and a WHERE statement to get information about age, for AM times only.

Attachment:- Data reactiontime.xlsx

Reference no: EM13500442

Questions Cloud

Describe how much heat is required to raise the temperature : How much heat is required to raise the temperature of 205 g CH3OH(l) from 22.0 to 30.0 C and then vaporize it at 30.0 C? Use data from Table 12.1 and a molar heat capacity of CH3OH(l) of 81.1 J mol-1K-1.
Determine the flow rate through the system : A horizontal water main with a cross-sectional area of 188 cm^2 necks down to a pipe of area 49.0 cm^2. Determine the flow rate through the system
What would be the speed of the wave on the longer wire : A wire is stretched between two posts. Another wire is stretched between two posts that are four times as far apart. What would be the speed of the wave on the longer wire
Explain the largest increase in boiling point : Which of the following will give the largest increase in boiling point when added to 1 kg of water. 1 mol Co(NO3)2, 2 mol KCl, 3 mol C2H6O2, and why
What proportion of the sample had a visual stimulus : Calculate the mean, median, and standard deviation and State two numbers - one for each group - that indicate which group has more variation.
Explain containing less repulsion energy cis or trans : For CH2CBr2, which geometric isomers do you suppose is energetically most stable; containing less repulsion energy: cis or trans
Find the change in magnetic flux and induced emf : the magnetic field perpendicular to a circular coil of 5 turns and diameter 20cm changes from +1.85 T to -.25 T in 30 ms. Find the change in magnetic flux and induced emf
Explain potassium nitrate has a lattice energy : Potassium nitrate has a lattice energy of -163.8kcal/mol and a heat of hydration of -155.5kcal/mol. How much potassium nitrate has to dissolve in water to absorb 117kJ of heat
What are the dividends received by the preferred stockholder : Era Company has 3,000 shares of 5%, $100 par non-cumulative preferred stock outstanding at December 31, 2013. No dividends have been paid on this stock for 2012 or 2013.

Reviews

Write a Review

Advanced Statistics Questions & Answers

  A shop is selling laptops at regular price and at half

a shop is selling laptops at regular price and at half price. if the laptops are regular price a day they can be at

  What is the break-even quantity

Draw a decision tree for this problem and what should management do to achieve the highest expected payoff?

  After tax comparison

The Shelton Corporation has some excess cash that it would like to invest in marketable securities for a long term hold. Its vice president of finance is considering three investments.

  Determining present value and cash deposited

What is the present value of nine annual cash payments of $4,000, to be paid at the end of each year using an interest rate of 6%?

  Determining stocks and dividends

Paid dividend of $2 per share. Expected to grow at a constant rate of 5% per year, and investors require a 15% rate of return on the stock. What is the stocks value?

  Estimates for the third and fourth quarters of 2013

Construct a less-than-cumulative frequency distribution of the data represented by the graph and represents the grouped frequency distribution of the time spent on the Internet by a randomly-selected sample of Internet subscribers during their most..

  Question regarding statistical sampling

What are some benefits of an auditor using statistical sampling? What are some examples of statistical sampling? Does anyone have any experience they are willing to share with the class on statistical sampling?

  Information regarding activity cost pools

You have given this information for ABC Corporation. What is the Activity Rate for the three Activity costs Pools?

  Break even point and fixed cost

For 2011, Flint Corporation sold 100,000 units of its profit for $20 each. The variable cost per unit was $12, and Flint's margin of safety was 30,000 units. What was the amount of Flint's total fixed costs?

  How much time in total will the cashier be idle

How much time in total will the cashier be idle and how many customers on average are waiting in line to pay?

  Do a one-way anova to test the hypothesis

Do a one-way ANOVA to test the hypothesis that the population means are equal and what are the hypotheses to be tested here? What is the value of F ?

  Data collection efficiency

Data collection takes a lot of time. Therefore, it is not worth the time and trouble. What do you think? What are some faster ways to accomplish data collection?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd