+61-413 786 465

info@mywordsolution.com

## Statistics

problem1)

Create a data frame in R that will look like this:

fact variable1
A .
A .
. .
B .
B .
. .
C .
. .
D .
. .
The final dimension of the data set should be 48 rows by 2 columns. Each factor level (A, B, C, D) is replicated 12 times. For variable 1, use the following code:
variable1=rnorm(48,10)*(rep(rpois(4,.2),each=12)/8+1)
Give this data frame a name of your choice and show the code you used to create it. describe as much of the code to populate variable 1 with numbers. Comment on the details of the code.

problem 2)

Think of a situation (an experiment or observational study) within your (future) area of research that could produce such a data set. describe (hypothetically) what was done and how the data were obtained. Throughout the rest of this assignment, pretend these are real data. However, in your interpretation, you may comment at any stage on how the data were created.

problem 3)

Explore your data set using at least 2 commands to summarise your data and at least 2 commands to visually depict your data (plots, histograms,...). At each step / for each plot you create, comment on what you see and what you learn from it.

problem 4)

Compare the maximum and minimum values within each group (factor level) to their respective group means. What is the largest absolute difference between one of your values and its group mean? What are the chances of obtaining such a value, assuming the data are normally distributed and centered around the respective group mean with a standard deviation of 1?

problem 5)
Formulate a hypothesis based on task 1 that you can test using ANOVA. Perform the analysis. Briefly describe what the F-value tells you and interpret the p-value. Draw a conclusion.

problem 6)

Regardless of whether you found significant differences between groups or not, perform a Tukey’s HSD test to determine what groups are significantly different from each other (even if none are). Briefly interpret this result in view of the nature of your data.

problem 7)

describe why the output contains an ‘adjusted p-value’. What does it adjust for? Can you outline a simulation experiment in R (you don’t need but you can show how you would program it) that illustrates the problem of multiple comparisons?

problem 8)

Compute the group means and then the variance of the group means for variable1 and assign this number to an object called ‘betweenVar’, meaning ‘between group variance’. Also compute the within-group variance of variable1 and assign this number to an object called ‘withinVar’ for ‘within group variance’.

problem 9)

problem 10)

Show the differences between groups in a bar plot with standard errors. Mark those groups that do not differ significantly with the same letters. Adjust the margins, the label and tick size and position etc. until you think this graph could be published in a journal. Draft a figure caption that contains all the needed information: What is shown? Where? How was it measured? When? What test are the letters referring to?

Statistics and Probability, Statistics

• Category:- Statistics and Probability
• Reference No.:- M9427

Have any Question?

## Related Questions in Statistics and Probability

### Calculate the cash and accounting break even point selling

Calculate the cash and accounting break even point. selling price \$745, Variable cost \$445 extra expense of \$170,000 per on rent, \$160,000 per year on utility plus additional of initial outlay of \$120,000 in furniture (4 ...

### Next time you see an elderly man check out his nose and

Next time you see an elderly man, check out his nose and ears! While most parts of the human body stop growing as we reach adulthood, studies show that noses and ears continue to grow larger throughout our lifetime. In o ...

### Where do cfos get their money newswhere do cfos get their

Where do CFOs get their money news? Where do CFOs get their money news? According to Robert Half International,   47% get their money news from newspapers, 15% get it from communication/colleagues, 12% get it from televi ...

### If all the data values in a population are converted to

If all the data values in a population are converted to? z-scores, the distribution of? z-scores will have what? mean? Choose the correct answer below. A. The mean of the? z-scores will be zero. B. The mean of the? z-sco ...

### Data are collected on the relationship between the number

Data are collected on the relationship between the number of hours per week practicing a musical instrument and scores on a math test. The line of best fit is as follows: y = 72.5 + 2.8x. What would you predict the score ...

### 1 what is the ytm for a 14-year semi-annual bond that pays

1. What is the YTM for a 14-year semi-annual bond that pays \$35 every six months and has a purchase price of \$980.000? Face value is \$1,000. 2. A person wants to put aside \$500 at the beginning of each month for 10 years ...

### If i had to collect and assess the quality and

If I had to collect and assess the quality and appropriateness of data held by a large, multi-national organization. What steps should I take? How would I address network, security, and ethical considerations when decidi ...

### Discuss if you think policy makers truly represent the

Discuss if you think policy makers truly represent the citizenry or are they pressured by third party special interest groups that support their campaigns. Should they represent both?

### Suppose that a certain college class contains 55 students

Suppose that a certain college class contains 55 students. Of these, 31 are sophomores, 28 are history majors, and 6 are neither. A student is selected at random from the class. (a) What is the probability that the stude ...

### In a recent year 8032844 male students and 9381579 female

In a recent year, 8,032,844 male students and 9,381,579 female students were enrolled as undergraduates. Receiving aid were 64.1% of the male students and 65.7% of the female students. Of those receiving aid, 41% of the ...

• 13,132 Experts

## Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

### Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

### Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

### Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of \$ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

### Compute the present value of an 1150 payment made in ten

Compute the present value of an \$1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

### Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of \$ 699 per year for 19 years, given a discount rate of 6 percent per annum. As