photo

susman


Last seen: 1年以上 前 2020 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 3

バッジを表示

Feeds

表示方法

質問


Plotting the data in the given file over time period and tabulating the results
I have a model with 10 states and I have frequency of each state over time. The data is stored in a cell array, where each cell ...

3年以上 前 | 1 件の回答 | 0

1

回答

質問


options for analyzing simulation results. Looking for suggestions
I have developed a Markov Model and got 100000 simulations for a time period of 57 years. That means my output is 100000 by 57 m...

3年以上 前 | 0 件の回答 | 0

0

回答

質問


How can I simulate this code with 1000 simulations?
If I run a chain of n = 50 with four states, then how can I adjust the following code to run for 1000 times. % I want to r...

3年以上 前 | 0 件の回答 | 0

0

回答

質問


plot states sequence over time
I want to plot the state transitions chain of markov process. My original state transitions matrix is 56 by 1000. But here I giv...

4年弱 前 | 1 件の回答 | 0

1

回答

質問


Using accumarry and changing size of output
I am using the accumarray by using the following command on the first and second column of struct array. The first part of the c...

4年弱 前 | 1 件の回答 | 0

1

回答

質問


Make a for loop for the following code
I am estimating the probabilities over time. for example, my data matrix is 6 by 5 (where 6 is the number of simulations and 5...

4年弱 前 | 1 件の回答 | 0

1

回答

質問


For loop for a function
I have the following function and I want to run it for age 30 to 100. I think I need to develop a for loop here. Can anyone plea...

4年弱 前 | 1 件の回答 | 0

1

回答

質問


evaluate function handle (determine the value of function handle using my code
Please tell me how to determine the value of a function handle in a quick way. hf12 = @(age) exp(-0.0625.*age-0.0134) % ex...

4年弱 前 | 1 件の回答 | 0

1

回答

質問


Simulate inhomogeneous continuous time Markov Chain (IHCTMC)
I am working on simulating an inhomogeneous continuous time Markov Chain. I have found most of the material here deadling with "...

4年弱 前 | 1 件の回答 | 1

1

回答

質問


solution to differential equations system looks strange. What is wrong with my code?
I am writing a code to solve the differential equations. I have written the following code but my solution looks wierd. First, I...

4年弱 前 | 1 件の回答 | 0

1

回答

質問


create dummy variable for different time periods
I have to create dummy variable for interval1 and interval 2 Suppose,I have equation; Dependent = exp(1.2 + 0.0099*(Interval1)...

4年弱 前 | 1 件の回答 | 0

1

回答

質問


exponential of a matrix to determine transition probability matrix
I have a transition rate matrix for five states in period t as follows; where, last state is an abosrbing state. Now using the...

4年弱 前 | 1 件の回答 | 0

1

回答

質問


Specify specific cell in the formula
I am working with mortality tables and my question is how can I specific a specific cell (e.g. the value of the variable discoun...

約4年 前 | 1 件の回答 | 0

1

回答

質問


create a new variable that is the product of lag value of another variable and its own lag value
my two input variables are age and mortality, I want to create another variable "survival = 1" for first value of "age" like h...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


Calculating survival probabilities from Mortality tables in MATLAB
I am working with mortality tables on MATLAB. My aim is to upload any (Mortality Table) data file in Matlab and calculate surviv...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


Calculate mean of a matrix columnwise if a condition is met
I am stuck on a small coding issue. I have a big matrix "A" and a scalar value "b" and I want to determine, Expected value =...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


optimal allocation of two assets by minimizing shortfall probability using fmincon
I want to determine the optimal allocation of two assets (here "x") such that shortfall probability is minimized. Shofrtfall pr...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


Minimizing a scalar value using "fmincon" derived through many variables
I have portfolio optimal allocation problem (two assets equity and bond) and I want to use "fmincon" to minimize "PCS", which is...

4年以上 前 | 2 件の回答 | 0

2

回答

質問


Find the first incidence of 1 in a logical vector and replace all other 1s by zero
I need to find the first incidence of 1 in a logical vector and replace all other 1s by zero. For example, I have a logical ve...

4年以上 前 | 2 件の回答 | 0

2

回答