Compute the matrix of relative frequencies

Assignment Help Basic Statistics
Reference no: EM131830645

In this exercise we consider a dataset of amino acid pairs (x, y). We think of the data as representing the outcome of a random variable (X, Y). Here X and Y represent an amino acid at a given position in two evolutionary related proteins (same protein, but from two different species, say). The dataset may be obtained from a (multiple) alignment of (fractions) of proteins. The only mutational event is substitution of one amino acid for another. In this exercise you are allowed to think of the different positions as independent, but X and Y are dependent.

  • Load the aa dataset into R with data(aa) and use table to cross-tabulate the data according to the values of x and y. Compute the matrix of relative frequencies for the occurrence of all pairs (x, y) for (x, y) ∈ E0× E0where E0denotes the amino acid alphabet.

Reference no: EM131830645

Questions Cloud

Distributed variables with success parameter : Write an R-function, my.rgeom, that takes two arguments, (n,p), and returns a simulation of n iid geometrically distributed variables with success parameter p.
Compute the probability-using a suitable model : Compute the probability - using a suitable model - for each of the local alignments above of getting a local alignment with a score as large or larger
Discuss about the red wolfs tremendously complex : You may also use this writing opportunity to reflect: Based on what you have read, how do you, as an AState Red Wolf feel about YOUR future?
What is wrong with the given variable declaration : Declare a variable suitable for holding the number of bottles in a case. What is wrong with the following variable declaration? int ounces per liter = 28.35
Compute the matrix of relative frequencies : Compute the matrix of relative frequencies for the occurrence of all pairs (x, y) for (x, y) ? E0× E0where E0denotes the amino acid alphabet.
What entries should be made after each game : Carolina University sold 9,000 season football tickets at $100 each for its five-game home schedule.
Discuss the interpretation of the values : If (X, Y) have distribution P, SX,Ycan be regarded as a random variable with values in a finite sample space (why?). Compute the mean of SX,Y.
How many times have you seen an article in the paper : How many times have you seen an article in the paper or on the news about either a or virus in the last week? Month? Year?
In what other context have we discussed similar algorithms : The disk-scheduling algorithms examined in this chapter sound familiar. In what other context have we discussed similar algorithms?

Reviews

Write a Review

Basic Statistics Questions & Answers

  What is the probability that both have been caught in spain

Fish Caught in Spain According to the Eurostat Statistics Database, Spain accounts for 19% of the total fishes caught in the European Union (EU).

  Do you believe these regression results are worth reporting

Would you use the regression model to predict a firm's pension funding?- Does the model explain much of the variation in firms' pension funding on the basis of profitability?

  Describe the interrupted time series and the control series

Describe the interrupted time series and the control series designs. What are the strengths of the control series design as compared with the interrupted time series design?

  A straight-line model relating an nfl team

Refer to the Forbes magazine (Jan. 11,1999) report on the financial standings of each team in the National Football League (NFL), Exercise 2.113 (p. 113). The table listing the current value (without deduction for debt, except stadium debt) and o..

  What is the mean of data set

a. What is the mean of this data set? b. What is the medium of this data set? c. How many modes does the data set have have? and what are there values

  A newspaper article reported that a poll based on a sample

a newspaper article reported that a poll based on a sample of 1150 residents of a state showed that the states

  Probability that the first time a green ball is drawn

Find the probability that the first time a green ball is drawn is before the first time a blue ball is drawn.

  Explain the public health programs

Tversky asked subjects to choose between two public health programs that affect 600 people. One has probability 1/2 of saving all 600 and probability 1/2.

  Graph the relationship between the two variables

Graph the relationship between the two variables and is there sufficient evidence to infer that height and length of index fingers are linearly related?

  Who is neither a democrat nor a republican is

The expected value of the number of simple random samples of size 20 that must be drawn until (and including) the first sample that contains at least one voter who is neither a Democrat nor a Republican is?

  If the coach must start a lineup with one center two

a basketball team has three pure centers four pure forwards four pure guards and one swing- man who can play either

  Draw a stem and leaf display of the data

The following data are the percentages of employees involved in worker participation programs in a sample of firms. Draw a stem-and-leaf display of the data

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