Find intersection of two random variables

Assignment Help Basic Statistics
Reference no: EM132039791

Clear, clc% I will like to find intersection of two random variables.%Supose A and B below are stocks.Please use MATLAB% Generate 100 time points and A and B stocks: returns and volumesA = randn(100,1); %stock AB = abs(randn(100,1)*1e4); %stock B

% I want to find the intersection of stock A and stock B

%Please note C = intersect(A,B) Does not work. Since A and B are random%using C = intersect(A,B) will generate an empty set

% I am not sure if the intersection should be% C=A-B; or C=A.*B;

% I tried both the minus looks closer to what I want but am not sure I am doing the right thing

Reference no: EM132039791

Questions Cloud

Describe the business functions within that organization : Describe the business functions within that organization where most outsourcing takes place.
How the author techniques produce your response : Line by line, stanza by stanza...you explain each part as fully as you can and show how the author's techniques produce your response.
Calculus and statistics in the samesemester : At a large university, the probability that a student takes Calculus and Statistics in the samesemester is 0.0125.
Calculate the duration of the bank bond : Calculate the duration of the bank’s bonds. What is this bank’s duration gap. Is the bank asset- or liability-sensitive?
Find intersection of two random variables : Clear, clc% I will like to find intersection of two random variables.%Supose A and B below are stocks.Please use MATLAB%
Variable selection with the gss data explorer : In this lab, you will use the GSS Data Explorer to guide your selection of predictor and outcome variables of interest to you (from within the GSS Datasets).
How can broadcast television change to remain competitive : How can broadcast television change to remain competitive and can you cite any examples of programming changes that they have made to do so already
What is the system failure rate : A system requires the use of 26 units of this component and all the components must function for the system to work. What is the system failure rate?
How much money will bob need during retirement based : Bob is 37 years old and is an account manager with a large telecom company. How much money will Bob need during retirement based on his calculations?

Reviews

Write a Review

Basic Statistics Questions & Answers

  Project and solve variety of problems

In order to fulfill the requirement of time, cost and quality, a project manager needs to acquire a set of skills to help him to manage the project and solve variety of problems during the implementation of project.

  How large sample is needed to estimate true proportion

How Large a sample is needed to estimate the true proportion of homeowners who have vegetable gardens to within 3 percentage point 92% confidence.

  What is the mean and standard deviation of the number of

a wildlife biologist examines frogs for a genetic trait. previous research found this trait in 1 of 4 frogs. the

  What is the probability of p

You are told P(A)= 0.74, P(B)= 0.1 and P(A and B)= 0.074 and that the two events are independent. What is the probability of P(B|A)?

  Remotely controlled to achieve high accuracy

A welding torch is remotely controlled to achieve high accuracy while operating in changing and hazardous environments [21]. A model of the welding arm position control is shown in Figure DP7.4, with the disturbance representing the environmental ..

  Confidence interval for the true mean age

Construct a 95% Confidence Interval for the true mean age of Winter Foothill College students.

  Population standard deviation

If the population standard deviation is known, we use z Is this correct or not?

  Confidentiality at norc

The National Opinion Research Center conducts a large number of surveys and has established procedures for protecting the confidentiality

  What was the standard deviation for the stock over period

What was standard deviation for stock over this period? Assume that you currently have a portfolio that returns 19.5%. If you add this stock to the current portfolio, what would happen to the average return on portfolio?

  Are commodity price shocks problematic

Are commodity price shocks problematic?

  Draw the simple random samples of blood cholesterol

Draw three simple random samples, each of size 6, from the population of blood cholesterol measurements in Table. Use the table of random digits to select.

  Using the data below test whether education and smoking

using the data below test whether education and smoking status are independent. run the test at a 5 level of

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