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

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING MODELS

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