Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

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.

Tasks

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)

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

A major dvd-of-the-month club collected data on the reasons

A major DVD-of-the-month club collected data on the reasons for returned shipments during a quarter. Results are: Wrong Selection, 50,000; Refused, 195,000; Wrong Address, 68,000; Order Canceled, 5000; and Other, 15,000. ...

A real number between 0 and l00 is randomly selected

A real number between 0 and l00 is randomly selected according to a uniform distribution and rounded off to the nearest integer. For example, 36.5001 is rounded off to 37; √3 is rounded off to 2; and 69.49 is rounded off ...

Research and statistical methods for business-group

Research and Statistical Methods for Business-Group Assignment Assessment - Group Project Gym Users James H. is CEO of The Gym Chain. The Gym Chain is a multinational leisure business headquartered in Australia. Some of ...

I deal myself 5 cards from a standard 52-card deck find the

I deal myself 5 cards from a standard 52-card deck. Find the probabilities of each of the following events: (a) 2 of a kind; (b) 3 of a kind; (c) 2 pair (e.g., 2 eights and 2 queens); (d) a flush (5 cards all of the same ...

Find an expression for the even moments of a rayleigh

Find an expression for the even moments of a Rayleigh random variable. That is, find  for any positive integer   if the random variable, Y, has a PDF given by

In a certain population 4 of people are color blind a

In a certain population, 4% of people are color blind. A subset is to be randomlychosen. How large must the subset be if the probability of its containing at least one colorblind person is at least 95%? (Consider the pop ...

Suppose the power line in the previous problem has an

Suppose the power line in the previous problem has an impulse response that may be approximated by  (a) What does the shot noise on the power line look like? Sketch a possible member function of the shot noise process. ( ...

You are planning to purchase a toy robot for your nephews

You are planning to purchase a toy robot for your nephew's birthday. The robot has 5 electronic components. There is a 1% probability that any one of the components will be defective. If two or more of the components are ...

Supposenbspnbspis a circular gaussian random variable whose

Suppose   is a circular Gaussian random variable whose PDF is described by Equation, (a) Find the PDF of the magnitude,   for the special case when  (b) Find the PDF of the magnitude  for the general case when  (c) For t ...

Let x andnbsp y be jointly gaussian random variablesshow

Let X and  Y be jointly Gaussian random variables. Show that   is also a Gaussian random variable. Hence, any linear transformation of two Gaussian random variables produces a Gaussian random variable.

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate