Perform a descriptive statistical analysis

Assignment Help Basic Statistics
Reference no: EM131242212

Question 1. Markov chain: Write a function to generate a sequence of random variables {Xi}i=1n taking values 0 and 1, following the probability model

P(Xi+1 = l|Xi = k) = Πkl k,l = 0, 1;

where 0 < Πkl < 1, and Π00 + Π01 = 1 and Π10 + Π11 = 1.

Question 2. Write a function that takes a sequence (vector) of 0 or 1 as input and returns the starting locations of runs of 0's and runs of 1's, where the length of a run is set to an integer K ≥ 1.

Question 3. Write a function that takes a sequence (vector) of 0 or 1 as input and returns the starting location of all subsequences that start and end with prespecified motifs (vectors of 0's and 1's).

Question 4. Generate sequences of length 10000 from the Markov chain described in Problem 1, by using two different transition probability matrices:
(a)

Π00         Π01  .0.5       0.5.
Π10         Π11      0.5        0.5

(b)

Π00         Π01  0.8       0.2
Π10         Π11      0.1        0.9

For each of the cases (a) and (b), compute the following:

(i) Starting location of runs of 0's and 1's of lengths up to 10. What is a good repre- sentation of this data ? Do you see any difference in patterns between runs of 0's and runs of 1's?

(ii) Starting locations of all subsequences of length 200 that start and end with the motifs 0000 and 1111, respectively.

(iii) Perform a descriptive statistical analysis to compare your results in cases (a) and (b). Write a brief report summarizing you findings.

Question 5. Give an informative graphical statistical summary of the following datasets (available with base R). In each case, write very brief (maximum of 80 words) description high- lighting the findings.

(i) AirPassengers : Monthly airline passenger numbers during 1949-1960.

(ii) EuStockMarkets : Daily closing prices of major European stock indices during 1991-1998.

(iii) PlantGrowth : Results from a controlled experiment on plant growth.

(iv) trees : Girth, weight and volume for Black Cherry trees.

(v) airquality : Data on New York air quality measurements.

Attachment:- peter_assignment.rar

Reference no: EM131242212

Questions Cloud

Calculate the magnitude of the force : The force applied to the skier by the tow bar is parallel to the slope. The skier's mass is 68.9 kg, and the coefficient of kinetic friction between the skis and the snow is 0.143. Calculate the magnitude of the force that the tow bar exerts on th..
Create a scenario that the union view as a violation : Create a scenario that the Union/employee(s) view as a violation of the collective agreement. File a grievance using the attached grievance forms. The grievance should indicate the type of grievance you are filing.
Horizontal force and displacement : What is the relationship between work and kinetic energy for a horizontal force and displacement?
Communicate your skills to a potential employer : How will you promote yourself? A carefully constructed cover letter, résumé, business card, and personal Web site can all help communicate your skills to a potential employer.
Perform a descriptive statistical analysis : Write a function that takes a sequence (vector) of 0 or 1 as input and returns the starting locations of runs of 0's and runs of 1's, where the length of a run is set to an integer K ≥ 1.
Create a strategy for ensuring that the geico plan addresses : Evaluate the effectiveness of the communication of Geico's total rewards program based upon the Website's descriptions of the benefits. Recommend two (2) areas for improvement.
Compute the down payment and amount financed : Compute the down payment, amount financed, and the monthly mortgage payment. - Down Payment: $57,000Amount Financed: $228,000.
Identify opportunities and threats based on possible market : Also identify opportunities and threats based on possible market targets, including social factors, demographic factors, and multicultural issues.
Why is it important for an organization to have a mission : Why is it important for an organization to have a mission? Why is it important for team members to know their roles on a team? Is competition within a team a good or bad thing? Explain your response.

Reviews

Write a Review

Basic Statistics Questions & Answers

  Probability of stock increasing in value

An investor owns three common stocks. Each stock, independent of the others, has equally likely chances of (1) increasing in value, (2) decreasing in value, or (3) remaining the same value.

  A sales analyst wants to determine

A sales analyst wants to determine whether there is a difference in the mean monthly sales of a company's four sales regions. Several salespersons from each region are randomly selected and each provides his or her sales amounts (in thousands of d..

  If the store takes a random sample of 100 shoppers exiting

the total purchase of shoppers in a certain department store is normally distributed with an average of 50.00 and a

  Recall the dangling else problem introduced in chapter

(b) Is the language of this grammar the same as the language of the grammar in Exercise 39? Why or why not?

  Assume that you are expecting a medium effect size 005

you wish to conduct an anova one wayomnibus in your capstone project. in order to insure you have enough power to

  Properties of data distributions

Consider the many possible distributions of grades on a quiz in a statistics class; imagine that the grades could range from 0 to 100.

  The average act score in minnesota in 1986 was 194 assuming

the average act score in minnesota in 1986 was 19.4. assuming a standard deviation of 2.0 find approximate the

  What items can be deleted to improve reliability

What item/s can be deleted to improve reliability, what items should never be deleted to maintain reliability of data and how many items need to be deleted to achieve maximum reliability

  Information about calculating the mean

The 30 members of an orchestra were asked how many instruments each could play. The results are set out in the frequency distribution. Calculate the mean number of instruments played:

  Determine the distribution number of cars

Let X be random variable which counts number of cars that, in given unit of time, pass by Joe's Barber Shop on Main Street. Determine the distribution of X?

  The manufacturing of a layered material requires three

the manufacturing of a layered material requires three steps which each require a certain amount of time. these steps

  The relationship among variables is sufficient to warrant

Describe the data appear the strength of the relationship among variables is sufficient to warrant using linear regression forecasting.

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