Create a data vector log

Assignment Help Basic Statistics
Reference no: EM1367400

Question 1.

When drawing a rectangle or creating a rectangular object, a particular ratio of width to length is thought to be most aesthetically pleasing. This ratio is ( √5 - 1)/2 = 0.618, and is called the golden ratio. The Shoshoni Indians (native Americans) used beaded rectangles to decorate their leather goods. Do the beaded rectangles of the Shoshoni follow the golden ratio? A random sample of beads was measured. The data is stored in the text file "shoshoni", which contains the variable:

shoshoni the ratio of width to length for the rectangular bead

Question 2.

Twelve subjects were each tested twice to measure their reaction time to a given stimulus, once after taking a drug and once after taking a placebo. The order of the treatments was randomised. Does the drug have any affect on the reaction time? The data is stored in the text
file "reaction", which contains the variables:

drug      the time to react after being given the drug (in seconds)
placebo the time to react after being given the placebo (in seconds)

Question 3.

A sample of 21 exam marks was randomly selected from a large stage 2 course. The marks were: 4, 5, 6, 7, 8, 11, 12, 14, 15, 20, 21, 27, 30, 33, 35, 40, 41, 50, 65, 69, 98

(a) Enter the data into R as a data vector called y.

(b) Create a new data vector log.y by using a natural log transformation on y. List log.y.

(c) (i) What effect has the transformation had on the lowest exam mark?
(ii) What effect has the transformation had on the highest exam mark?
(iii) Does the log transformation affect the higher or lower values more?

(d) (i) Produce a vertical box plot for y.
(ii) Produce a vertical box plot for log.y.
(iii) Produce side-by-side box plots for y and log.y.

Hint: start by creating two new variables as follows:
y.data<-c(y,log.y)
y.label<-factor(rep(c("y","log.y"),c(21,21)))

(iv) Briefly comment on what these plots show.

(e) (i) Use the R function summaryStats to calculate the major summary statistics for both y and log.y.

(ii) Compare the mean of y with the median of y.

(iii) Compare the mean of log.y with the median of  log.y.

(iv) Comment on the skewness statistics for both y and log.y.

(v) Using R as a calculator, back-transform the mean of log.y.

(vi) Is the back-transformed mean of log.ycloser to the mean of y or to the median of y?

Question 4.

A study was conducted by two University of Auckland staff (a statistician and a recreation officer) to assess the impact of new rugby rules that were aimed to improve the flow of the game. A random sample of 100 time periods of uninterrupted play were recorded from games
played under the new rules and another random sample of 100 time periods of uninterrupted play were recorded from games played under the old rules. The data is stored in the text file "rugby2", which contains the variables:

times     the time recorded for a period of uninterrupted play (in seconds)
rules      the rules that were played under:
             new or old
The university staff were interested in whether the times of uninterrupted play differed under the two sets of rules, and, if so, by how much.

Question 5.

A university lecturer was interested in assessing the fuel economy of her new car. Each time she filled up with petrol, she noted the distance travelled and the quantity of fuel required to fill the tank. It was of particular interest to predict the distance trave lled on 40 litres of fuel. The data are stored in the text file "fue lconsume", which contains the variables:

litres   the amount of petrol used (in litres)
dist     the distance travelled (in km)

Reference no: EM1367400

Questions Cloud

Illustrate what level of q maximizes profit of recycling : AMS recently instituted an in-house recycling program. Profits of this program include not only profits to environment of recycling. Illustrate what level of Q maximizes profit of recycling.
Write and explain briefly three guidelines for sound policy : Write and explain briefly three guidelines for sound policy, as stated by Bergeron and Bérubé. Are policies different from standards? In what way? Are policies different from procedures? In what way?
Expansionary fiscal policy and tight monetary policy : Determine the effects of one country pursuing expansionary fiscal policy and tight monetary policy?
How many seconds after he releases the ball : A man is riding on a flatcar travelling at a constant speed of 9.10. He wishes to throw a ball through a stationary hoop 4.90 above the height of his hands in such a manner that the ball will move horizontally as it passes through the hoop.
Create a data vector log : What effect has the transformation had on the lowest exam mark and what effect has the transformation had on the highest exam mark - STATS 201/8 Data Analysis
What will happen to output and cost level in short-run : Assume Fed expands money supply, however because public expect this Fed action, it simultaneously raises its expectation of cost level. Illustrate what will happen to output and cost level in short run.
Find the tension force acting upon the plane : A 69N box of clothes is pulled 8.9 m up a 30° ramp by a force of 100 N that points along the ramp. If the coefficient of kinetic friction between the box and ramp is 0.22, compute the change in the box's kinetic energy.
Estimating real gdp : The Republic of Republic produces 2-goods, marshmallows and soda water. In 1994, the one hundred units of MM produced sold for $3 a unit and 50 units of SW produced sold for $1 a unit.
Find required bandwidth for transmission of video stream : A frame rate of 30 fps, and 8 bits for quantisation of each pixel. What is the required bandwidth for the transmission of the uncompressed video stream?

Reviews

Write a Review

Basic Statistics Questions & Answers

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING MODELS

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