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

  Expected value and standard deviation of frequency value

Calculate the expected value and standard deviation of the value.

  Using analysis of variance to test differences in mean

Use analysis of variance to test any differences in mean glue strengths.

  Evaluate the standard deviation

Evaluate the standard deviation - use the conservative value for the degrees of freedom, Assume the two groups are independent and the data are approximately Normal. Let µ 1 and µ 2 represent the mean heart rates we would observe for the entire po..

  Percentage of the values between two values

Use Chebyshev's theorem to find what percent of the values will fall between 120 and 150 for a data set with mean of 135 and standard deviation of 7.5.

  Point estimate for average sales

What would be your best point estimate for average Sales in weeks for which Newspaper advertising were $1 million? What would be an appropriate interval estimate for this?

  Probability for the mean weight for a sample

What is the probability that the mean weight for a sample of 40 trout exceeds 405.5 grams?

  Evaluating the proportion within confidence

How many voters required to be sampled to evaluate the proportion within 0.05 with 95% confidence?

  Degree of freedom for paired samples t-test

In testing the difference between two means from two independent populations, the sample sizes do not have to be equal to be able to use the Z statistic.

  Chi-square test for independence of attributes

Chi-square test for independence of attributes - Describe why a x 2  test of the resulting contingency table is appropriate for such an investigation.

  Analysis of variance test

One-way Analysis of Variance (ANOVA) test -  How many treatments are there and  What is the total sample size?

  Hypothesis test

Using one mean t test to determine whether or not to support the claim -  hypothesis test that WORKS THE SAME as the z-test

  Calculate each binomial probability

More than 13 successes in 19 trials with a 40 percent chance of success. (Round the answer to 4 decimal places.) Fewer than 7 successes in 15 trials with a 40 percent chance of success. (Round the answer to 4 decimal places.)

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