Ask Question, Ask an Expert


Ask Statistics and Probability Expert

Please follow these instructions carefully, read them first! Your answers should be well structured and concise, and written in complete English sentences. Include your graphs and your code (in typepreparer font), comment it. Do not forget to number your answers to refer to the corresponding tasks below.



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:
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)

Using the within- and between groups variances from the task above, conduct a power test for your ANOVA. Regardless of whether your ANOVA result was significant or not, discuss all aspects of the power test (sample size, type I and type II error, power, within- and between group variance) in accordance with the outcome of your ANOVA (as in task 4) and the nature of your data as you described it in task 1. For ex, if your ANOVA did not find a significant difference between groups, discuss how you could change your experimental set-up to find an expected difference. Or, if your ANOVA was significant, discuss the power of your test and (for ex) your type I error probability and whether / how you could reduce it. Talk about what the design of a larger experiment could look like based on the results of your pilot study, e.g. by bringing in financial aspects.

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

Random and independent samples of 80 recent prime time

Random and independent samples of 80 recent prime time airings from each of two major networks have been considered. The first network aired a mean of 110.7  commercials during prime time, with a standard deviation of 4. ...

Recommendationsremember that your recommendations should be

Recommendations: Remember that your recommendations should be as authentic to a real-world situation as possible. If you are going to be asking your organization to spend money on training, for example, your justificatio ...

Requirements the objective is ldquoan analysis of the

Requirements (The objective is “An analysis of the changes in recorded crime via authority over time”.) Assignment concerns a report on a provided data file and be expected to demonstrate a single variate analysis utilis ...

The borda and condorcet methods- the following example was

The Borda and Condorcet Methods :- The following example was presented by Condorcet, in a critique of the Borda Method. A committee composed of 81 members is to choose a winner from among three candidates, A, B, and C. T ...

A teacher rated the reading ability level of six fourth

A teacher rated the reading ability level of six fourth grade children in a special math program. The reading level ratings were as follows: 3, 3, 2, 8, 4, and 4. a. Compute the mean, variance, and standard deviation (by ...

Problem 1 if we were to visit europa one of jupiters

Problem 1: If we were to visit Europa (one of Jupiter's Galilean moons) and we were to look at the sky, what would be Jupiter's angular size if Jupiter is in average 670,900 km away from Europa and has a diameter of 139, ...

Suppose that x is a continuous random variable with pdf fxx

Suppose that X is a continuous random variable with pdf fx(x) = (lambda/2)e-lambda(abs(x)) for -infinity (question also attached for clarity)

Jolie takes 45 minutes to do her statistics homework if the

Jolie takes 45 minutes to do her statistics homework. If the mean is 38 minutes and the standard deviation is 3, calculate Jolie's z score. Once calculated, interpret your findings in terms of Jolie's performance.

A company has 1000000 to invest in new rampd projects the

A company has $1,000,000 to invest in new R&D projects. The company wants to determine what set of projects should be selected. [Deterministic Scenario] The following table summarizes the initial cost and revenue potenti ...

What was polks plan for the conduct of the war what were

What was Polk's plan for the conduct of the war? What were the objectives of the American offensives in the war? How did Generals Zachary Taylor and Winfield Scott approach the problem of fighting the Mexican Army over s ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

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.

Ask Now Help with Problems, Get a Best Answer

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro