photo

susman


Last seen: más de 1 año hace Con actividad desde 2020

Followers: 0   Following: 0

Estadística

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


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 ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

más de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 "...

casi 4 años hace | 1 respuesta | 1

1

respuesta

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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)...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 =...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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...

más de 4 años hace | 2 respuestas | 0

2

respuestas