Community Profile

photo

Shane Kosir


Active since 2016

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


How can I pull historical stock data from Yahoo Finance?
I have tried running the following command stocks = hist_stock_data('22032016','22032017','CAT'); but all I get is an error "Und...

7 years ago | 0 answers | 0

0

answers

Question


Sum the Product of Two quantities
I'm trying to sum (11-x)*poisspdf(x,90/13) from 0 to 11, however when I put the following in matlab it gives me several errors ...

7 years ago | 1 answer | 0

1

answer

Question


Computing an Expectation in Matlab
I'm trying to compute the sum of x*binopdf(x,18,.96) for values of x from 0 to 16. How can I do that? It keeps giving me errors....

7 years ago | 1 answer | 0

1

answer

Question


Summation of Poisson CDF
r = 0; while true if sum(poisscdf(r:r+14,90/52)/15) >= .98,break,end r = r+1; end I tried this ...

7 years ago | 1 answer | 0

1

answer

Question


Solving a summation for unknown limits of integration
How can I sum the Poisson CDF of x/15 and solve for the limits of summation: solve(symsum(poisscdf(x,90/52)/15,x,r,r+14)>.98)...

7 years ago | 1 answer | 0

1

answer

Question


Creating a Loop multiplying the binomial distribution times poisson distribution.
I am trying to sum the results of binomial distribution time poisson distribution as follows: symsum(binopdf(k,6,.7)*poissp...

7 years ago | 0 answers | 0

0

answers

Question


Using the function symsum.
I use symsum(k^2,k,0,4) in the command window but it brings back "undefined function or variable "k"". What else do I need to do...

7 years ago | 1 answer | 0

1

answer

Question


Creating a matrix for a Markov Chain satisfying the state recursion.
I know this should be a 6x6 matrix but I'm not sure exactly how to code it: The transition matrix of a Markov chain that sati...

7 years ago | 0 answers | 0

0

answers

Question


Creating a matrix with binomial distribution in elements.
How can I create a 6 × 6 matrix with P (Xi = j − 1) in the (i, j)-position where Xi has the binomial distribution with parameter...

7 years ago | 1 answer | 0

1

answer

Question


Creating a matrix with the binomial distribution as entries.
How can I create a 6 × 6 matrix with P (Xi = j − 1) in the (i, j)-position where Xi has the binomial distribution with parameter...

7 years ago | 1 answer | 0

1

answer

Question


How can I create a 10x10 matrix with (i,j) positions in the matrix defined by i-j
What would the command be for creating a 10x10 matrix where (i,j) position in matrix are defined by i-j. So for example the top ...

7 years ago | 2 answers | 0

2

answers