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

  Find probability with the cards

An experiment consists of selecting a card at random from a 52-card deck. Refer to this experiment and find the probability of the event.

  What does the levenes test shows

Test either there is any difference among the given variable also what does the Levene's Test shows. What variable is presented in this table.

  Appropriate set of hypothesis

State the appropriate set of hypothesis to test whether there is a relationship between the variables X and Y.

  Process capability index and performance

A process has a capability index of 0.40. This index is interpreted to mean that the process is:

  Difference in number of circuit cards bought by month

At.05 level of significance can director conclude that there is difference in the number of circuit cards bought by month?

  Probability of type second error

Using this information, calculate Beta risk (probability of Type II error) if the true population mean really is 77.

  Testing hypothesis of average price of gasoline

Test hypothesis that average price of gasoline in western states is higher than national average for Continental USA and the District of Columbia, i.e., higher than $3.74.

  Determining sample mean using standard deviation

For a sample with standard deviation of 10, a score of X = 44 corresponds to z-score of 0.50.  Based on this info, determine the sample mean?

  Difference between means using mean z test

To test the difference between two means using two mean z test.

  Hypothesis test-analysis of variance

To test whether or not there is a difference between treatments A, B, and C, a sample of 12 observations has been randomly assigned to the 3 treatments. You are given the results below.

  Rising the probability of best case scenario

If campaign can be expected to also to rise the probability of best case scenario to 0.4, is it a good investment.

  What is the probability that at least 10 of its workers

The Bureau of Labor Statistics says that baggage handlers, trash haulers, and coal miners are among the occupations having the highest risk of the debilitating injury or illness. For coal miners working over the course of a year, 3.60 injuries per..

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